LiveActive security incident?Get immediate response
CVE Record

CVE-2023-34966: Samba: infinite loop in mdssvc rpc service for spotlight

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.

HighCVSS 7.5Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2023-34966 lets a remote, unauthenticated client force vulnerable Samba Spotlight RPC handling into an endless CPU loop. The business impact is service disruption, not data theft or system takeover, based on the provided sources.

Executive priority

Treat as high priority for file-sharing infrastructure because an unauthenticated network request can disrupt availability. Urgency is lower than remote code execution, but patch promptly where Samba supports critical business workflows or is reachable beyond tightly trusted networks.

Technical view

Samba mdssvc RPC for Spotlight fails to validate an array-like count field in sl_unpack_loop(). A malformed packet with a zero count can trigger an infinite loop and 100% CPU consumption. CVSS 3.1 is 7.5: network, low complexity, no privileges, availability impact only.

Likely exposure

Exposure is likely on systems running affected Samba packages where mdssvc/Spotlight RPC is reachable. The bundle identifies affected Red Hat Enterprise Linux 8, 8.6 EUS, 8.8 EUS, 9, 9.2 EUS, and Red Hat Virtualization 4 packages; RHEL 6, RHEL 7, and Red Hat Storage 3 status is listed as unknown.

Exploitation context

The provided data does not show CISA KEV listing or active exploitation. Exploitation requires network reachability to the vulnerable Samba RPC surface and causes denial of service through CPU exhaustion, not code execution.

Researcher notes

This is CWE-835, infinite loop. The sources support availability-only impact and do not establish confidentiality or integrity compromise. The provided bundle contains affected package entries and advisory links, but not complete fixed-version detail for every ecosystem.

Mitigation direction

  • Apply Samba updates from the relevant vendor advisory for each affected platform.
  • Prioritize externally reachable or broadly accessible Samba services.
  • Restrict Samba and mdssvc access to trusted networks until patched.
  • Check Samba, Red Hat, Debian, Fedora, and appliance vendor guidance for exact fixed packages.

Validation and detection

  • Inventory hosts running Samba packages and map them to affected vendor versions.
  • Confirm whether mdssvc or Spotlight-related Samba functionality is enabled and reachable.
  • Verify patched package levels against the applicable vendor advisory.
  • Monitor vulnerable hosts for sustained Samba CPU saturation and service disruption.
Prepared
Confidence
high
Sources
12

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-835: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2023-34966 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.5 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
13Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H3.93.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.5High
CVSS 3.1 vector shape for CVE-2023-34966Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Red HatRed Hat Enterprise Linux 8samba, 0:4.18.6-1.el8affected
Red HatRed Hat Enterprise Linux 8samba, 0:4.18.6-1.el8affected
Red HatRed Hat Enterprise Linux 8.6 Extended Update Supportsamba, 0:4.15.5-15.el8_6affected
Red HatRed Hat Enterprise Linux 8.8 Extended Update Supportsamba, 0:4.17.5-5.el8_8affected
Red HatRed Hat Enterprise Linux 9samba, 0:4.18.6-100.el9affected
Red HatRed Hat Enterprise Linux 9samba, 0:4.18.6-100.el9affected
Red HatRed Hat Enterprise Linux 9.2 Extended Update Supportsamba, 0:4.17.5-105.el9_2affected
Red HatRed Hat Virtualization 4 for Red Hat Enterprise Linux 8samba, 0:4.15.5-15.el8_6affected
Red HatRed Hat Enterprise Linux 6sambaunknown
Red HatRed Hat Enterprise Linux 6samba4unknown
Red HatRed Hat Enterprise Linux 7sambaunknown
Red HatRed Hat Storage 3sambaunknown
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-835 · source CWE mapping

Loop with Unreachable Exit Condition ('Infinite Loop')

Loop with Unreachable Exit Condition ('Infinite Loop') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.