Name | CVE-2023-34966 |
Description | An 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-5477-1, DSA-5647-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
samba (PTS) | jessie, jessie (lts) | 2:4.2.14+dfsg-0+deb8u16 | vulnerable |
| stretch (security) | 2:4.5.16+dfsg-1+deb9u4 | vulnerable |
| stretch (lts), stretch | 2:4.5.16+dfsg-1+deb9u5 | vulnerable |
| buster (security), buster, buster (lts) | 2:4.9.5+dfsg-5+deb10u5 | vulnerable |
| bullseye (security), bullseye | 2:4.13.13+dfsg-1~deb11u6 | fixed |
| bookworm (security), bookworm | 2:4.17.12+dfsg-0+deb12u1 | fixed |
| sid, trixie | 2:4.21.1+dfsg-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
samba | source | bullseye | 2:4.13.13+dfsg-1~deb11u6 | | DSA-5647-1 | |
samba | source | bookworm | 2:4.17.10+dfsg-0+deb12u1 | | DSA-5477-1 | |
samba | source | (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)