Original 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 software
- Samba ≥ 4.19.0 < 4.19.1≥ 4.18.0 < 4.18.8< 4.17.12 Fixed in: 4.19.1, 4.18.8, 4.17.12 exact match
Details
- Published
- 2023-11-03
- Last modified
- 2026-11-07
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-22
- EPSS (30-day exploit probability)
- 2.69% (percentile 86)
References
- cve.org/CVE-2023-3961
- nvd.nist.gov/vuln/detail/CVE-2023-3961
- access.redhat.com/errata/RHSA-2023:6209
- access.redhat.com/errata/RHSA-2023:6744
- access.redhat.com/errata/RHSA-2023:7371
- access.redhat.com/errata/RHSA-2023:7408
- access.redhat.com/errata/RHSA-2023:7464
- access.redhat.com/errata/RHSA-2023:7467
- access.redhat.com/security/cve/CVE-2023-3961
- bugzilla.redhat.com/show_bug.cgi?id=2241881
- bugzilla.samba.org/show_bug.cgi?id=15422
- www.samba.org/samba/security/CVE-2023-3961.html
- lists.fedoraproject.org/archives/list/[email protected]/message/ZUM...
- security.netapp.com/advisory/ntap-20231124-0002/
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.