Buffer overflow in Netatalk

CVE-2022-23122

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 setfilparams 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-15837.

Vulnerability class: Buffer Overflow

EPSS: 0.044 (90.4th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2022-23122?
CVE-2022-23122 is a critical-severity vulnerability in Netatalk, classified under Stack-based Buffer Overflow. CVSS score: 9.8/10. Published 2023-03-28.
How severe is CVE-2022-23122?
Critical severity. CVSS v3 base score is 9.8 out of 10.
Is CVE-2022-23122 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.