CVE-2022-23122
Published: 21 March 2022
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. 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.]
Priority
Status
Package | Release | Status |
---|---|---|
netatalk Launchpad, Ubuntu, Debian |
focal |
Released
(3.1.12~ds-4ubuntu0.20.04.1)
|
impish |
Ignored
(end of life)
|
|
jammy |
Released
(3.1.12~ds-9ubuntu0.22.04.1)
|
|
upstream |
Released
(3.1.13)
|
|
bionic |
Ignored
(changes too intrusive)
|
|
kinetic |
Not vulnerable
(3.1.13~ds-2)
|
|
lunar |
Not vulnerable
(3.1.13~ds-2)
|
|
Patches: upstream: https://github.com/Netatalk/Netatalk/commit/4a8f6c964d5ca86df27c50e50dc1b60d39c9b76d |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 9.8 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |