Directory Traversal Affecting samba-krb5-printing package, versions <0:4.18.6-2.el8_9


Severity

Recommended
medium

Based on CentOS security rating

    Threat Intelligence

    EPSS
    0.24% (63rd 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 ID SNYK-CENTOS8-SAMBAKRB5PRINTING-5959309
  • published 11 Oct 2023
  • disclosed 10 Oct 2023

How to fix?

Upgrade Centos:8 samba-krb5-printing to version 0:4.18.6-2.el8_9 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream samba-krb5-printing package and not the samba-krb5-printing package as distributed by Centos. See How to fix? for Centos: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
Expand this section

NVD

9.8 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

Red Hat

9.1 critical
Expand this section

SUSE

6.8 medium