CVE-2022-23125: (Pwn2Own) Netatalk copyapplfile Stack-based Buffer Overflow Remote Code Execution Vulnerability

Published Mar 23, 2022
·
Updated

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.

Affected Software

16 affected componentsFixes available
Netatalk Netatalk<3.1.13
Debian Debian Linux=10.0
Debian Debian Linux=11.0
Netatalk Netatalk
debian/netatalk<3.1.13~ds-1
3.1.13~ds-1
debian/netatalk<3.1.13~ds-1
3.1.13~ds-1
debian/netatalk
4.2.3~ds-1+deb13u24.5.1~ds-1
alpine/netatalk<3.1.13-r0
3.1.13-r0
alpine/netatalk<3.1.13-r0
3.1.13-r0
alpine/netatalk<3.1.13-r0
3.1.13-r0
alpine/netatalk<3.1.13-r0
3.1.13-r0
alpine/netatalk<3.1.13-r0
3.1.13-r0
alpine/netatalk<3.1.13-r0
3.1.13-r0
alpine/netatalk<3.1.13-r0
3.1.13-r0
alpine/netatalk<3.1.13-r0
3.1.13-r0
alpine/netatalk<3.1.13-r0
3.1.13-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/netatalk to a version that resolves this vulnerability.

    Fixed in 4.2.3~ds-1+deb13u2Fixed in 4.5.1~ds-1
  2. Upgrade

    Upgrade alpine/netatalk to a version that resolves this vulnerability.

    Fixed in 3.1.13-r0
  3. Upgrade

    Upgrade debian/netatalk to a version that resolves this vulnerability.

    Fixed in 3.1.13~ds-1

Event History

Mar 23, 2022
Advisory Published
via ZDI·12:00 AM
Data Sourced
via ZDI·12:00 AM
DescriptionSeverityAffected Software
Mar 28, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·07:15 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2022-23125?

CVE-2022-23125 is a vulnerability that allows remote attackers to execute arbitrary code on affected installations of Netatalk.

2

How severe is CVE-2022-23125?

CVE-2022-23125 has a severity rating of 9.8 (critical).

3

Is authentication required to exploit CVE-2022-23125?

No, authentication is not required to exploit CVE-2022-23125.

4

Which versions of Netatalk are affected by CVE-2022-23125?

Netatalk versions up to exclusive 3.1.13 are affected by CVE-2022-23125.

5

How can I fix CVE-2022-23125?

To fix CVE-2022-23125, you should update Netatalk to version 3.1.17 or apply the appropriate patch from the vendor.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203