Heap-based Buffer Overflow Affecting netatalk package, versions <3.1.15-r0


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
14.18% (96th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE319-NETATALK-6110290
  • published8 Dec 2023
  • disclosed29 Mar 2023

Introduced: 29 Mar 2023

CVE-2022-43634  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Alpine:3.19 netatalk to version 3.1.15-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream netatalk package and not the netatalk package as distributed by Alpine. See How to fix? for Alpine:3.19 relevant fixed versions and status.

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 dsi_writeinit 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. Was ZDI-CAN-17646.

CVSS Scores

version 3.1