Skip to content

CVE-2023-42464 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 dic...

CriticalCVSS 9.8 EPSS 2.2%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

13 packages: 12 fixed.

PackageAffectedFixed inStatus
alpine/netatalk(Alpine v3.18) >= 3.1, < 3.1.17-r0 3.1.17-r0 Fixed
alpine/netatalk(Alpine v3.19) >= 3.1, < 3.1.17-r0 3.1.17-r0 Fixed
alpine/netatalk(Alpine v3.20) >= 3.1, < 3.1.17-r0 3.1.17-r0 Fixed
alpine/netatalk(Alpine v3.21) >= 3.1, < 3.1.17-r0 3.1.17-r0 Fixed
alpine/netatalk(Alpine v3.22) >= 3.1, < 3.1.17-r0 3.1.17-r0 Fixed
alpine/netatalk(Alpine v3.23) >= 3.1, < 3.1.17-r0 3.1.17-r0 Fixed
alpine/netatalk(Alpine v3.24) >= 3.1, < 3.1.17-r0 3.1.17-r0 Fixed
debian/netatalk(Debian 13) < 3.1.17~ds-1 3.1.17~ds-1 Fixed
debian/netatalk(Debian 14) < 3.1.17~ds-1 3.1.17~ds-1 Fixed
netatalk >= 3.1, < 3.1.17 3.1.17 Fixed
ubuntu/netatalk(Ubuntu 20.04) < 3.1.12~ds-4ubuntu0.20.04.3; = 3.1.12~ds-3; = 3.1.12~ds-4; = 3.1.12~ds-4ubuntu0.20.04.1 3.1.12~ds-4ubuntu0.20.04.3 Fixed
ubuntu/netatalk(Ubuntu 22.04) < 3.1.12~ds-9ubuntu0.22.04.3; = 3.1.12~ds-9; = 3.1.12~ds-9build1; = 3.1.12~ds-9ubuntu0.22.04.1 3.1.12~ds-9ubuntu0.22.04.3 Fixed
debian linux = 10.0; = 11.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/netatalk(Debian:13) < 3.1.17~ds-1 3.1.17~ds-1
debian/netatalk(Debian:14) < 3.1.17~ds-1 3.1.17~ds-1
ubuntu/netatalk(Ubuntu:22.04) < 3.1.12~ds-9ubuntu0.22.04.3 3.1.12~ds-9ubuntu0.22.04.3
alpine/netatalk(Alpine:v3.18) >= 3.1, < 3.1.17-r0 3.1.17-r0
alpine/netatalk(Alpine:v3.19) >= 3.1, < 3.1.17-r0 3.1.17-r0
alpine/netatalk(Alpine:v3.20) >= 3.1, < 3.1.17-r0 3.1.17-r0
alpine/netatalk(Alpine:v3.21) >= 3.1, < 3.1.17-r0 3.1.17-r0
alpine/netatalk(Alpine:v3.22) >= 3.1, < 3.1.17-r0 3.1.17-r0
alpine/netatalk(Alpine:v3.23) >= 3.1, < 3.1.17-r0 3.1.17-r0
alpine/netatalk(Alpine:v3.24) >= 3.1, < 3.1.17-r0 3.1.17-r0
netatalk >= 3.1, < 3.1.17 3.1.17
debian linux = 10.0 No fix listed
debian linux = 11.0 No fix listed
ubuntu/netatalk(Ubuntu:20.04) < 3.1.12~ds-4ubuntu0.20.04.3 3.1.12~ds-4ubuntu0.20.04.3
ubuntu/netatalk(Ubuntu:20.04) = 3.1.12~ds-3 No fix listed
ubuntu/netatalk(Ubuntu:20.04) = 3.1.12~ds-4 No fix listed
ubuntu/netatalk(Ubuntu:20.04) = 3.1.12~ds-4ubuntu0.20.04.1 No fix listed
ubuntu/netatalk(Ubuntu:22.04) = 3.1.12~ds-9 No fix listed
ubuntu/netatalk(Ubuntu:22.04) = 3.1.12~ds-9build1 No fix listed
ubuntu/netatalk(Ubuntu:22.04) = 3.1.12~ds-9ubuntu0.22.04.1 No fix listed

References