CVE-2023-3961

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:storage:3.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_eus:9.0:*:*:*:*:*:*:*

Configuration 3 (hide)

cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*

History

16 Sep 2024, 15:15

Type Values Removed Values Added
References
  • {'url': 'https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZUMVALLFFDFC53JZMUWA6HPD7HUGAP5I/', 'name': 'https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZUMVALLFFDFC53JZMUWA6HPD7HUGAP5I/', 'tags': ['Mailing List'], 'refsource': 'MISC'}
  • {'url': 'https://security.netapp.com/advisory/ntap-20231124-0002/', 'name': 'https://security.netapp.com/advisory/ntap-20231124-0002/', 'tags': [], 'refsource': ''}

24 Nov 2023, 09:15

Type Values Removed Values Added
References
  • () https://security.netapp.com/advisory/ntap-20231124-0002/ -

22 Nov 2023, 23:15

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2023:7467 -
  • () https://access.redhat.com/errata/RHSA-2023:7464 -

21 Nov 2023, 18:15

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2023:7371 -
  • () https://access.redhat.com/errata/RHSA-2023:7408 -

13 Nov 2023, 18:48

Type Values Removed Values Added
CPE cpe:2.3:a:redhat:storage:3.0:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_eus:9.0:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
First Time Redhat
Fedoraproject
Fedoraproject fedora
Redhat storage
Samba
Redhat enterprise Linux Eus
Samba samba
Redhat enterprise Linux
CWE CWE-22
References (MISC) https://bugzilla.samba.org/show_bug.cgi?id=15422 - (MISC) https://bugzilla.samba.org/show_bug.cgi?id=15422 - Exploit, Issue Tracking
References (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=2241881 - (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=2241881 - Issue Tracking
References (MISC) https://access.redhat.com/security/cve/CVE-2023-3961 - (MISC) https://access.redhat.com/security/cve/CVE-2023-3961 - Third Party Advisory
References (MISC) https://access.redhat.com/errata/RHSA-2023:6209 - (MISC) https://access.redhat.com/errata/RHSA-2023:6209 - Third Party Advisory
References (MISC) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZUMVALLFFDFC53JZMUWA6HPD7HUGAP5I/ - (MISC) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZUMVALLFFDFC53JZMUWA6HPD7HUGAP5I/ - Mailing List
References (MISC) https://www.samba.org/samba/security/CVE-2023-3961.html - (MISC) https://www.samba.org/samba/security/CVE-2023-3961.html - Vendor Advisory
References () https://access.redhat.com/errata/RHSA-2023:6744 - () https://access.redhat.com/errata/RHSA-2023:6744 - Third Party Advisory

07 Nov 2023, 14:15

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2023:6744 -

03 Nov 2023, 22:15

Type Values Removed Values Added
References
  • (MISC) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZUMVALLFFDFC53JZMUWA6HPD7HUGAP5I/ -

03 Nov 2023, 13:22

Type Values Removed Values Added
New CVE

Information

Published : 2023-11-03 13:15

Updated : 2024-09-16 15:15


NVD link : CVE-2023-3961

Mitre link : CVE-2023-3961


JSON object : View

Products Affected

redhat

  • enterprise_linux
  • storage
  • enterprise_linux_eus

fedoraproject

  • fedora

samba

  • samba
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')