CVE-2023-3961

Source
https://cve.org/CVERecord?id=CVE-2023-3961
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-3961.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-3961
Downstream
Related
Published
2023-11-03T13:15:08.723Z
Modified
2026-02-07T04:25:16.145670Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/samba-team/samba

Affected versions

ldb-2.*
ldb-2.7.2
samba-4.*
samba-4.18.0
samba-4.18.1
samba-4.18.2
samba-4.18.3
samba-4.18.4
samba-4.18.5
samba-4.18.6
samba-4.18.7
samba-4.19.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-3961.json"