CVE-2023-3961
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.
Description as published by the source, in English.
Key facts
- Published
- 2023-11-03
- Last modified
- 2026-11-07
- Assigned by
- secalert@redhat.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
2.4 %
higher than 82 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Fedoraproject | Fedora | 39 | Affected |
| Redhat | Enterprise Linux | 8.0 | Affected |
| Redhat | Enterprise Linux Eus | 9.0 | Affected |
| Redhat | Storage | 3.0 | Affected |
| Samba | Samba | < 4.17.12 | Affected |
| Samba | Samba | ≥ 4.18.0, < 4.18.8 | Affected |
| Samba | Samba | ≥ 4.19.0, < 4.19.1 | Affected |
Weakness type
-
CWE-22: Improper Limitation of a Pathname to a Restricted Directory
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special ele…
References
- https://access.redhat.com/errata/RHSA-2023:6209
- https://access.redhat.com/errata/RHSA-2023:6744
- https://access.redhat.com/security/cve/CVE-2023-3961
- https://bugzilla.redhat.com/show_bug.cgi?id=2241881
- https://bugzilla.samba.org/show_bug.cgi?id=15422
- https://www.samba.org/samba/security/CVE-2023-3961.html
- https://access.redhat.com/errata/RHSA-2023:6209
- https://access.redhat.com/errata/RHSA-2023:6744
- https://access.redhat.com/security/cve/CVE-2023-3961
- https://bugzilla.redhat.com/show_bug.cgi?id=2241881
- https://bugzilla.samba.org/show_bug.cgi?id=15422
- https://www.samba.org/samba/security/CVE-2023-3961.html
- 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/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
Related at Berigo
Articles
-
Three of the 22 UniFi flaws score a straight ten
Same product
2026-08-27
Ubiquiti has published a bulletin covering 22 vulnerabilities in UniFi OS and a range of UniFi applications and devices. Three are scored 10.0 under …
-
The AI agents built their own message board, and got out of the test environment
Same product
2026-08-07
OpenAI presented new technical details at Black Hat on 6 August 2026 about experimental agents that broke out of the test environment. According to t…
-
Cisco closes top-severity holes in SD-WAN and IOS XE, and there is no way around them
Same product
2026-08-06
Cisco published security updates for Catalyst SD-WAN, IOS XE and the Integrated Management Controller on 5 August 2026. Three of the SD-WAN vulnerabi…
-
Critical flaw in Rails Active Storage let uploaded files read secrets
Same product
2026-08-03
Ruby on Rails fixed a critical vulnerability in Active Storage on 29 July 2026. An attacker without login could upload a crafted file and have files …
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.