CVE-2023-34967

NameCVE-2023-34967
DescriptionA Type Confusion vulnerability was found in Samba's mdssvc RPC service for Spotlight. When parsing Spotlight mdssvc 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 mdssvc 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 caller may trigger a crash in talloc_get_size() when talloc detects that the passed-in pointer is not a valid talloc pointer. With an RPC worker process shared among multiple client connections, a malicious client or attacker can trigger a process crash in a shared RPC mdssvc worker process, affecting all other clients this worker serves.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-5477-1, DSA-5647-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
samba (PTS)bullseye (security), bullseye2:4.13.13+dfsg-1~deb11u6fixed
bookworm, bookworm (security)2:4.17.12+dfsg-0+deb12u1fixed
sid, trixie2:4.21.1+dfsg-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
sambasourcebullseye2:4.13.13+dfsg-1~deb11u6DSA-5647-1
sambasourcebookworm2:4.17.10+dfsg-0+deb12u1DSA-5477-1
sambasource(unstable)2:4.18.5+dfsg-1

Notes

[buster] - samba <ignored> (spotlight enabled in 4.13.13+dfsg-1 - bullseye)
https://www.samba.org/samba/security/CVE-2023-34967.html
severity:unimportant for buster backwards, but we don't have suite-specific severity annotations

Search for package or bug name: Reporting problems