Original 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 software
- Samba ≥ 4.17.0 < 4.17.10≥ 4.18.0 < 4.18.5< 4.16.11 Fixed in: 4.17.10, 4.18.5, 4.16.11 exact match
Details
- Published
- 2023-07-20
- Last modified
- 2026-11-07
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- CWE
- CWE-835
- EPSS (30-day exploit probability)
- 62.40% (percentile 99)
References
- cve.org/CVE-2023-34966
- nvd.nist.gov/vuln/detail/CVE-2023-34966
- access.redhat.com/errata/RHSA-2023:6667
- access.redhat.com/errata/RHSA-2023:7139
- access.redhat.com/errata/RHSA-2024:0423
- access.redhat.com/errata/RHSA-2024:0580
- access.redhat.com/errata/RHSA-2024:4101
- access.redhat.com/security/cve/CVE-2023-34966
- bugzilla.redhat.com/show_bug.cgi?id=2222793
- www.samba.org/samba/security/CVE-2023-34966
- lists.fedoraproject.org/archives/list/[email protected]/message/BPC...
- lists.fedoraproject.org/archives/list/[email protected]/message/OT7...
- security.netapp.com/advisory/ntap-20230731-0010/
- www.debian.org/security/2023/dsa-5477
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.