Skip to content
OpenAdvisories

Description

A path traversal vulnerability was identified in Samba when processing client pipe names connecting to Unix domain sockets within a private directory. Samba typically uses this mechanism to connect SMB clients to remote procedure call (RPC) services like SAMR LSA or SPOOLSS, which Samba initiates on demand. However, due to inadequate sanitization of incoming client pipe names, allowing a client to send a pipe name containing Unix directory traversal characters (../). This could result in SMB clients connecting as root to Unix domain sockets outside the private directory. If an attacker or client managed to send a pipe name resolving to an external service using an existing Unix domain socket, it could potentially lead to unauthorized access to the service and consequential adverse events, including compromise or service crashes.

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.0 Extended Update Support — —
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.19.1+dfsg-1 —
Debian 13 samba 2:4.19.1+dfsg-1 —
Debian 12 samba 2:4.17.12+dfsg-0+deb12u1 DSA-5525-1
ReleasePackageFixed inAdvisory
RHEL 9 ctdb +33 4.18.6-101.el9_3 RHSA-2023:6744
RHEL 8 ctdb +33 4.18.6-2.el8_9 RHSA-2023:7467
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhev Hypervisor 4 samba +5 4.15.5-13.el8_6 RHSA-2023:7408
RHEL 9.2 EUS ctdb +33 4.17.5-104.el9_2 RHSA-2023:7371
RHEL 9.0 EUS ctdb +23 4.15.5-111.el9_0 RHSA-2023:6209
RHEL 8.8 EUS ctdb +33 4.17.5-4.el8_8 RHSA-2023:7464
RHEL 8.6 EUS ctdb +24 4.15.5-13.el8_6 RHSA-2023:7408

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 ctdb +33 4.18.6-101.el9_3.alma.1 ALSA-2023:6744
AlmaLinux 8 ctdb +33 4.18.6-2.el8_9.alma.1 ALSA-2023:7467
ReleasePackageFixed inAdvisory
SLES 15 SP5 samba 4.17.9+git.421.abde31ca5c2-150500.3.11.1 SUSE-SU-2023:4046-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLE Micro 5.5 samba 4.17.9+git.421.abde31ca5c2-150500.3.11.1 SUSE-SU-2023:4046-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed samba 4.19.1+git.312.c912b3d2ef6-1.1 openSUSE-SU-2024:13332-1
openSUSE Leap 15.5 samba 4.17.9+git.421.abde31ca5c2-150500.3.11.1 SUSE-SU-2023:4046-1
ReleasePackageFixed inAdvisory
Alpine v3.24 samba 4.18.8-r0 —
Alpine v3.23 samba 4.18.8-r0 —
Alpine v3.22 samba 4.18.8-r0 —
Alpine v3.21 samba 4.18.8-r0 —
Alpine v3.20 samba 4.18.8-r0 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 samba 4.18.8-r0 —
Alpine v3.18 samba 4.18.8-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 samba +31 2:4.17.12-1.amzn2023.0.1 ALAS2023-2023-416

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 samba +32 4.18.6-101.el9_3 ELSA-2023-6744
Oracle Linux 8 ctdb +34 4.18.6-2.0.1.el8_9 ELSA-2023-7467

Advisories 18

References