CVE-2023-34966

HIGHCVSS 7.5/10EPSS 62.02%

Last modified

CVE-2023-34966 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 62.02% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
7.5/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS Probability
62.02%

99.1th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
SambaSamba< 4.16.11
SambaSamba>= 4.17.0, < 4.17.10
SambaSamba>= 4.18.0, < 4.18.5
FedoraprojectFedora37
FedoraprojectFedora38
RedhatEnterprise Linux8.0
RedhatEnterprise Linux9.0
DebianDebian Linux11.0
DebianDebian Linux12.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2023-34966?
CVE-2023-34966 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 62.02% probability of exploitation in the next 30 days.
How do I fix CVE-2023-34966?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2023-34966?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST