Out-of-bounds Write Affecting netatalk package, versions <3.1.12~ds-4ubuntu0.20.04.1


Severity

Recommended
high

Based on Ubuntu security rating.

Threat Intelligence

EPSS
41.41% (98th 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-UBUNTU2004-NETATALK-2433522
  • published25 Mar 2022
  • disclosed28 Mar 2023

Introduced: 25 Mar 2022

CVE-2022-0194  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 netatalk to version 3.1.12~ds-4ubuntu0.20.04.1 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 Ubuntu. See How to fix? for Ubuntu:20.04 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 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.

CVSS Scores

version 3.1