CVE-2023-34966

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.
Infinite Loop
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
redhatCNA
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 93%
VendorProductVersion
sambasamba
𝑥
< 4.16.11
sambasamba
4.17.0 ≤
𝑥
< 4.17.10
sambasamba
4.18.0 ≤
𝑥
< 4.18.5
redhatenterprise_linux
8.0
redhatenterprise_linux
9.0
debiandebian_linux
11.0
debiandebian_linux
12.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
samba
bullseye (security)
2:4.13.13+dfsg-1~deb11u6
fixed
bullseye
2:4.13.13+dfsg-1~deb11u6
fixed
buster
ignored
bookworm
2:4.17.12+dfsg-0+deb12u1
fixed
bookworm (security)
2:4.17.12+dfsg-0+deb12u1
fixed
sid
2:4.21.2+dfsg-4
fixed
trixie
2:4.21.2+dfsg-4
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
samba
oracular
Fixed 2:4.18.5+dfsg-1ubuntu1
released
noble
Fixed 2:4.18.5+dfsg-1ubuntu1
released
mantic
Fixed 2:4.18.5+dfsg-1ubuntu1
released
lunar
Fixed 2:4.17.7+dfsg-1ubuntu1.1
released
kinetic
Fixed 2:4.16.8+dfsg-0ubuntu1.2
released
jammy
Fixed 2:4.15.13+dfsg-0ubuntu1.2
released
focal
Fixed 2:4.15.13+dfsg-0ubuntu0.20.04.3
released
bionic
needs-triage
xenial
needs-triage
trusty
ignored