Vulnerability · Published Mar 29, 2023 · Assigned by zdi

CVE-2022-43634

Critical 9.8

In plain English

A critical-severity heap buffer overflow in Netatalk from Netatalk. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 19.1% (higher than 97% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)9.8Critical
Exploit odds (30 days)19.1%top 2.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20netatalk3.1.15-r0ALPINE-CVE-2022-43634
Alpine:v3.21netatalk3.1.15-r0ALPINE-CVE-2022-43634
Alpine:v3.22netatalk3.1.15-r0ALPINE-CVE-2022-43634
Alpine:v3.23netatalk3.1.15-r0ALPINE-CVE-2022-43634
Alpine:v3.24netatalk3.1.15-r0ALPINE-CVE-2022-43634
Debian:13netatalk3.1.15~ds-1DEBIAN-CVE-2022-43634
Debian:14netatalk3.1.15~ds-1DEBIAN-CVE-2022-43634
Ubuntu:22.04:LTSnetatalk3.1.12~ds-9ubuntu0.22.04.1UBUNTU-CVE-2022-43634
Ubuntu:22.04:LTSnetatalk3.1.12~ds-9ubuntu0.22.04.1USN-6146-1

Affected products (as reported)

VendorProductVersions
Netatalk Netatalk 3.1.13

Weakness: CWE-122 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References