First published: Thu Jul 13 2023(Updated: )
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.
Credit: secalert@redhat.com secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
ubuntu/samba | <2:4.15.13+dfsg-0ubuntu0.20.04.3 | 2:4.15.13+dfsg-0ubuntu0.20.04.3 |
ubuntu/samba | <2:4.15.13+dfsg-0ubuntu1.2 | 2:4.15.13+dfsg-0ubuntu1.2 |
ubuntu/samba | <2:4.16.8+dfsg-0ubuntu1.2 | 2:4.16.8+dfsg-0ubuntu1.2 |
ubuntu/samba | <2:4.17.7+dfsg-1ubuntu1.1 | 2:4.17.7+dfsg-1ubuntu1.1 |
ubuntu/samba | <2:4.18.5+dfsg-1ubuntu1 | 2:4.18.5+dfsg-1ubuntu1 |
debian/samba | <=2:4.9.5+dfsg-5+deb10u3<=2:4.9.5+dfsg-5+deb10u4<=2:4.13.13+dfsg-1~deb11u5 | 2:4.17.12+dfsg-0+deb12u1 2:4.19.3+dfsg-2 |
redhat/samba | <4.16.11 | 4.16.11 |
redhat/samba | <4.17.10 | 4.17.10 |
redhat/samba | <4.18.5 | 4.18.5 |
Samba | <4.16.11 | |
Samba | >=4.17.0<4.17.10 | |
Samba | >=4.18.0<4.18.5 | |
Fedoraproject Fedora | =38 | |
Red Hat Enterprise Linux | =8.0 | |
Red Hat Enterprise Linux | =9.0 | |
Fedoraproject Fedora | =37 | |
Debian Debian Linux | =11.0 | |
Debian Debian Linux | =12.0 |
As a possible workaround, disable Spotlight by removing all configuration stanzas ("spotlight=yes|true") that enable Spotlight .
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2023-34966 is an infinite loop vulnerability found in Samba's mdssvc RPC service for Spotlight.
CVE-2023-34966 has a severity level of high.
Samba versions up to and including 4.18.5 are affected by CVE-2023-34966.
To fix CVE-2023-34966, update your Samba software to version 4.18.6 or higher.
You can find more information about CVE-2023-34966 on the Red Hat Security Advisory, Samba website, and Bugzilla.