Buffer overflow in Netatalk
CVE-2022-0194
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 ad_addcomment 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 stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-15876.
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.044, 91.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Netatalk — versions 3.1.12
- Debian Linux — versions 10.0, 11.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (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
- netatalk.sourceforge.io/3.1/ReleaseNotes3.1.13.html (Release Notes)
- www.zerodayinitiative.com/advisories/ZDI-22-530/ (VDB Entry, Third Party Advisory)
- [debian-lts-announce] 20230516 [SECURITY] [DLA 3426-1] netatalk security update (mailing-list, Mailing List, Third Party Advisory)
- DSA-5503 (vendor-advisory, Third Party Advisory)
- GLSA-202311-02 (vendor-advisory, Third Party Advisory, Issue Tracking)
- www.kb.cert.org/vuls/id/709991