CVE-2023-3961
Samba: smbd allows client access to unix domain sockets on the file system as root
No exploitation reported by the sources we read.
- Published2023-11-03
- Fixed in4.19.1 · 4.18.8 · 4.17.12
- WeaknessCWE-22
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2023-11-0312:32CVE publishedCNA
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 4.19 | ≥ 4.19.0, < 4.19.1 | 4.19.1 | NVD |
| 4.18 | ≥ 4.18.0, < 4.18.8 | 4.18.8 | NVD |
| 4.17 | < 4.17.12 | 4.17.12 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 39.x | = 39 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.0 | = 8.0 | no fix published | NVD |
2 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA11 products
As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Red Hat Enterprise Linux 8other versions: affected
package sambahttps://access.redhat.com/downloads/content/package-browser/
Not affected ≥ 0:4.18.6-2.el8_9
- Red Hat Enterprise Linux 8.6 Extended Update Supportother versions: affected
package sambahttps://access.redhat.com/downloads/content/package-browser/
Not affected ≥ 0:4.15.5-13.el8_6
- Red Hat Enterprise Linux 8.8 Extended Update Supportother versions: affected
package sambahttps://access.redhat.com/downloads/content/package-browser/
Not affected ≥ 0:4.17.5-4.el8_8
- Red Hat Enterprise Linux 9other versions: affected
package sambahttps://access.redhat.com/downloads/content/package-browser/
Not affected ≥ 0:4.18.6-101.el9_3
- Red Hat Enterprise Linux 9.0 Extended Update Supportother versions: affected
package sambahttps://access.redhat.com/downloads/content/package-browser/
Not affected ≥ 0:4.15.5-111.el9_0
- Red Hat Enterprise Linux 9.2 Extended Update Supportother versions: affected
package sambahttps://access.redhat.com/downloads/content/package-browser/
Not affected ≥ 0:4.17.5-104.el9_2
5 more products in the CVE record.
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-11-26
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- ctdbRed Hat:rhel_eus:9.2::resilientstorageall versions · fixed in 0:4.17.5-104.el9_2and 25 other packages
- ctdbRed Hat:rhel_eus:9.0::resilientstorageall versions · fixed in 0:4.15.5-111.el9_0and 20 other packages
- ctdbRed Hat:enterprise_linux:9::resilientstorageall versions · fixed in 0:4.18.6-101.el9_3and 25 other packages
- sambaTuxCare:Ubuntu:18.04all versions · fixed in 2:4.7.6+dfsg~ubuntu-0ubuntu2.29+tuxcare.els4and 19 other packages
- sambaTuxCare:Ubuntu:16.04all versions · fixed in 2:4.3.11+dfsg-0ubuntu0.16.04.34+tuxcare.els6and 19 other packages
- sambaTuxCare:OracleLinux:6all versions · fixed in 3.6.23-53.0.1.el6_10.tuxcare.ol.els2and 12 other packages
- sambaTuxCare:CentOS:8.5all versions · fixed in 4.14.5-7.el8.5.tuxcare.els7and 25 other packages
- sambaTuxCare:CentOS:8.5all versions · fixed in 4.14.5-9.el8.5.tuxcare.els1and 25 other packages
47 more package ranges on OSV.dev
Vendor advisories
samba: smbd allows client access to unix domain sockets on the file system as root
ctdb as a component of Red Hat Storage 3 · ctdb-devel as a component of Red Hat Storage 3 · ctdb-tests as a component of Red Hat Storage 3 · +32 more
Red Hat Security Advisory: samba security update
Red Hat Security Advisory: samba security update
Red Hat Security Advisory: samba security update
Red Hat Security Advisory: samba security update
Red Hat Security Advisory: samba security update
1 more advisory
Fix
- Update Samba to 4.19.1 · 4.18.8 · 4.17.12
- Vendor fix Red Hat Product Security RHSA-2023:7467 · 479 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing this update, the smb service will be restarted automatically.
- Workaround from the vendor Red Hat Product Security RHSA-2023:7467 · 479 productsMitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
- No fix planned, says the vendor Red Hat Product Security CVE-2023-3961 · 35 productsOut of support scope
Advisories and patches
- www.samba.orgVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-03
- Metasploit modules
- none listed Metasploit Framework
Sources
- CNACVSS 3.19.12026-11-26
- NVDCVSS 3.19.8read 2026-11-26
- CNAweakness (CWE)CWE-222026-11-26
- NVDweakness (CWE)CWE-22read 2026-11-26
- FIRST EPSSEPSS score2.7 %2026-12-03
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-31899same flawAzure Linux · MIT
- AZL-37024same flawAzure Linux · MIT
- EUVD-2023-44586same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-8m6h-6qw7-f6cgsame flawGitHub Advisory Database · CC-BY-4.0
- ALSA-2023:6744advisory covering several CVEsAlmaLinux · MIT
- ALSA-2023:7467advisory covering several CVEsAlmaLinux · MIT
- DSA-5525-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2023-0340advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2023-1756advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2023-1757advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2024:13332-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2023:6209advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:6744advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:7371advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:7408advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:7464advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:7467advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2023:4046-1advisory covering several CVEsSUSE · LicenseRef-unstated
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2023-11-03
- Last modified
- 2026-11-26
- NVD status
- Modified
- GitHub advisory
- GHSA-8m6h-6qw7-f6cg
Frequently asked questions
What is CVE-2023-3961?
Is CVE-2023-3961 actively exploited?
What is the CVSS score for CVE-2023-3961?
Running samba? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-8m6h-6qw7-f6cg
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0