Vulnerability CVE-2023-3961: Information
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.
Severity: CRITICAL (9.8) Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Fixed packages
Package name | Branch | Fixed in version | Version from repository | Errata ID | Task # | State |
---|---|---|---|---|---|---|
samba | sisyphus | 4.17.12-alt1 | 4.20.1-alt2 | ALT-PU-2023-6448-1 | 332020 | Fixed |
samba | sisyphus_e2k | 4.17.12-alt1 | 4.20.1-alt1 | ALT-PU-2023-6495-1 | - | Fixed |
samba | sisyphus_riscv64 | 4.17.12-alt1 | 4.20.1-alt2 | ALT-PU-2023-6523-1 | - | Fixed |
samba | p10 | 4.17.12-alt3 | 4.19.6-alt2 | ALT-PU-2023-7794-2 | 332201 | Fixed |
samba | p10_e2k | 4.17.12-alt3 | 4.19.6-alt2 | ALT-PU-2023-7914-1 | - | Fixed |
samba | c9f2 | 4.16.11-alt0.c9.2 | 4.14.14-alt0.c9.1 | ALT-PU-2024-8331-1 | 336563 | In work |
samba | p11 | 4.17.12-alt1 | 4.20.1-alt1 | ALT-PU-2023-6448-1 | 332020 | Fixed |
References to Advisories, Solutions, and Tools
Hyperlink | Resource |
---|---|
https://bugzilla.samba.org/show_bug.cgi?id=15422 |
|
https://access.redhat.com/security/cve/CVE-2023-3961 |
|
https://access.redhat.com/errata/RHSA-2023:6209 |
|
https://bugzilla.redhat.com/show_bug.cgi?id=2241881 |
|
https://www.samba.org/samba/security/CVE-2023-3961.html |
|
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZUMVALLFFDFC53JZMUWA6HPD7HUGAP5I/ |
|
RHSA-2023:6744 |
|
RHSA-2023:7371 | |
RHSA-2023:7408 | |
RHSA-2023:7464 | |
RHSA-2023:7467 | |
https://security.netapp.com/advisory/ntap-20231124-0002/ |