Vulnerability in Samba
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.624 (99.2th percentile), scored .
High probability of exploitation in the next 30 days — patch promptly. 99th percentile — 99.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.624 · newest: 0.624 · change: 0.000
Affected products
- Samba
- Debian Linux — versions 11.0, 12.0
- Fedoraproject Fedora — versions 37, 38
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8 — versions 0:4.18.6-1.el8
- Red Hat Enterprise Linux 8.6 Extended Update Support — versions 0:4.15.5-15.el8_6
- Red Hat Enterprise Linux 8.8 Extended Update Support — versions 0:4.17.5-5.el8_8
- Red Hat Enterprise Linux 9 — versions 0:4.18.6-100.el9
- Red Hat Enterprise Linux 9.2 Extended Update Support — versions 0:4.17.5-105.el9_2
Weakness classification (CWE)
Public proof-of-concept exploits
References
- access.redhat.com/errata/RHSA-2023:6667 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2023:7139 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2024:0423 (vendor-advisory)
- access.redhat.com/errata/RHSA-2024:0580 (vendor-advisory)
- access.redhat.com/errata/RHSA-2024:4101 (vendor-advisory)
- access.redhat.com/security/cve/CVE-2023-34966 (Third Party Advisory, vdb-entry)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking, Third Party Advisory, Issue Tracking)
- www.samba.org/samba/security/CVE-2023-34966 (Vendor Advisory)
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2023-34966?
- CVE-2023-34966 is a high-severity vulnerability in Samba, classified under Loop with Unreachable Exit Condition (Infinite Loop). CVSS score: 7.5/10. Published 2023-07-20.
- How severe is CVE-2023-34966?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2023-34966 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.