Source: netatalk Version: 4.5.1~ds-1 X-Debbugs-CC: [email protected] Severity: important Tags: security upstream
Hi, The following vulnerabilities were published for netatalk. CVE-2026-110779[0]: | Netatalk is a Free and Open Source file server suite for Unix-like | operating systems. From 3.1.0 until 4.5.2, sl_createCNIDArray in | etc/afpd/spotlight.c assumes every element of kMDQueryItemArray | points to an eight-byte uint64_t and copies sizeof(uint64_t) bytes | from the indexed p->dd_talloc_array element without validating the | element's talloc type or allocation size. An authenticated AFP | client with access to a Spotlight-enabled volume can use | FPSpotlightRPC to supply a mixed-type sl_array_t containing a | shorter boolean, nil, or string element, and an unauthenticated | client can reach the same path when the optional guest UAM and a | guest-accessible volume are enabled. The resulting eight-byte read | extends beyond the shorter element's heap allocation and supplies an | internal CNID filter; no confidentiality channel, write primitive, | or code execution was demonstrated, while a production crash would | require additional heap placement conditions. The container-type | validation added for CVE-2023-42464 does not validate each element | inside an accepted sl_array_t and therefore does not resolve this | issue. This issue is fixed in version 4.5.2. CVE-2026-110780[1]: | Netatalk is a Free and Open Source file server suite for Unix-like | operating systems. From 3.1.0 until 4.5.2, the Spotlight RPC | consumer handlers sl_rpc_fetchAttributeNamesForOIDArray, | sl_rpc_storeAttributesForOIDArray, and | sl_rpc_fetchAttributesForOIDArray in etc/afpd/spotlight.c | dereference the first element of a decoded sl_cnids_t without | checking whether the inner CNID array is empty. An authenticated AFP | client, or a guest when guest AFP access is enabled, can send a | crafted SPOTLIGHT_CMD_RPC whose outer CNIDS length is greater than | 16 while its inner count is zero, causing sl_unpack_cnids to create | an empty DALLOC_CTX and the consumer to dereference | dd_talloc_array[0]. The affected afpd child crashes, normally | limiting denial of service to the attacker's session, and no memory | write or code execution was demonstrated. This issue is fixed in | version 4.5.2. If you fix the vulnerabilities please also make sure to include the CVE (Common Vulnerabilities & Exposures) ids in your changelog entry. For further information see: [0] https://security-tracker.debian.org/tracker/CVE-2026-110779 https://www.cve.org/CVERecord?id=CVE-2026-110779 https://github.com/Netatalk/netatalk/security/advisories/GHSA-p6fh-q283-9x4v https://github.com/Netatalk/netatalk/commit/7e216cef54d6ec45582e714478394f85e4081980 [1] https://security-tracker.debian.org/tracker/CVE-2026-110780 https://www.cve.org/CVERecord?id=CVE-2026-110780 https://github.com/Netatalk/netatalk/security/advisories/GHSA-c29x-w8xm-2w8x https://github.com/Netatalk/netatalk/commit/e07befa6a66a5debe203b010a39a6cd99be06938 Regards, Salvatore

