CVE-2022-23122: Netatalk - Buffer Overflow
- Cve: CVE-2022-23122
- Name: Netatalk - Buffer Overflow
- 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 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.
- Impact: Remote attackers can execute arbitrary code with root privileges, potentially leading to full system compromise.
- Remediation: Update to the latest version of Netatalk that addresses this vulnerability or apply security patches provided by the vendor.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.04409
- Epss percentile: 0.91477
- Assignee: [email protected]
- Published at: 2023-03-28T19:15:10Z
- Age in days: 1337
- Modified at: 2026-06-17T04:29:33Z
- Patch available: yes
- References total: 6
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-23122
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-121 | Stack-based Buffer Overflow |
| CWE-787 | Out-of-bounds Write |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://lists.debian.org/debian-lts-announce/2023/05/msg00018.html | Mailing List, Third Party Advisory |
| https://security.gentoo.org/glsa/202311-02 | Issue Tracking, Third Party Advisory |
| https://www.debian.org/security/2023/dsa-5503 | Third Party Advisory |
| https://www.zerodayinitiative.com/advisories/ZDI-22-529/ | Third Party Advisory, VDB Entry |
| https://netatalk.sourceforge.io/3.1/ReleaseNotes3.1.13.html | Release Notes |
| https://www.kb.cert.org/vuls/id/709991 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| netatalk:netatalk | < 3.1.13 | no | nvd | /v1/products/netatalk/netatalk |
| debian:debian_linux | = 11.0, = 10.0 | no | nvd | /v1/products/debian/debian_linux |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| Netatalk/netatalk | fix | yes | /v1/repositories/Netatalk/netatalk |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports