Skip to content
OpenAdvisories
Unscored CVE-2023-42464 EUVD-2023-46904GHSA-qv4g-5q5g-2vc3

A Type Confusion vulnerability was found in the Spotlight RPC functions in afpd in Netatalk 3.1.x before 3.1.17. When parsing Spotlight RPC…

Published Sep 20, 2023 · Updated Aug 2, 2024 · Assigned by mitre

Description

A Type Confusion vulnerability was found in the Spotlight RPC functions in afpd in Netatalk 3.1.x before 3.1.17. When parsing Spotlight RPC packets, one encoded data structure is a key-value style dictionary where the keys are character strings, and the values can be any of the supported types in the underlying protocol. Due to a lack of type checking in callers of the dalloc_value_for_key() function, which returns the object associated with a key, a malicious actor may be able to fully control the value of the pointer and theoretically achieve Remote Code Execution on the host. This issue is similar to CVE-2023-34967.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 netatalk 3.1.17~ds-1 —
Debian 13 netatalk 3.1.17~ds-1 —
Debian 11 netatalk 3.1.12~ds-8+deb11u1 DSA-5503-1
Debian 10 netatalk 3.1.12~ds-3+deb10u4 DLA-3584-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS netatalk 3.1.12~ds-9ubuntu0.22.04.3 USN-6552-1
Ubuntu 20.04 LTS netatalk 3.1.12~ds-4ubuntu0.20.04.3 USN-6552-1
ReleasePackageFixed inAdvisory
SLES 12 SP5 netatalk 3.1.0-3.19.1 SUSE-SU-2023:3779-1
ReleasePackageFixed inAdvisory
Alpine v3.24 netatalk 3.1.17-r0 —
Alpine v3.23 netatalk 3.1.17-r0 —
Alpine v3.22 netatalk 3.1.17-r0 —
Alpine v3.21 netatalk 3.1.17-r0 —
Alpine v3.20 netatalk 3.1.17-r0 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 netatalk 3.1.17-r0 —
Alpine v3.18 netatalk 3.1.17-r0 —

Advisories 4

References