CVE-2023-34966

NameCVE-2023-34966
DescriptionAn infinite loop vulnerability was found in Samba's mdssvc RPC service for Spotlight. When parsing Spotlight mdssvc RPC packets sent by the client, the core unmarshalling function sl_unpack_loop() did not validate a field in the network packet that contains the count of elements in an array-like structure. By passing 0 as the count value, the attacked function will run in an endless loop consuming 100% CPU. This flaw allows an attacker to issue a malformed RPC request, triggering an infinite loop, resulting in a denial of service condition.
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
trixie2:4.21.2+dfsg-3fixed
sid2:4.21.2+dfsg-4fixed

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-34966.html
severity:unimportant for buster backwards, but we don't have suite-specific severity annotations

Search for package or bug name: Reporting problems