Vulnerability · Published Sep 20, 2023 · Assigned by mitre
CVE-2023-42464
Critical 9.8
In plain English
A critical-severity security flaw in the netatalk package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | netatalk | 3.1.17-r0 | ALPINE-CVE-2023-42464 |
| Alpine:v3.21 | netatalk | 3.1.17-r0 | ALPINE-CVE-2023-42464 |
| Alpine:v3.22 | netatalk | 3.1.17-r0 | ALPINE-CVE-2023-42464 |
| Alpine:v3.23 | netatalk | 3.1.17-r0 | ALPINE-CVE-2023-42464 |
| Alpine:v3.24 | netatalk | 3.1.17-r0 | ALPINE-CVE-2023-42464 |
| Debian:13 | netatalk | 3.1.17~ds-1 | DEBIAN-CVE-2023-42464 |
| Debian:14 | netatalk | 3.1.17~ds-1 | DEBIAN-CVE-2023-42464 |
| Ubuntu:22.04:LTS | netatalk | 3.1.12~ds-9ubuntu0.22.04.3 | UBUNTU-CVE-2023-42464 |
| Ubuntu:22.04:LTS | netatalk | 3.1.12~ds-9ubuntu0.22.04.3 | USN-6552-1 |
Affected products (as reported)
References
- https://netatalk.sourceforge.io/
- https://github.com/Netatalk/netatalk/issues/486
- DSA-5503 vendor-advisory
- [debian-lts-announce] 20230925 [SECURITY] [DLA 3584-1] netatalk security update mailing-list
- https://netatalk.sourceforge.io/CVE-2023-42464.php
- https://netatalk.sourceforge.io/3.1/htmldocs/afpd.8.html
- https://netatalk.io/security/CVE-2023-42464