Vulnerability · Published Mar 28, 2023 · Assigned by zdi
CVE-2022-23121
Critical 9.8
In plain English
A critical-severity security flaw in Netatalk from Netatalk. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 8.5% (higher than 95% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Netatalk. Authentication is not required to exploit this vulnerability. The specific flaw exists within the parse_entries function. The issue results from the lack of proper error handling when parsing AppleDouble entries. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-15819.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | netatalk | 3.1.13-r0 | ALPINE-CVE-2022-23121 |
| Alpine:v3.21 | netatalk | 3.1.13-r0 | ALPINE-CVE-2022-23121 |
| Alpine:v3.22 | netatalk | 3.1.13-r0 | ALPINE-CVE-2022-23121 |
| Alpine:v3.23 | netatalk | 3.1.13-r0 | ALPINE-CVE-2022-23121 |
| Alpine:v3.24 | netatalk | 3.1.13-r0 | ALPINE-CVE-2022-23121 |
| Debian:13 | netatalk | 3.1.13~ds-1 | DEBIAN-CVE-2022-23121 |
| Debian:14 | netatalk | 3.1.13~ds-1 | DEBIAN-CVE-2022-23121 |
| Ubuntu:22.04:LTS | netatalk | 3.1.12~ds-9ubuntu0.22.04.1 | UBUNTU-CVE-2022-23121 |
| Ubuntu:22.04:LTS | netatalk | 3.1.12~ds-9ubuntu0.22.04.1 | USN-6146-1 |
Affected products (as reported)
Weakness: CWE-755 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://netatalk.sourceforge.io/3.1/ReleaseNotes3.1.13.html
- https://www.zerodayinitiative.com/advisories/ZDI-22-527/
- [debian-lts-announce] 20230516 [SECURITY] [DLA 3426-1] netatalk security update mailing-list
- [debian-lts-announce] 20230601 [SECURITY] [DLA 3426-2] netatalk regression update mailing-list
- DSA-5503 vendor-advisory
- GLSA-202311-02 vendor-advisory
- https://www.kb.cert.org/vuls/id/709991