Bug 2239452 (CVE-2023-42464) - CVE-2023-42464 netatalk: Type Confusion vulnerability in the Spotlight RPC functions in afpd deamon
Summary: CVE-2023-42464 netatalk: Type Confusion vulnerability in the Spotlight RPC fu...
Keywords:
Status: NEW
Alias: CVE-2023-42464
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2239453 2239454
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-09-18 13:01 UTC by Pedro Sampaio
Modified: 2023-09-18 13:01 UTC (History)
0 users

Fixed In Version: netatalk 3.1.17
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Pedro Sampaio 2023-09-18 13:01:17 UTC
A Type Confusion vulnerability was found in the Spotlight RPC functions in Netatalk's afpd daemon. 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.

The underlying code for Spotlight queries in Netatalk shares a common heritage with Samba, and hence the root cause and fix are logically identical with those described in CVE-2023-34967.

References:

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

Comment 1 Pedro Sampaio 2023-09-18 13:01:36 UTC
Created netatalk tracking bugs for this issue:

Affects: epel-all [bug 2239454]
Affects: fedora-all [bug 2239453]


Note You need to log in before you can comment on or make changes to this bug.