CVE-2023-34966
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/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Samba | Samba | < 4.16.11 |
| Samba | Samba | >= 4.17.0, < 4.17.10 |
| Samba | Samba | >= 4.18.0, < 4.18.5 |
| Fedoraproject | Fedora | 37 |
| Fedoraproject | Fedora | 38 |
| Redhat | Enterprise Linux | 8.0 |
| Redhat | Enterprise Linux | 9.0 |
| Debian | Debian Linux | 11.0 |
| Debian | Debian Linux | 12.0 |
References
- https://access.redhat.com/errata/RHSA-2023:6667Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7139Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2023-34966Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2222793Issue Tracking, Third Party Advisory
- https://www.samba.org/samba/security/CVE-2023-34966Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:6667Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7139Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2023-34966Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2222793Issue Tracking, Third Party Advisory
- https://www.samba.org/samba/security/CVE-2023-34966Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-34966?
How severe is CVE-2023-34966?
How do I fix CVE-2023-34966?
Are you affected by CVE-2023-34966?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
