CVE-2023-34967CWE-843

Samba: type confusion in mdssvc rpc service for spotlight

Medium · published July 20, 2023

Patch now

High probability of exploitation

CVSS calls it medium at 5.3. It sits in the 99.2th percentile for exploit probability.

CVSS v3.1
5.3
EPSS
61%
Percentile
99.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS v4.0
Not supplied
EPSS
0.61199 · 99.2th percentile
Weakness
CWE-843 · Access of Resource Using Incompatible Type ('Type Confusion')
Published
2023-07-20T14:57Z
EPSS history
Timeline
  • 20 JUL 14:57Z
    Samba: type confusion in mdssvc rpc service for spotlight
    cvelistv5