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

Published Mar 28, 2023
·
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 adaddcomment 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.

Affected Software

16 affected componentsFixes available
Netatalk Netatalk<3.1.13
Netatalk Netatalk
Debian Debian Linux=10.0
Debian Debian Linux=11.0
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 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-0194?

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

2

Is authentication required to exploit CVE-2022-0194?

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

3

What is the severity of CVE-2022-0194?

CVE-2022-0194 has a severity rating of 9.8 (Critical).

4

How can I fix CVE-2022-0194?

To fix CVE-2022-0194, it is recommended to update to Netatalk version 3.1.13 or later.

5

Where can I find more information about CVE-2022-0194?

You can find more information about CVE-2022-0194 at the following references: [Link 1](https://lists.debian.org/debian-lts-announce/2023/05/msg00018.html), [Link 2](https://netatalk.sourceforge.io/3.1/ReleaseNotes3.1.13.html), [Link 3](https://www.debian.org/security/2023/dsa-5503).

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