CVE-2022-0194 Memory corruption in Netatalk
Remote attackers can execute arbitrary code with root privileges on Netatalk servers via a stack-based buffer overflow in the ad_addcomment function.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-0194?
CVE-2022-0194 is a critical memory corruption vulnerability in Debian Debian Linux, published on 28 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
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 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.
Which versions are affected by CVE-2022-0194?
It affects 2 products.
Products include Debian Debian Linux, Netatalk Netatalk.
How do I fix CVE-2022-0194?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-0194 being exploited?
There is no known exploitation of CVE-2022-0194 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2022-0194, GHSA-j2hq-24xq-xcjr, UBUNTU-CVE-2022-0194.