CVE-2023-3961
A path traversal vulnerability was identified in Samba when processing client pipe names connecting to Unix domain sockets within a private directory.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.41%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 2.41% probability · 83th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-22
- Affected
- samba/samba · redhat/storage · redhat/enterprise linux · redhat/enterprise linux eus · fedoraproject/fedora
- Source
- secalert@redhat.com
References
- https://access.redhat.com/errata/RHSA-2023:6209Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:6744Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7371
- https://access.redhat.com/errata/RHSA-2023:7408
- https://access.redhat.com/errata/RHSA-2023:7464
- https://access.redhat.com/errata/RHSA-2023:7467
- https://access.redhat.com/security/cve/CVE-2023-3961Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2241881Issue Tracking
- https://bugzilla.samba.org/show_bug.cgi?id=15422Exploit, Issue Tracking
- https://www.samba.org/samba/security/CVE-2023-3961.htmlVendor Advisory
- https://access.redhat.com/errata/RHSA-2023:6209Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:6744Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7371
- https://access.redhat.com/errata/RHSA-2023:7408
- https://access.redhat.com/errata/RHSA-2023:7464
- https://access.redhat.com/errata/RHSA-2023:7467
- https://access.redhat.com/security/cve/CVE-2023-3961Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2241881Issue Tracking
- https://bugzilla.samba.org/show_bug.cgi?id=15422Exploit, Issue Tracking
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZUMVALLFFDFC53JZMUWA6HPD7HUGAP5I/
- https://security.netapp.com/advisory/ntap-20231124-0002/
- https://www.samba.org/samba/security/CVE-2023-3961.htmlVendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.