Samba: type confusion in mdssvc rpc service for spotlight
Summary
| CVE | CVE-2023-34967 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-07-20 15:15:11 UTC |
| Updated | 2026-11-06 21:17:00 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.3 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Problem Types: CWE-843 | CWE-843 Access of Resource Using Incompatible Type
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| 3.1 | [email protected] | Secondary | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| 3.1 | CNA | CVSS | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
LowCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Red Hat | Red Hat Enterprise Linux 8 | unaffected 0:4.18.6-1.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8 | unaffected 0:4.18.6-1.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support | unaffected 0:4.15.5-15.el8_6 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | unaffected 0:4.17.5-5.el8_8 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 0:4.18.6-100.el9 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 0:4.18.6-100.el9 * rpm | Not specified |
| CNA | Red Hat | Red Hat Virtualization 4 For Red Hat Enterprise Linux 8 | unaffected 0:4.15.5-15.el8_6 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Storage 3 | Not specified | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| cve-details | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| Red Hat | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| July 2023 Samba Vulnerabilities in NetApp Products | NetApp Product Security | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | |
| Red Hat | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| [SECURITY] Fedora 37 Update: samba-4.17.10-0.fc37 - package-announce - Fedora Mailing-Lists | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| [SECURITY] Fedora 38 Update: samba-4.18.5-0.fc38 - package-announce - Fedora Mailing-Lists | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| Debian -- Security Information -- DSA-5477-1 samba | af854a3a-2127-422b-91ae-364da2661108 | www.debian.org | |
| Red Hat | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| Red Hat | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| Samba - Security Announcement Archive | af854a3a-2127-422b-91ae-364da2661108 | www.samba.org | Vendor Advisory |
| 2222794 – (CVE-2023-34967) CVE-2023-34967 samba: type confusion in mdssvc RPC service for spotlight | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | Issue Tracking |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2023-07-13T00:00:00.000Z | Reported to Red Hat. |
| CNA | 2023-07-19T00:00:00.000Z | Made public. |
Workarounds
CNA: As a possible workaround, disable Spotlight by removing all configuration stanzas ("spotlight=yes|true") that enable Spotlight .
Legacy QID Mappings
- 161079 Oracle Enterprise Linux Security Update for samba (ELSA-2023-6667)
- 161138 Oracle Enterprise Linux Security Update for samba (ELSA-2023-7139)
- 199593 Ubuntu Security Notification for Samba Vulnerabilities (USN-6238-1)
- 242329 Red Hat Update for samba security (RHSA-2023:6667)
- 242428 Red Hat Update for samba security (RHSA-2023:7139)
- 242787 Red Hat Update for samba (RHSA-2024:0580)
- 242852 Red Hat Update for samba (RHSA-2024:0423)
- 284336 Fedora Security Update for samba (FEDORA-2023-76c06c8576)
- 284369 Fedora Security Update for samba (FEDORA-2023-bcd91bfcd3)
- 355878 Amazon Linux Security Advisory for samba : ALAS2023-2023-316
- 379622 Alibaba Cloud Linux Security Update for evolution-mapi (ALINUX3-SA-2024:0037)
- 6000221 Debian Security Update for samba (DSA 5477-1)
- 6000543 Debian Security Update for samba (DSA 5647-1)
- 673521 EulerOS Security Update for samba (EulerOS-SA-2023-2907)
- 673550 EulerOS Security Update for samba (EulerOS-SA-2023-3157)
- 673584 EulerOS Security Update for samba (EulerOS-SA-2024-1163)
- 673600 EulerOS Security Update for samba (EulerOS-SA-2023-2869)
- 673784 EulerOS Security Update for samba (EulerOS-SA-2023-3229)
- 673831 EulerOS Security Update for samba (EulerOS-SA-2023-2852)
- 673954 EulerOS Security Update for samba (EulerOS-SA-2023-2888)
- 674025 EulerOS Security Update for samba (EulerOS-SA-2023-3194)
- 691226 Free Berkeley Software Distribution (FreeBSD) Security Update for samba (441e1e1a-27a5-11ee-a156-080027f5fec9)
- 710873 Gentoo Linux Samba Multiple Vulnerabilities (GLSA 202402-28)
- 754194 SUSE Enterprise Linux Security Update for samba (SUSE-SU-2023:2888-1)
- 754225 SUSE Enterprise Linux Security Update for samba (SUSE-SU-2023:3060-1)
- 755893 SUSE Enterprise Linux Security Update for samba (SUSE-SU-2023:2929-1)
- 755894 SUSE Enterprise Linux Security Update for samba (SUSE-SU-2023:2930-1)
- 941384 AlmaLinux Security Update for samba (ALSA-2023:6667)
- 941423 AlmaLinux Security Update for samba (ALSA-2023:7139)