Security Resilience

CVE-2023-34967

Memory Safety in Samba ≤ 4.16.11

High EPSSMemory Safety
Published
20 July 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 5.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS Score 0.61 99.2th percentile
Risk Priority 70 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-34967 is a medium-severity Type Confusion (CWE-843) vulnerability in Samba Samba. Its CVSS base score is 5.3 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Junk Data (T1001.001); ranked in the top 0.8% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

A Type Confusion vulnerability exists in Samba's mdssvc RPC service for Spotlight. When parsing Spotlight mdssvc RPC packets, the dalloc_value_for_key() function returns objects from a key-value dictionary without sufficient type checking by callers. This allows an invalid pointer to reach talloc_get_size(), triggering a crash. The affected component is the shared RPC worker process that handles multiple client connections.

An unauthenticated remote attacker can send specially crafted Spotlight mdssvc RPC packets to induce the crash. Because the worker process is shared, the denial of service affects all other clients served by that worker. The vulnerability requires no privileges or user interaction and carries a CVSS score of 5.3 with an availability impact.

Red Hat has published multiple errata (RHSA-2023:6667, RHSA-2023:7139, RHSA-2024:0423, and RHSA-2024:0580) that supply patched Samba packages to address the issue. Administrators should apply the relevant updates for their distributions.

The EPSS score has reached a peak of 0.2117 with a current value of 0.1920. No information is provided on observed real-world exploitation.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1001.001 Junk Data Command And Control
Adversaries may add junk data to protocols used for command and control to make detection more difficult.
T1003 OS Credential Dumping Credential Access
Adversaries may attempt to dump credentials to obtain account login and credential material, normally in the form of a hash or a clear text password.
T1003.005 Cached Domain Credentials Credential Access
Adversaries may attempt to access cached domain credentials used to allow authentication to occur in the event a domain controller is unavailable.
T1003.006 DCSync Credential Access
Adversaries may attempt to access credentials and other sensitive information by abusing a Windows Domain Controller's application programming interface (API)(Citation: Microsoft DRSR Dec 2017) (Citation: Microsoft GetNCCChanges) (Citati…
T1005 Data from Local System Collection
Adversaries may search local system sources, such as file systems, configuration files, local databases, virtual machine files, or process memory, to find files of interest and sensitive data prior to Exfiltration.
T1011.001 Exfiltration Over Bluetooth Exfiltration
Adversaries may attempt to exfiltrate data over Bluetooth rather than the command and control channel.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-4194Same product: Debian Debian Linux
CVE-2023-34966Same product: Debian Debian Linux
CVE-2023-4352Same product: Debian Debian Linux
CVE-2023-3216Same product: Debian Debian Linux
CVE-2021-21224Same product: Debian Debian Linux
CVE-2023-6348Same product: Debian Debian Linux
CVE-2023-2724Same product: Debian Debian Linux
CVE-2020-6418Same product: Debian Debian Linux
CVE-2023-2033Same product: Debian Debian Linux
CVE-2023-3079Same product: Debian Debian Linux

Affected Assets

samba
samba
≤ 4.16.11 · 4.17.0 — 4.17.10 · 4.18.0 — 4.18.5
fedoraproject
fedora
37, 38
redhat
enterprise linux
8.0, 9.0
debian
debian linux
11.0, 12.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V1.5.2
  • V15.3.5

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 partial match
blocks

Secure SDLC practices directly prevent type-confusion flaws via safe typing, static analysis, and code review while the control itself addresses many additional weaknesses.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

removes
removes
removes
removes
removes

References