Buffer overflow in Netatalk
CVE-2022-43634
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 dsi_writeinit function. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-17646.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.191, 97.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Netatalk — versions 3.1.13
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (DiRaltvein/memory-corruption-examples, fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.zerodayinitiative.com/advisories/ZDI-23-094/ (VDB Entry, Third Party Advisory)
- github.com/Netatalk/Netatalk/pull/186 (Patch)
- FEDORA-2023-aaeb45fb73 (vendor-advisory)
- FEDORA-2023-e714897e70 (vendor-advisory)
- FEDORA-2023-599faf1b1c (vendor-advisory)
- [debian-lts-announce] 20230516 [SECURITY] [DLA 3426-1] netatalk security update (mailing-list)
- DSA-5503 (vendor-advisory)