Improper Input Validation Affecting OpenPrinting/libcupsfilters package, versions [0,]


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.05% (16th 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-UNMANAGED-OPENPRINTINGLIBCUPSFILTERS-8102332
  • published 27 Sep 2024
  • disclosed 26 Sep 2024
  • credit Simone Margaritelli

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Improper Input Validation via the cfGetPrinterAttributes5 function due to improper sanitization of IPP attributes returned from an IPP server. An attacker can manipulate the data processed by this function by injecting malicious IPP attributes, which are not properly sanitized before use. This can lead to the generation of incorrect or harmful outputs within the CUPS system.

Note: This vulnerability is being investigated and the advisory is being updated as new information is discovered.

PoC

This bug is part of an exploit chain leading to RCE described here.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
9.2 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    None
  • Integrity (VI)
    High
  • Availability (VA)
    None
  • Confidentiality (SC)
    None
  • Integrity (SI)
    High
  • Availability (SA)
    None