CVE-2023-34966
published high CVSS 3.1 · 7.5Samba: infinite loop in mdssvc rpc service for spotlight
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 8 | samba0:4.18.6-1.el8 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | sambaRed Hat Enterprise Linux 8.6 Extended Update Support · 0:4.15.5-15.el8_6 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | sambaRed Hat Enterprise Linux 8.8 Extended Update Support · 0:4.17.5-5.el8_8 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 9 | samba0:4.18.6-100.el9 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-316 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | samba | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| Debian | bookworm | samba | Advisory build | 2:4.17.10+dfsg-0+deb12u1 | DSA-5477-1 |
Show 104 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | sambaRed Hat Enterprise Linux 9.2 Extended Update Support · 0:4.17.5-105.el9_2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | sambaRed Hat Enterprise Linux 9.2 Extended Update Support · 0:4.17.5-105.el9_2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | sambaRed Hat Virtualization 4 for Red Hat Enterprise Linux 8 · 0:4.15.5-15.el8_6 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 6, 7 | samba | Unknown | Not stated | redhat |
| Red Hat Enterprise Linux | 6 | samba4 | Unknown | Not stated | redhat |
| Red Hat | — | sambaRed Hat Storage 3 | Unknown | Not stated | redhat |
| Oracle Linux | 9 | sambaaarch64 | Advisory build | 0:4.18.6-100.el9 | ELSA-2023-6667 |
| Red Hat Enterprise Linux | RHEL-8 | sambaaarch64 | Advisory build | 4.15.5-15.el8_6 | RHSA-2024:0423 |
| SUSE / openSUSE | SLE-12-SP5 | sambaaarch64 | Advisory build | 4.15.13+git.621.c8ae836ff82-3.85.1 | SUSE-SU-2023:2888-1 |
| Ubuntu | bionic | samba | Advisory build | 2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1 | USN-7582-1 |
| AlmaLinux | 9 | samba | Advisory build | 4.18.6-100.el9 | ALSA-2023:6667 |
| Debian | bullseye | samba | Advisory build | 2:4.13.13+dfsg-1~deb11u6 | DSA-5647-1 |
| Oracle Linux | 9 | sambax86_64 | Advisory build | 0:4.18.6-100.el9 | ELSA-2023-6667 |
| Red Hat Enterprise Linux | RHEL-8 | sambaaarch64 | Advisory build | 4.17.5-5.el8_8 | RHSA-2024:0580 |
| Red Hat Enterprise Linux | RHEL-8 | sambaaarch64 | Advisory build | 4.18.6-1.el8 | RHSA-2023:7139 |
| Red Hat Enterprise Linux | RHEL-8 | sambappc64le | Advisory build | 4.15.5-15.el8_6 | RHSA-2024:0423 |
| Red Hat Enterprise Linux | RHEL-8 | sambappc64le | Advisory build | 4.17.5-5.el8_8 | RHSA-2024:0580 |
| Red Hat Enterprise Linux | RHEL-8 | sambappc64le | Advisory build | 4.18.6-1.el8 | RHSA-2023:7139 |
| Red Hat Enterprise Linux | RHEL-8 | sambas390x | Advisory build | 4.15.5-15.el8_6 | RHSA-2024:0423 |
| Red Hat Enterprise Linux | RHEL-8 | sambas390x | Advisory build | 4.17.5-5.el8_8 | RHSA-2024:0580 |
| Red Hat Enterprise Linux | RHEL-8 | sambas390x | Advisory build | 4.18.6-1.el8 | RHSA-2023:7139 |
| Red Hat Enterprise Linux | RHEL-8 | sambasrc | Advisory build | 4.15.5-15.el8_6 | RHSA-2024:0423 |
| Red Hat Enterprise Linux | RHEL-8 | sambasrc | Advisory build | 4.17.5-5.el8_8 | RHSA-2024:0580 |
| Red Hat Enterprise Linux | RHEL-8 | sambasrc | Advisory build | 4.18.6-1.el8 | RHSA-2023:7139 |
| Red Hat Enterprise Linux | RHEL-8 | sambax86_64 | Advisory build | 4.15.5-15.el8_6 | RHSA-2024:0423 |
| Red Hat Enterprise Linux | RHEL-8 | sambax86_64 | Advisory build | 4.17.5-5.el8_8 | RHSA-2024:0580 |
| Red Hat Enterprise Linux | RHEL-8 | sambax86_64 | Advisory build | 4.18.6-1.el8 | RHSA-2023:7139 |
| Red Hat Enterprise Linux | RHEL-9 | sambaaarch64 | Advisory build | 4.17.5-105.el9_2 | RHSA-2024:4101 |
| Red Hat Enterprise Linux | RHEL-9 | sambaaarch64 | Advisory build | 4.18.6-100.el9 | RHSA-2023:6667 |
| Red Hat Enterprise Linux | RHEL-9 | sambappc64le | Advisory build | 4.17.5-105.el9_2 | RHSA-2024:4101 |
| Red Hat Enterprise Linux | RHEL-9 | sambappc64le | Advisory build | 4.18.6-100.el9 | RHSA-2023:6667 |
| Red Hat Enterprise Linux | RHEL-9 | sambas390x | Advisory build | 4.17.5-105.el9_2 | RHSA-2024:4101 |
| Red Hat Enterprise Linux | RHEL-9 | sambas390x | Advisory build | 4.18.6-100.el9 | RHSA-2023:6667 |
| Red Hat Enterprise Linux | RHEL-9 | sambasrc | Advisory build | 4.17.5-105.el9_2 | RHSA-2024:4101 |
| Red Hat Enterprise Linux | RHEL-9 | sambasrc | Advisory build | 4.18.6-100.el9 | RHSA-2023:6667 |
| Red Hat Enterprise Linux | RHEL-9 | sambax86_64 | Advisory build | 4.17.5-105.el9_2 | RHSA-2024:4101 |
| Red Hat Enterprise Linux | RHEL-9 | sambax86_64 | Advisory build | 4.18.6-100.el9 | RHSA-2023:6667 |
| SUSE / openSUSE | SLE-12-SP5 | sambappc64le | Advisory build | 4.15.13+git.621.c8ae836ff82-3.85.1 | SUSE-SU-2023:2888-1 |
| SUSE / openSUSE | SLE-12-SP5 | sambas390x | Advisory build | 4.15.13+git.621.c8ae836ff82-3.85.1 | SUSE-SU-2023:2888-1 |
| SUSE / openSUSE | SLE-12-SP5 | sambax86_64 | Advisory build | 4.15.13+git.621.c8ae836ff82-3.85.1 | SUSE-SU-2023:2888-1 |
| SUSE / openSUSE | SLE-15-SP3 | sambaaarch64 | Advisory build | 4.15.13+git.663.9c654e06cdb-150300.3.57.5 | SUSE-SU-2023:3060-1 |
| SUSE / openSUSE | SLE-15-SP3 | sambappc64le | Advisory build | 4.15.13+git.663.9c654e06cdb-150300.3.57.5 | SUSE-SU-2023:3060-1 |
| SUSE / openSUSE | SLE-15-SP3 | sambas390x | Advisory build | 4.15.13+git.663.9c654e06cdb-150300.3.57.5 | SUSE-SU-2023:3060-1 |
| SUSE / openSUSE | SLE-15-SP3 | sambax86_64 | Advisory build | 4.15.13+git.663.9c654e06cdb-150300.3.57.5 | SUSE-SU-2023:3060-1 |
| SUSE / openSUSE | SLE-15-SP4 | sambaaarch64 | Advisory build | 4.15.13+git.663.9c654e06cdb-150400.3.28.1 | SUSE-SU-2023:2930-1 |
| SUSE / openSUSE | SLE-15-SP4 | sambappc64le | Advisory build | 4.15.13+git.663.9c654e06cdb-150400.3.28.1 | SUSE-SU-2023:2930-1 |
| SUSE / openSUSE | SLE-15-SP4 | sambas390x | Advisory build | 4.15.13+git.663.9c654e06cdb-150400.3.28.1 | SUSE-SU-2023:2930-1 |
| SUSE / openSUSE | SLE-15-SP4 | sambax86_64 | Advisory build | 4.15.13+git.663.9c654e06cdb-150400.3.28.1 | SUSE-SU-2023:2930-1 |
| SUSE / openSUSE | SLE-15-SP5 | sambaaarch64 | Advisory build | 4.17.9+git.367.dae41ffdd1f-150500.3.5.1 | SUSE-SU-2023:2929-1 |
| SUSE / openSUSE | SLE-15-SP5 | sambappc64le | Advisory build | 4.17.9+git.367.dae41ffdd1f-150500.3.5.1 | SUSE-SU-2023:2929-1 |
| SUSE / openSUSE | SLE-15-SP5 | sambas390x | Advisory build | 4.17.9+git.367.dae41ffdd1f-150500.3.5.1 | SUSE-SU-2023:2929-1 |
| SUSE / openSUSE | SLE-15-SP5 | sambax86_64 | Advisory build | 4.17.9+git.367.dae41ffdd1f-150500.3.5.1 | SUSE-SU-2023:2929-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | sambaaarch64 | Advisory build | 4.15.13+git.663.9c654e06cdb-150400.3.28.1 | SUSE-SU-2023:2930-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | sambappc64le | Advisory build | 4.15.13+git.663.9c654e06cdb-150400.3.28.1 | SUSE-SU-2023:2930-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | sambas390x | Advisory build | 4.15.13+git.663.9c654e06cdb-150400.3.28.1 | SUSE-SU-2023:2930-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | sambax86_64 | Advisory build | 4.15.13+git.663.9c654e06cdb-150400.3.28.1 | SUSE-SU-2023:2930-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | sambaaarch64 | Advisory build | 4.17.9+git.367.dae41ffdd1f-150500.3.5.1 | SUSE-SU-2023:2929-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | sambappc64le | Advisory build | 4.17.9+git.367.dae41ffdd1f-150500.3.5.1 | SUSE-SU-2023:2929-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | sambas390x | Advisory build | 4.17.9+git.367.dae41ffdd1f-150500.3.5.1 | SUSE-SU-2023:2929-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | sambax86_64 | Advisory build | 4.17.9+git.367.dae41ffdd1f-150500.3.5.1 | SUSE-SU-2023:2929-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sambaaarch64 | Advisory build | 4.18.5+git.313.c8e274c7852-1.1 | OPENSUSE-SU-2024:13071-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sambappc64le | Advisory build | 4.18.5+git.313.c8e274c7852-1.1 | OPENSUSE-SU-2024:13071-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sambas390x | Advisory build | 4.18.5+git.313.c8e274c7852-1.1 | OPENSUSE-SU-2024:13071-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sambax86_64 | Advisory build | 4.18.5+git.313.c8e274c7852-1.1 | OPENSUSE-SU-2024:13071-1 |
| Ubuntu | focal | samba | Advisory build | 2:4.15.13+dfsg-0ubuntu0.20.04.3 | USN-6238-1 |
| Ubuntu | jammy | samba | Advisory build | 2:4.15.13+dfsg-0ubuntu1.2 | USN-6238-1 |
| Ubuntu | trusty | samba | Advisory build | 2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13 | USN-7582-1 |
| Ubuntu | xenial | samba | Advisory build | 2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2 | USN-7582-1 |
| AlmaLinux | 8 | ctdb | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | libnetapi | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | libnetapi-devel | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | libsmbclient | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | libsmbclient-devel | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | libwbclient | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | libwbclient-devel | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | python3-samba | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | python3-samba-dc | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | python3-samba-devel | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | python3-samba-test | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-client | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-client-libs | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-common | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-common-libs | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-common-tools | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-dc-libs | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-dcerpc | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-devel | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-krb5-printing | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-ldb-ldap-modules | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-libs | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-pidl | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-test | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-test-libs | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-tools | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-usershares | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-vfs-iouring | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-winbind | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-winbind-clients | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-winbind-krb5-locator | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-winbind-modules | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 8 | samba-winexe | Advisory build | 4.18.6-1.el8 | ALSA-2023:7139 |
| AlmaLinux | 9 | ctdb | Advisory build | 4.18.6-100.el9 | ALSA-2023:6667 |
| AlmaLinux | 9 | libnetapi | Advisory build | 4.18.6-100.el9 | ALSA-2023:6667 |
| AlmaLinux | 9 | libnetapi-devel | Advisory build | 4.18.6-100.el9 | ALSA-2023:6667 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
An infinite loop vulnerability was found in Samba's mdssvc RPC service for Spotlight. When parsing Spotlight mdssvc RPC packets sent by the client, the core unmarshalling function sl_unpack_loop() did not validate a field in the network packet that contains the count of elements in an array-like structure. By passing 0 as the count value, the attacked function will run in an endless loop consuming 100% CPU. This flaw allows an attacker to issue a malformed RPC request, triggering an infinite loop, resulting in a denial of service condition.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 8 | 0:4.18.6-1.el8 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | 0:4.18.6-1.el8 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support | 0:4.15.5-15.el8_6 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | 0:4.17.5-5.el8_8 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 0:4.18.6-100.el9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 0:4.18.6-100.el9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 0:4.18.6-100.el9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | 0:4.17.5-105.el9_2 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | 0:4.17.5-105.el9_2 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 | 0:4.15.5-15.el8_6 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Storage 3 | Default: unknown | redhat · cna |
Weaknesses
1- CWE-835 Loop with Unreachable Exit Condition
References
12- RHSA-2023:6667 https://access.redhat.com/errata/RHSA-2023:6667
- RHSA-2023:7139 https://access.redhat.com/errata/RHSA-2023:7139
- RHSA-2024:0423 https://access.redhat.com/errata/RHSA-2024:0423
- RHSA-2024:0580 https://access.redhat.com/errata/RHSA-2024:0580
- RHSA-2024:4101 https://access.redhat.com/errata/RHSA-2024:4101
- https://access.redhat.com/security/cve/CVE-2023-34966
- RHBZ#2222793 https://bugzilla.redhat.com/show_bug.cgi?id=2222793
- https://lists.fedoraproject.org/archives/list/[email protected]/message/BPCSGND7LO467AJGR5DYBGZLTCGTOBCC/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/OT74M42E6C36W7PQVY3OS4ZM7DVYB64Z/
- https://security.netapp.com/advisory/ntap-20230731-0010/
- https://www.debian.org/security/2023/dsa-5477
- https://www.samba.org/samba/security/CVE-2023-34966
Provider assertions
2redhat · cna
Samba: infinite loop in mdssvc rpc service for spotlight
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a96a2fca62159aa586f2fa6946816189974935d111d3dad645916ac463ae95f1
- Ingested
- 26 Nov 2026, 17:13:39 UTC
- Source record
- Official CVE record