Skip to content
OpenAdvisories
Critical · 9.8 CVE-2022-0194 EUVD-2022-15398GHSA-j2hq-24xq-xcjr

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Netatalk. Authentication is not required …

Published Mar 28, 2023 · Updated Nov 4, 2025 · Assigned by zdi

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 ad_addcomment 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. Was ZDI-CAN-15876.

Affected products

VendorProductAffectedFixed
Netatalk Netatalk 3.1.12 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 netatalk 3.1.13~ds-1 —
Debian 13 netatalk 3.1.13~ds-1 —
Debian 11 netatalk 3.1.12~ds-8+deb11u1 DSA-5503-1
Debian 10 netatalk 3.1.12~ds-3+deb10u1 DLA-3426-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS netatalk 3.1.12~ds-9ubuntu0.22.04.1 USN-6146-1
Ubuntu 20.04 LTS netatalk 3.1.12~ds-4ubuntu0.20.04.1 USN-6146-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS netatalk 2.2.6-1ubuntu0.18.04.2+esm1 USN-6146-1
Ubuntu Pro 16.04 LTS netatalk 2.2.5-1ubuntu0.2+esm1 USN-6146-1
Ubuntu Pro 14.04 LTS netatalk 2.2.2-1ubuntu2.2+esm1 USN-6146-1
ReleasePackageFixed inAdvisory
Alpine v3.24 netatalk 3.1.13-r0 —
Alpine v3.23 netatalk 3.1.13-r0 —
Alpine v3.22 netatalk 3.1.13-r0 —
Alpine v3.21 netatalk 3.1.13-r0 —
Alpine v3.20 netatalk 3.1.13-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 netatalk 3.1.13-r0 —
Alpine v3.18 netatalk 3.1.13-r0 —
Alpine v3.17 netatalk 3.1.13-r0 —
Alpine v3.16 netatalk 3.1.13-r0 —

Advisories 3

References