UBUNTU-CVE-2022-23122

Source
https://ubuntu.com/security/CVE-2022-23122
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23122.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2022-23122
Upstream
Downstream
Related
Published
2022-03-21T08:36:00Z
Modified
2026-06-22T09:30:08Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - high
Summary
[none]
Details

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

References

Affected packages

Ubuntu:Pro:14.04:LTS / netatalk

Package

Name
netatalk
Purl
pkg:deb/ubuntu/netatalk?arch=source&distro=esm-infra-legacy%2Ftrusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.2.2-1ubuntu1
2.2.2-1ubuntu2
2.2.2-1ubuntu2.2
2.2.2-1ubuntu2.2+esm1
2.2.2-1ubuntu2.2+esm2
2.2.2-1ubuntu2.2+esm3
2.2.2-1ubuntu2.2+esm4

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "netatalk",
            "binary_version": "2.2.2-1ubuntu2.2+esm4"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23122.json"

Ubuntu:Pro:16.04:LTS / netatalk

Package

Name
netatalk
Purl
pkg:deb/ubuntu/netatalk?arch=source&distro=esm-apps-legacy%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.2.5-1
2.2.5-1ubuntu0.2
2.2.5-1ubuntu0.2+esm1
2.2.5-1ubuntu0.2+esm2
2.2.5-1ubuntu0.2+esm3
2.2.5-1ubuntu0.2+esm4

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "netatalk",
            "binary_version": "2.2.5-1ubuntu0.2+esm4"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23122.json"

Ubuntu:Pro:18.04:LTS / netatalk

Package

Name
netatalk
Purl
pkg:deb/ubuntu/netatalk?arch=source&distro=esm-apps%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.2.6-1
2.2.6-1ubuntu0.18.04.2
2.2.6-1ubuntu0.18.04.2+esm1
2.2.6-1ubuntu0.18.04.2+esm2
2.2.6-1ubuntu0.18.04.2+esm3
2.2.6-1ubuntu0.18.04.2+esm4

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "netatalk",
            "binary_version": "2.2.6-1ubuntu0.18.04.2+esm4"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23122.json"

Ubuntu:20.04:LTS / netatalk

Package

Name
netatalk
Purl
pkg:deb/ubuntu/netatalk?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.1.12~ds-4ubuntu0.20.04.1

Affected versions

3.*
3.1.12~ds-3
3.1.12~ds-4

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "netatalk",
            "binary_version": "3.1.12~ds-4ubuntu0.20.04.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23122.json"

Ubuntu:22.04:LTS / netatalk

Package

Name
netatalk
Purl
pkg:deb/ubuntu/netatalk?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.1.12~ds-9ubuntu0.22.04.1

Affected versions

3.*
3.1.12~ds-9
3.1.12~ds-9build1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "netatalk",
            "binary_version": "3.1.12~ds-9ubuntu0.22.04.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23122.json"