CVE-2022-23122

Publication date 21 March 2022

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

9.8 · Critical

Score breakdown

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.]

Status

Package Ubuntu Release Status
netatalk 23.04 lunar
Not affected
22.10 kinetic
Not affected
22.04 LTS jammy
Fixed 3.1.12~ds-9ubuntu0.22.04.1
21.10 impish Ignored end of life
20.04 LTS focal
Fixed 3.1.12~ds-4ubuntu0.20.04.1
18.04 LTS bionic Ignored changes too intrusive
16.04 LTS xenial Ignored changes too intrusive
14.04 LTS trusty Ignored end of ESM support, was ignored [changes too intrusive]

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
netatalk

Severity score breakdown

Parameter Value
Base score 9.8 · Critical
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