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.
The product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.
Link | Tags |
---|---|
https://netatalk.sourceforge.io/ | product |
https://github.com/Netatalk/netatalk/issues/486 | patch vendor advisory issue tracking |
https://www.debian.org/security/2023/dsa-5503 | third party advisory vendor advisory |
https://lists.debian.org/debian-lts-announce/2023/09/msg00031.html | third party advisory mailing list |
https://netatalk.sourceforge.io/CVE-2023-42464.php | patch vendor advisory |
https://netatalk.sourceforge.io/3.1/htmldocs/afpd.8.html | product |
https://netatalk.io/security/CVE-2023-42464 |