{"id":"CVE-2022-0194","details":"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.","modified":"2026-08-12T03:51:13.467174157Z","published":"2023-03-28T00:00:00Z","database_specific":{"unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"3.1.12"},{"last_affected":"3.1.12"}]}],"cna_assigner":"zdi","cwe_ids":["CWE-121"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0194.json"},"references":[{"type":"WEB","url":"https://netatalk.sourceforge.io/3.1/ReleaseNotes3.1.13.html"},{"type":"WEB","url":"https://www.kb.cert.org/vuls/id/709991"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0194.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0194"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202311-02"},{"type":"ADVISORY","url":"https://www.debian.org/security/2023/dsa-5503"},{"type":"ADVISORY","url":"https://www.zerodayinitiative.com/advisories/ZDI-22-530/"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2023/05/msg00018.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/netatalk/netatalk","events":[{"introduced":"0"},{"fixed":"8965445d8439dbe1b2821b783ae644da3ef600a1"}],"database_specific":{"cpe":"cpe:2.3:a:netatalk:netatalk:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"3.1.13"}],"source":"CPE_RANGE"}}],"versions":["netatalk-3-1-12","netatalk-3-1-11","netatalk-3-1-10","netatalk-3-1-9","netatalk-3-1-8","netatalk-3-1-7","netatalk-3-1-6","netatalk-3-1-5","netatalk-3-1-4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0194.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}