Directory Traversal Affecting samba-vfs-iouring package, versions <0:4.17.5-4.el8_8


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.41% (74th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-SAMBAVFSIOURING-6083415
  • published23 Nov 2023
  • disclosed10 Oct 2023

Introduced: 10 Oct 2023

CVE-2023-3961  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade RHEL:8 samba-vfs-iouring to version 0:4.17.5-4.el8_8 or higher.
This issue was patched in RHSA-2023:7464.

NVD Description

Note: Versions mentioned in the description apply only to the upstream samba-vfs-iouring package and not the samba-vfs-iouring package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

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.

CVSS Scores

version 3.1