CVE-2023-34966
7.5high
Samba: infinite loop in mdssvc rpc service for spotlight
- Severity
- 7.5high CVSS:3.1 by redhat
- Exploit likelihood
- 62.9% (higher than 99% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| samba | Not specified Not affected: from 0:4.18.6-1.el8 before *, from 0:4.15.5-15.el8_6 before *, from 0:4.17.5-5.el8_8 before *, from 0:4.18.6-100.el9 before *, from 0:4.17.5-105.el9_2 before * | CVE List |
| samba4 | Not specified | CVE List |
| samba samba | before 4.16.11, from 4.17.0 before 4.17.10, from 4.18.0 before 4.18.5 | NVD |
| fedoraproject fedora | 37, 38 | NVD |
| redhat enterprise_linux | 8.0, 9.0 | NVD |
| debian debian_linux | 11.0, 12.0 | NVD |
All scores
| redhat | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
References
| https://access.redhat.com/errata/RHSA-2023:6667 | third-party-advisory, vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2023:7139 | third-party-advisory, vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2024:0423 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2024:0580 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2024:4101 | vendor-advisory | |
| https://access.redhat.com/security/cve/CVE-2023-34966 | third-party-advisory, vdb-entry | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2222793 | issue-tracking, third-party-advisory | |
| https://www.samba.org/samba/security/CVE-2023-34966 | vendor-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BPCSGND7LO467AJGR5DYBGZLTCGTOBCC/ | ||
| https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OT74M42E6C36W7PQVY3OS4ZM7DVYB64Z/ | ||
| https://security.netapp.com/advisory/ntap-20230731-0010/ | ||
| https://www.debian.org/security/2023/dsa-5477 | ||
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-34966 changed 2026-11-26 | CVE Terms of Use |
| NVD | CVE-2023-34966 changed 2026-11-26 | Public domain |