Samba mdssvc Spotlight RPC Infinite Loop DoS
CVE-2023-34966 Published on July 20, 2023
Samba: infinite loop in mdssvc rpc service for spotlight
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.
Vulnerability Analysis
CVE-2023-34966 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a high impact on availability.
Timeline
Reported to Red Hat.
Made public. 6 days later.
Weakness Type
What is an Infinite Loop Vulnerability?
The program contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop. If the loop can be influenced by an attacker, this weakness could allow attackers to consume excessive resources such as CPU or memory.
CVE-2023-34966 has been classified to as an Infinite Loop vulnerability or weakness.
Products Associated with CVE-2023-34966
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2023-34966 are published in these products:
Affected Versions
Red Hat Enterprise Linux 8:- Version 0:4.18.6-1.el8 and below * is unaffected.
- Version 0:4.18.6-1.el8 and below * is unaffected.
- Version 0:4.15.5-15.el8_6 and below * is unaffected.
- Version 0:4.17.5-5.el8_8 and below * is unaffected.
- Version 0:4.18.6-100.el9 and below * is unaffected.
- Version 0:4.18.6-100.el9 and below * is unaffected.
- Version 0:4.17.5-105.el9_2 and below * is unaffected.
- Version 0:4.15.5-15.el8_6 and below * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.