CVE-2022-43634: Netatalk dsi_writeinit Heap-based Buffer Overflow Remote Code Execution Vulnerability

Published Feb 6, 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 dsiwriteinit 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 heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of root.

Affected Software

13 affected componentsFixes available
Netatalk Netatalk=3.1.13
Netatalk Netatalk
debian/netatalk<3.1.15~ds-1
3.1.15~ds-1
debian/netatalk<3.1.15~ds-1
3.1.15~ds-1
debian/netatalk
4.2.3~ds-1+deb13u24.5.1~ds-1
alpine/netatalk<3.1.15-r0
3.1.15-r0
alpine/netatalk<3.1.15-r0
3.1.15-r0
alpine/netatalk<3.1.15-r0
3.1.15-r0
alpine/netatalk<3.1.15-r0
3.1.15-r0
alpine/netatalk<3.1.15-r0
3.1.15-r0
alpine/netatalk<3.1.15-r0
3.1.15-r0
alpine/netatalk<3.1.15-r0
3.1.15-r0
alpine/netatalk<3.1.15-r0
3.1.15-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.15-r0
  3. Upgrade

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

    Fixed in 3.1.15~ds-1

Event History

Feb 6, 2023
Advisory Published
via ZDI·12:00 AM
Data Sourced
via ZDI·12:00 AM
DescriptionSeverityAffected Software
Mar 29, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
RemedyDescriptionSeverityWeaknessAffected 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 the vulnerability ID for this vulnerability?

The vulnerability ID for this vulnerability is CVE-2022-43634.

2

What is the severity of CVE-2022-43634?

The severity of CVE-2022-43634 is critical with a CVSS score of 9.8.

3

How does this vulnerability allow remote code execution?

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Netatalk.

4

Is authentication required to exploit this vulnerability?

No, authentication is not required to exploit this vulnerability.

5

How can I fix CVE-2022-43634?

To fix CVE-2022-43634, it is recommended to update Netatalk to version 3.1.17 or apply the provided patches.

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