Vulnerabilities / CVE-2022-23125

critical

CVE-2022-23125

netatalk: Netatalk: Remote Code Execution via Buffer Overflow in copyapplfile function

Published Modified CWE 121, 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Red Hat. Rated lower by Ubuntu (high).

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 copyapplfile function. When parsing the len element, the process does not properly validate 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-15869.

Affected packages and fixed versions

SourcePackageFixed in
alpine 3.16netatalk3.1.13-r0
alpine 3.17netatalk3.1.13-r0
alpine 3.18netatalk3.1.13-r0
alpine 3.19netatalk3.1.13-r0
alpine 3.20netatalk3.1.13-r0
alpine 3.21netatalk3.1.13-r0
alpine 3.22netatalk3.1.13-r0
alpine 3.23netatalk3.1.13-r0
alpine 3.24netatalk3.1.13-r0
alpine edgenetatalk3.1.13-r0
debian 10netatalk3.1.12~ds-3+deb10u1
debian 11netatalk3.1.12~ds-8+deb11u1
Show all 24 entries from 24 sources
SourcePackageFixed in
alpine 3.16netatalk3.1.13-r0
alpine 3.17netatalk3.1.13-r0
alpine 3.18netatalk3.1.13-r0
alpine 3.19netatalk3.1.13-r0
alpine 3.20netatalk3.1.13-r0
alpine 3.21netatalk3.1.13-r0
alpine 3.22netatalk3.1.13-r0
alpine 3.23netatalk3.1.13-r0
alpine 3.24netatalk3.1.13-r0
alpine edgenetatalk3.1.13-r0
debian 10netatalk3.1.12~ds-3+deb10u1
debian 11netatalk3.1.12~ds-8+deb11u1
debian 13netatalk3.1.13~ds-1
debian 14netatalk3.1.13~ds-1
echonetatalk3.1.13~ds-1
rapidfort ubuntu 20.04netatalk0:3.1.12~ds-9ubuntu0.22.04.1
rapidfort ubuntu 22.04netatalk0:3.1.12~ds-9ubuntu0.22.04.1
rapidfort ubuntu 24.04netatalk0:3.1.12~ds-9ubuntu0.22.04.1
ubuntu 14.04-ESMnetatalk2.2.2-1ubuntu2.2+esm1
ubuntu 16.04-ESMnetatalk2.2.5-1ubuntu0.2+esm1
ubuntu 18.04-ESMnetatalk2.2.6-1ubuntu0.18.04.2+esm1
ubuntu 20.04netatalk3.1.12~ds-4ubuntu0.20.04.1
ubuntu 20.04-ESMnetatalk3.1.12~ds-4ubuntu0.20.04.1
ubuntu 22.04netatalk3.1.12~ds-9ubuntu0.22.04.1

References

All 12 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.