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)jessie, jessie (lts)2:4.2.14+dfsg-0+deb8u16vulnerable
stretch (security)2:4.5.16+dfsg-1+deb9u4vulnerable
stretch (lts), stretch2:4.5.16+dfsg-1+deb9u5vulnerable
buster (security), buster, buster (lts)2:4.9.5+dfsg-5+deb10u5vulnerable
bullseye (security), bullseye2:4.13.13+dfsg-1~deb11u6fixed
bookworm (security), bookworm2: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
[stretch] - samba <ignored> (spotlight enabled in 4.13.13+dfsg-1 - bullseye)
[jessie] - samba <ignored> (spotlight enabled in 4.13.13+dfsg-1 - bullseye)

Search for package or bug name: Reporting problems