CVE-2023-42464

critical

Description

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.

References

https://www.debian.org/security/2023/dsa-5503

https://netatalk.sourceforge.io/CVE-2023-42464.php

https://netatalk.sourceforge.io/3.1/htmldocs/afpd.8.html

https://netatalk.sourceforge.io/

https://lists.debian.org/debian-lts-announce/2023/09/msg00031.html

https://github.com/Netatalk/netatalk/issues/486

Details

Source: Mitre, NVD

Published: 2023-09-20

Updated: 2024-01-12

Risk Information

CVSS v2

Base Score: 10

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Severity: Critical

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical