Skip to content
OpenAdvisories

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.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support — —
Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support — —
Red Hat Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Storage 3 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 samba 2:4.18.5+dfsg-1 —
Debian 13 samba 2:4.18.5+dfsg-1 —
Debian 12 samba 2:4.17.10+dfsg-0+deb12u1 DSA-5477-1
Debian 11 samba 2:4.13.13+dfsg-1~deb11u6 DSA-5647-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS samba 2:4.15.13+dfsg-0ubuntu1.2 USN-6238-1
Ubuntu 20.04 LTS samba 2:4.15.13+dfsg-0ubuntu0.20.04.3 USN-6238-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1 USN-7582-1
Ubuntu Pro 16.04 LTS samba 2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2 USN-7582-1
Ubuntu Pro 14.04 LTS samba 2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13 USN-7582-1
ReleasePackageFixed inAdvisory
RHEL 9 ctdb +33 4.18.6-100.el9 RHSA-2023:6667
RHEL 8 ctdb +33 4.18.6-1.el8 RHSA-2023:7139
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhev Hypervisor 4 samba +5 4.15.5-15.el8_6 RHSA-2024:0423
RHEL 9.2 EUS ctdb +33 4.17.5-105.el9_2 RHSA-2024:4101
RHEL 8.8 EUS ctdb +33 4.17.5-5.el8_8 RHSA-2024:0580
RHEL 8.6 EUS ctdb +24 4.15.5-15.el8_6 RHSA-2024:0423

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 ctdb +33 4.18.6-100.el9 ALSA-2023:6667
AlmaLinux 8 ctdb +33 4.18.6-1.el8 ALSA-2023:7139

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 evolution-mapi 3.28.3-8.el8 RLSA-2023:7139
Rocky Linux 8 openchange 2.3-32.el8 RLSA-2023:7139
ReleasePackageFixed inAdvisory
SLES 15 SP5 samba 4.17.9+git.367.dae41ffdd1f-150500.3.5.1 SUSE-SU-2023:2929-1
SLES 15 SP4 samba 4.15.13+git.663.9c654e06cdb-150400.3.28.1 SUSE-SU-2023:2930-1
SLES 15 SP3 samba 4.15.13+git.663.9c654e06cdb-150300.3.57.5 SUSE-SU-2023:3060-1
SLES 12 SP5 samba 4.15.13+git.621.c8ae836ff82-3.85.1 SUSE-SU-2023:2888-1
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP3 samba 4.15.13+git.663.9c654e06cdb-150300.3.57.5 SUSE-SU-2023:3060-1
SLES for SAP 12 SP5 samba 4.15.13+git.621.c8ae836ff82-3.85.1 SUSE-SU-2023:2888-1
SLE Real Time 15 SP3 samba 4.15.13+git.663.9c654e06cdb-150300.3.57.5 SUSE-SU-2023:3060-1
SLE Micro 5.4 samba 4.15.13+git.663.9c654e06cdb-150400.3.28.1 SUSE-SU-2023:2930-1
SLE Micro 5.3 samba 4.15.13+git.663.9c654e06cdb-150400.3.28.1 SUSE-SU-2023:2930-1
SLE Micro 5.2 samba 4.15.13+git.663.9c654e06cdb-150300.3.57.5 SUSE-SU-2023:3060-1
SLE HPC 15 SP3 samba 4.15.13+git.663.9c654e06cdb-150300.3.57.5 SUSE-SU-2023:3060-1
SUSE Manager Server 4.2 samba 4.15.13+git.663.9c654e06cdb-150300.3.57.5 SUSE-SU-2023:3060-1
SUSE Manager Proxy 4.2 samba 4.15.13+git.663.9c654e06cdb-150300.3.57.5 SUSE-SU-2023:3060-1
SUSE Enterprise Storage 7.1 samba 4.15.13+git.663.9c654e06cdb-150300.3.57.5 SUSE-SU-2023:3060-1
SUSE Enterprise Storage 7 samba 4.13.13+git.643.8caa136952b-150200.3.26.3 SUSE-SU-2023:3066-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed samba 4.18.5+git.313.c8e274c7852-1.1 openSUSE-SU-2024:13071-1
openSUSE Leap 15.5 samba 4.17.9+git.367.dae41ffdd1f-150500.3.5.1 SUSE-SU-2023:2929-1
openSUSE Leap 15.4 samba 4.15.13+git.663.9c654e06cdb-150400.3.28.1 SUSE-SU-2023:2930-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.4 samba 4.15.13+git.663.9c654e06cdb-150400.3.28.1 SUSE-SU-2023:2930-1
openSUSE Leap Micro 5.3 samba 4.15.13+git.663.9c654e06cdb-150400.3.28.1 SUSE-SU-2023:2930-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 samba +31 2:4.17.10-0.amzn2023.0.1 ALAS2023-2023-316

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 samba No fix yet —
Azure Linux 2 (CBL-Mariner) samba No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 evolution-mapi +1 3.40.1-6.el9 ELSA-2023-6667
Oracle Linux 9 openchange 2.3-41.el9 ELSA-2023-6667
Oracle Linux 9 samba +32 4.18.6-100.el9 ELSA-2023-6667
Oracle Linux 8 evolution-mapi +1 3.28.3-8.el8 ELSA-2023-7139
Oracle Linux 8 openchange 2.3-32.0.1.el8 ELSA-2023-7139

Advisories 22

References