Access of Resource Using Incompatible Type ('Type Confusion') Affecting netatalk package, versions <3.1.12~ds-4ubuntu0.20.04.3


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
2.58% (90th 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-5904988
  • published18 Sept 2023
  • disclosed20 Sept 2023

Introduced: 18 Sep 2023

CVE-2023-42464  (opens in a new tab)
CWE-843  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 netatalk to version 3.1.12~ds-4ubuntu0.20.04.3 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.

A Type Confusion vulnerability was found in the Spotlight RPC functions in afpd in Netatalk 3.1.x before 3.1.17. When parsing Spotlight RPC packets, one encoded data structure is a key-value style dictionary where the keys are character strings, and the values can be any of the supported types in the underlying protocol. Due to a lack of type checking in callers of the dalloc_value_for_key() function, which returns the object associated with a key, a malicious actor may be able to fully control the value of the pointer and theoretically achieve Remote Code Execution on the host. This issue is similar to CVE-2023-34967.

CVSS Scores

version 3.1