cve.bz

CVE-2023-34966 Infinite Loop

7.5 highEPSS 62%Fix available

High (7.5). EPSS 62% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
62% (unchanged from 62% a week ago; 62% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:4.18.6-1.el8
  • Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support: fixed in 0:4.15.5-15.el8_6
  • Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support: fixed in 0:4.17.5-5.el8_8
  • Red Hat Red Hat Enterprise Linux 9: fixed in 0:4.18.6-100.el9
  • Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support: fixed in 0:4.17.5-105.el9_2
  • Red Hat Red Hat Virtualization 4 for Red Hat Enterprise Linux 8: fixed in 0:4.15.5-15.el8_6
  • Debian, Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux: fixed package versions per release
  • Vendor advisory: https://www.samba.org/samba/security/CVE-2023-34966

Ask an AI about this CVE

Show the promptExplain CVE-2023-34966 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-34966?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-34966?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-34966 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 80:4.18.6-1.el8
Red Hat Enterprise Linux 8.6 Extended Update Support0:4.15.5-15.el8_6
Red Hat Enterprise Linux 8.8 Extended Update Support0:4.17.5-5.el8_8
Red Hat Enterprise Linux 90:4.18.6-100.el9
Red Hat Enterprise Linux 9.2 Extended Update Support0:4.17.5-105.el9_2
Red Hat Virtualization 4 for Red Hat Enterprise Linux 80:4.15.5-15.el8_6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11samba2:4.13.13+dfsg-1~deb11u6DSA-5647-1
Debian12samba2:4.17.10+dfsg-0+deb12u1DEBIAN-CVE-2023-34966 DSA-5477-1
Debian13, 14samba2:4.18.5+dfsg-1DEBIAN-CVE-2023-34966
Ubuntu20.04:LTSsamba2:4.15.13+dfsg-0ubuntu0.20.04.3UBUNTU-CVE-2023-34966 USN-6238-1
Ubuntu22.04:LTSsamba2:4.15.13+dfsg-0ubuntu1.2UBUNTU-CVE-2023-34966 USN-6238-1
UbuntuPro:14.04:LTSsamba2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13UBUNTU-CVE-2023-34966 USN-7582-1
UbuntuPro:16.04:LTSsamba2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2UBUNTU-CVE-2023-34966 USN-7582-1
UbuntuPro:18.04:LTSsamba2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1UBUNTU-CVE-2023-34966 USN-7582-1
Red Hatenterprise_linux:8::appstreamctdb-debuginfo, samba-debuginfo, samba-debugsource and 23 more0:4.18.6-1.el8RHSA-2023:7139
Red Hatenterprise_linux:8::baseosctdb, samba, libnetapi and 50 more0:4.18.6-1.el8RHSA-2023:7139
Red Hatenterprise_linux:8::crbsamba-devel, ctdb-debuginfo, libnetapi-devel and 27 more0:4.18.6-1.el8RHSA-2023:7139
Red Hatenterprise_linux:9::appstreamsamba-client, samba-winexe, ctdb-debuginfo and 28 more0:4.18.6-100.el9RHSA-2023:6667
Red Hatenterprise_linux:9::baseossamba, libnetapi, samba-libs and 40 more0:4.18.6-100.el9RHSA-2023:6667
Red Hatenterprise_linux:9::crbsamba-pidl, samba-test, samba-devel and 31 more0:4.18.6-100.el9RHSA-2023:6667
Red Hatenterprise_linux:9::resilientstoragectdb, ctdb-debuginfo, samba-debuginfo and 23 more0:4.18.6-100.el9RHSA-2023:6667
Red Hatrhel_eus:8.6::appstreamctdb-debuginfo, samba-debuginfo, samba-debugsource and 18 more0:4.15.5-15.el8_6RHSA-2024:0423
Red Hatrhel_eus:8.6::baseosctdb, samba, samba-libs and 38 more0:4.15.5-15.el8_6RHSA-2024:0423
Red Hatrhel_eus:8.6::crbsamba-devel, ctdb-debuginfo, samba-debuginfo and 20 more0:4.15.5-15.el8_6RHSA-2024:0423
Red Hatrhel_eus:8.8::appstreamctdb-debuginfo, samba-debuginfo, samba-debugsource and 23 more0:4.17.5-5.el8_8RHSA-2024:0580
Red Hatrhel_eus:8.8::baseosctdb, samba, libnetapi and 50 more0:4.17.5-5.el8_8RHSA-2024:0580
6 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7samba4.13.13+git.643.8caa136952b-150200.3.26.3SUSE-SU-2023:3066-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Availability Extension 15 SP3, Linux Enterprise High Performance Computing 15 SP3-ESPOS and 7 moresamba4.15.13+git.663.9c654e06cdb-150300.3.57.5SUSE-SU-2023:3060-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 and 1 moresamba4.15.13+git.621.c8ae836ff82-3.85.1SUSE-SU-2023:2888-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Micro 5.3, Linux Enterprise Micro 5.4 and 1 moresamba4.15.13+git.663.9c654e06cdb-150400.3.28.1SUSE-SU-2023:2930-1
SUSELinux Enterprise High Availability Extension 15 SP5, Linux Enterprise Module for Basesystem 15 SP5samba4.17.9+git.367.dae41ffdd1f-150500.3.5.1SUSE-SU-2023:2929-1
openSUSELeap 15.4, Leap Micro 5.3, Leap Micro 5.4samba4.15.13+git.663.9c654e06cdb-150400.3.28.1SUSE-SU-2023:2930-1
openSUSELeap 15.5samba4.17.9+git.367.dae41ffdd1f-150500.3.5.1SUSE-SU-2023:2929-1
openSUSETumbleweedsamba4.18.5+git.313.c8e274c7852-1.1openSUSE-SU-2024:13071-1
AlmaLinux8ctdb, samba, libnetapi and 31 more4.18.6-1.el8ALSA-2023:7139
AlmaLinux9ctdb, samba, libnetapi and 31 more4.18.6-100.el9ALSA-2023:6667
Rocky Linux8evolution-mapi0:3.28.3-8.el8RLSA-2023:7139
Rocky Linux8openchange0:2.3-32.el8RLSA-2023:7139
Azure Linux2sambano fix listedAZL-27661
Azure Linux3sambano fix listedAZL-37021

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat has set this as Moderate severity issue, because this CVE only affects servers where Spotlight is explicitly enabled globally or on individual shares with "spotlight = yes". However, the default spotlight configuration is set as `no` - Check https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html#spotlight.

Red Hat's mitigation

As a possible workaround, disable Spotlight by removing all configuration stanzas ("spotlight=yes|true") that enable Spotlight .

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8samba-0:4.18.6-1.el8Fixed 2023-11-14RHSA-2023:7139
Red Hat Enterprise Linux 8.6 Extended Update Supportsamba-0:4.15.5-15.el8_6Fixed 2024-01-25RHSA-2024:0423
Red Hat Enterprise Linux 8.8 Extended Update Supportsamba-0:4.17.5-5.el8_8Fixed 2024-01-30RHSA-2024:0580
Red Hat Enterprise Linux 9samba-0:4.18.6-100.el9Fixed 2023-11-07RHSA-2023:6667
Red Hat Enterprise Linux 9.2 Extended Update Supportsamba-0:4.17.5-105.el9_2Fixed 2024-06-25RHSA-2024:4101
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8samba-0:4.15.5-15.el8_6Fixed 2024-01-25RHSA-2024:0423
Red Hat Enterprise Linux 6sambaOut of support scope
Red Hat Enterprise Linux 6samba4Out of support scope
Red Hat Enterprise Linux 7sambaOut of support scope
Red Hat Storage 3sambaOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-34966.

References

Check your stackJSON