CVE-2023-3961
CRITICAL 9.8CVSS 3.1Samba: smbd allows client access to unix domain sockets on the file system as root
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.
- Published
- 3 Nov 2023
- Last modified
- 26 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-22
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| CVE List | redhat | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | samba | sambacpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* |
< 4.17.12 | 4.17.12 |
| NVD | samba | sambacpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* |
>= 4.18.0, < 4.18.8 | 4.18.8 |
| NVD | samba | sambacpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* |
>= 4.19.0, < 4.19.1 | 4.19.1 |
| NVD | redhat | storagecpe:2.3:a:redhat:storage:3.0:*:*:*:*:*:*:* |
= 3.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | redhat | enterprise_linux_euscpe:2.3:o:redhat:enterprise_linux_eus:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* |
= 39 | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/a:redhat:enterprise_linux:8::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/a:redhat:rhel_eus:8.6::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/a:redhat:rhel_eus:8.8::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/a:redhat:enterprise_linux:9::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/a:redhat:rhel_eus:9.0::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/a:redhat:rhel_eus:9.2::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/a:redhat:rhel_eus:8.6::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/o:redhat:rhel_els:6 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | samba4cpe:/o:redhat:rhel_els:6 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/o:redhat:rhel_els:7 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/a:redhat:storage:3 |
References
- https://access.redhat.com/errata/RHSA-2023:6209 · Third Party Advisory, vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2023:6744 · Third Party Advisory, vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2023:7371 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2023:7408 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2023:7464 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2023:7467 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-3961 · Third Party Advisory, vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2241881 · Issue Tracking, issue-tracking, x_refsource_REDHAT
- https://bugzilla.samba.org/show_bug.cgi?id=15422 · Exploit, Issue Tracking
- https://www.samba.org/samba/security/CVE-2023-3961.html · Vendor Advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZUMVALLFFDFC53JZMUWA6HPD7HUGAP5I/ · x_transferred
- https://security.netapp.com/advisory/ntap-20231124-0002/ · x_transferred
History
- 26 Nov 2026 21:28 UTC · CVE List: first stored (published 3 Nov 2023)
- 26 Nov 2026 21:17 UTC · NVD: updated (other details)
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 3 Nov 2023)