Access of Resource Using Incompatible Type ('Type Confusion') Affecting samba-krb5-printing package, versions <0:4.18.6-1.el8


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating

    Threat Intelligence

    EPSS
    7.14% (95th 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-5794110
  • published 20 Jul 2023
  • disclosed 19 Jul 2023

How to fix?

Upgrade Centos:8 samba-krb5-printing to version 0:4.18.6-1.el8 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 Type Confusion vulnerability was found in Samba's mdssvc RPC service for Spotlight. When parsing Spotlight mdssvc RPC packets, one encoded data structure is a key-value style dictionary where the keys are character strings, and the values can be any of the supported types in the mdssvc protocol. Due to a lack of type checking in callers of the dalloc_value_for_key() function, which returns the object associated with a key, a caller may trigger a crash in talloc_get_size() when talloc detects that the passed-in pointer is not a valid talloc pointer. With an RPC worker process shared among multiple client connections, a malicious client or attacker can trigger a process crash in a shared RPC mdssvc worker process, affecting all other clients this worker serves.

CVSS Scores

version 3.1
Expand this section

NVD

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

Red Hat

5.3 medium
Expand this section

SUSE

5.3 medium