Security mailing lists by PureSourceCode

CVE-2023-3961

CRITICAL 9.8CVSS 3.1

Samba: 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD samba samba
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
< 4.17.12 4.17.12
NVD samba samba
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
>= 4.18.0, < 4.18.8 4.18.8
NVD samba samba
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
>= 4.19.0, < 4.19.1 4.19.1
NVD redhat storage
cpe:2.3:a:redhat:storage:3.0:*:*:*:*:*:*:*
= 3.0
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD redhat enterprise_linux_eus
cpe:2.3:o:redhat:enterprise_linux_eus:9.0:*:*:*:*:*:*:*
= 9.0
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
= 39
CVE List https://access.redhat.com/downloads/content/package-browser/ samba
cpe:/a:redhat:enterprise_linux:8::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ samba
cpe:/a:redhat:rhel_eus:8.6::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ samba
cpe:/a:redhat:rhel_eus:8.8::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ samba
cpe:/a:redhat:enterprise_linux:9::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ samba
cpe:/a:redhat:rhel_eus:9.0::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ samba
cpe:/a:redhat:rhel_eus:9.2::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ samba
cpe:/a:redhat:rhel_eus:8.6::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ samba
cpe:/o:redhat:rhel_els:6
CVE List https://access.redhat.com/downloads/content/package-browser/ samba4
cpe:/o:redhat:rhel_els:6
CVE List https://access.redhat.com/downloads/content/package-browser/ samba
cpe:/o:redhat:rhel_els:7
CVE List https://access.redhat.com/downloads/content/package-browser/ samba
cpe:/a:redhat:storage:3

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.