Skip to main content
Network Thinking Solutions Logo

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.

All CVEs
CVE-2023-34966Published 7/20/2023

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.

Vendor advisory
CVSS 3.17.5High

Overview

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
7/20/2023
Last modified
11/26/2026
CVE assigner
redhat
NVD analysis
Modified

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
samba
samba
< 4.16.11

Verify advisory

Source
samba
samba
≥ 4.17.0, < 4.17.10

Verify advisory

Source
samba
samba
≥ 4.18.0, < 4.18.5

Verify advisory

Source
fedora
fedoraproject
37

Verify advisory

Source
fedora
fedoraproject
38

Verify advisory

Source
enterprise linux
redhat
8.0

Verify advisory

Source
enterprise linux
redhat
9.0

Verify advisory

Source
debian linux
debian
11.0

Verify advisory

Source
debian linux
debian
12.0

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

access.redhat.com/errata/RHSA-2023:6667vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2023:7139vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2024:0423vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2024:0580vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2024:4101vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2023:6667vendor-advisory · x_refsource_REDHAT · x_transferred
access.redhat.com/errata/RHSA-2023:7139vendor-advisory · x_refsource_REDHAT · x_transferred
access.redhat.com/errata/RHSA-2024:0423vendor-advisory · x_refsource_REDHAT · x_transferred
access.redhat.com/errata/RHSA-2024:0580vendor-advisory · x_refsource_REDHAT · x_transferred
access.redhat.com/errata/RHSA-2024:4101vendor-advisory · x_refsource_REDHAT · x_transferred

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

7.5 · High CVSS 3.1

Scored by redhat

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

7.5 · High CVSS 3.1

Scored by secalert@redhat.com

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

7.5 · High CVSS 3.1

Scored by nvd@nist.gov

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

Related weaknesses

Sources & references

access.redhat.com/errata/RHSA-2023:6667
vendor-advisory
x_refsource_REDHAT
x_transferred
Third Party Advisory
access.redhat.com/errata/RHSA-2023:7139
vendor-advisory
x_refsource_REDHAT
x_transferred
Third Party Advisory
access.redhat.com/errata/RHSA-2024:0423
vendor-advisory
x_refsource_REDHAT
x_transferred
access.redhat.com/errata/RHSA-2024:0580
vendor-advisory
x_refsource_REDHAT
x_transferred
access.redhat.com/errata/RHSA-2024:4101
vendor-advisory
x_refsource_REDHAT
x_transferred
access.redhat.com/security/cve/CVE-2023-34966
vdb-entry
x_refsource_REDHAT
x_transferred
Third Party Advisory
bugzilla.redhat.com/show_bug.cgi?id=2222793
issue-tracking
x_refsource_REDHAT
x_transferred
Issue Tracking
Third Party Advisory
samba.org/samba/security/CVE-2023-34966
x_transferred
Vendor Advisory

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.