Samba mdssvc RPC Type Confusion Crash
CVE-2023-34967 Published on July 20, 2023
Samba: type confusion in mdssvc rpc service for spotlight
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.
Vulnerability Analysis
CVE-2023-34967 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a small impact on availability.
Timeline
Reported to Red Hat.
Made public. 6 days later.
Weakness Type
What is an Object Type Confusion Vulnerability?
The program allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.
CVE-2023-34967 has been classified to as an Object Type Confusion vulnerability or weakness.
Products Associated with CVE-2023-34967
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2023-34967 are published in these products:
Affected Versions
Red Hat Enterprise Linux 8:- Version 0:4.18.6-1.el8 and below * is unaffected.
- Version 0:4.18.6-1.el8 and below * is unaffected.
- Version 0:4.15.5-15.el8_6 and below * is unaffected.
- Version 0:4.17.5-5.el8_8 and below * is unaffected.
- Version 0:4.18.6-100.el9 and below * is unaffected.
- Version 0:4.18.6-100.el9 and below * is unaffected.
- Version 0:4.15.5-15.el8_6 and below * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.