cve.bz

CVE-2022-23125 Out-of-bounds Write

9.8 criticalEPSS 4.4%

Critical (9.8). EPSS 4.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
4.4% (unchanged from 4.4% a week ago; 4.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-787 Out-of-bounds Write
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-23125 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-23125?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-23125?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-23125 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
netatalk:netatalkbefore 3.1.13
debian:debian_linux10.0
debian:debian_linux11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10netatalk3.1.12~ds-3+deb10u1DLA-3426-1
Debian11netatalk3.1.12~ds-8+deb11u1DSA-5503-1
Debian13, 14netatalk3.1.13~ds-1DEBIAN-CVE-2022-23125
Ubuntu20.04:LTSnetatalk3.1.12~ds-4ubuntu0.20.04.1UBUNTU-CVE-2022-23125 USN-6146-1
Ubuntu22.04:LTSnetatalk3.1.12~ds-9ubuntu0.22.04.1UBUNTU-CVE-2022-23125 USN-6146-1
UbuntuPro:14.04:LTSnetatalk2.2.2-1ubuntu2.2+esm1UBUNTU-CVE-2022-23125 USN-6146-1
UbuntuPro:16.04:LTSnetatalk2.2.5-1ubuntu0.2+esm1UBUNTU-CVE-2022-23125 USN-6146-1
UbuntuPro:18.04:LTSnetatalk2.2.6-1ubuntu0.18.04.2+esm1UBUNTU-CVE-2022-23125 USN-6146-1
SUSELinux Enterprise Software Development Kit 12 SP5, Linux Enterprise Workstation Extension 12 SP5netatalk3.1.0-3.8.1SUSE-SU-2022:1184-1
Alpinev3.16, v3.17, v3.18 and 6 morenetatalk3.1.13-r0ALPINE-CVE-2022-23125

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · Alpine.

Red Hat

Red Hat rates this Critical.

Red Hat's statement

The Netatalk package has a stack-based buffer overflow vulnerability in the copyapplfile() function. This is a result of the lack of validation when handling the appl tag in the appls file when copying its information to a new file. The function reads the appl tag information length but does not validate if it's bigger than the maximum buffer size Netatalk uses to store such data, as a result an unauthenticated attacker can craft a file that'll lead to a stack-based buffer overflow when being copied resulting in a remote code execution in a high privileged context.

This vulnerability doesn't affect any supported Red Hat product.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-23125.

References

Check your stackJSON