CVE-2022-23125 Memory corruption in Netatalk
Remote attackers can execute arbitrary code with root privileges via a stack-based buffer overflow in Netatalk without authentication.
- 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-23125?
CVE-2022-23125 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 copyapplfile function. When parsing the len element, the process does not properly validate 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-15869.
Which versions are affected by CVE-2022-23125?
It affects 2 products.
Products include Debian Debian Linux, Netatalk Netatalk.
How do I fix CVE-2022-23125?
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-23125 being exploited?
There is no known exploitation of CVE-2022-23125 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2022-23125, GHSA-fv63-w4rc-jg74, UBUNTU-CVE-2022-23125.