Patchfirst
CVE-2023-34966 High · 7.5 EPSS 62.4%

Samba: infinite loop in mdssvc rpc service for spotlight

Red Hat · Red Hat Enterprise Linux 8

Summary

The flaw is an infinite loop in the mdssvc RPC service that provides Spotlight support in Samba, specifically in the core unmarshalling function sl_unpack_loop(), which fails to validate an element-count field in incoming packets, affecting Red Hat Enterprise Linux 8. An attacker with network access can send a malformed mdssvc RPC request containing a zero count value, with no authentication or user interaction required, causing the process to spin at 100% CPU and produce a denial of service.

Official description · CVE.org

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.

Breakdown
25.1 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Disclosed on 20 Jul 2023. No public exploit code or confirmed exploitation is recorded.

techniques

No techniques linked

No ATT&CK techniques are linked to this CVE yet. MITRE CTID has not mapped it, and no report passage in the corpus ties it to a technique.

What security researchers reported

Not named in any threat report yet

References

12 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close