CVE-2022-23125Stack-based Buffer Overflow in Netatalk

Severity
9.8CRITICALNVD
OSV8.8
EPSS
32.3%
top 3.15%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 28
Latest updateJun 8

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages5 packages

debiandebian/netatalk< netatalk 3.1.12~ds-8+deb11u1 (bullseye)
NVDnetatalk/netatalk< 3.1.13
Debiannetatalk/netatalk< 3.1.12~ds-8+deb11u1+2
Ubuntunetatalk/netatalk< 3.1.12~ds-4ubuntu0.20.04.1+4
CVEListV5netatalk/netatalk5.18.117

Also affects: Debian Linux 10.0, 11.0

🔴Vulnerability Details

5
OSV
netatalk vulnerabilities2023-06-08
GHSA
GHSA-fv63-w4rc-jg74: This vulnerability allows remote attackers to execute arbitrary code on affected installations of Netatalk2023-03-28
OSV
CVE-2022-23125: This vulnerability allows remote attackers to execute arbitrary code on affected installations of Netatalk2023-03-28
OSV
CVE-2022-23125: This vulnerability allows remote attackers to execute arbitrary code on affected installations of Netatalk2022-03-21
VulnCheck
netatalk netatalk Stack-based Buffer Overflow2022

📋Vendor Advisories

3
Ubuntu
Netatalk vulnerabilities2023-06-08
Red Hat
netatalk: Netatalk: Remote Code Execution via Buffer Overflow in copyapplfile function2023-03-28
Debian
CVE-2022-23125: netatalk - This vulnerability allows remote attackers to execute arbitrary code on affected...2022

🕵️Threat Intelligence

1
Greynoiseio
NoiseLetter March 2025