CVE-2023-34967

Samba: type confusion in mdssvc rpc service for spotlight

MEDIUM
5.3
CVSS Score
Published: July 20, 2023 at 02:57 PM UTC
Updated: June 17, 2026 at 06:04 AM UTC
4 products affected across 4 vendorsDebian LinuxFedoraEnterprise Linux

Using Red Hat Enterprise Linux 8 by Red Hat?

Get instant alerts when new vulnerabilities affect Red Hat Enterprise Linux 8 - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 61%

Description

A Type Confusion vulnerability was found in Samba's mdssvc RPC service for Spotlight. When parsing Spotlight mdssvc RPC packets, one encoded data structure is a key-value style dictionary where the keys are character strings, and the values can be any of the supported types in the mdssvc protocol. Due to a lack of type checking in callers of the dalloc_value_for_key() function, which returns the object associated with a key, a caller may trigger a crash in talloc_get_size() when talloc detects that the passed-in pointer is not a valid talloc pointer. With an RPC worker process shared among multiple client connections, a malicious client or attacker can trigger a process crash in a shared RPC mdssvc worker process, affecting all other clients this worker serves.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Vendor states this is fixed in 0:4.15.5-15.el8_6 (unaffected)
Vendor states this is fixed in 0:4.17.5-5.el8_8 (unaffected)
Vendor states this is fixed in 0:4.18.6-1.el8 (unaffected)
Vendor states this is fixed in 0:4.18.6-100.el9 (unaffected)
Vendor states this is fixed in 6 (unknown)
Vendor states this is fixed in 7 (unknown)
v < 4.16.114.17.0 ≤ v < 4.17.104.18.0 ≤ v < 4.18.5
Affected range stops below 4.16.11, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.17.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.18.5, so it looks safe — our inference, not a vendor statement

References (11)

CVSS

5.3MEDIUMredhat
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-843

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card