Incorrect Use of Privileged APIs Affecting ghostscript-cups package, versions <0:9.25-2.el7_7.3


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating

    Threat Intelligence

    EPSS
    0.44% (76th 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-CENTOS7-GHOSTSCRIPTCUPS-2149213
  • published 26 Jul 2021
  • disclosed 14 Nov 2019

How to fix?

Upgrade Centos:7 ghostscript-cups to version 0:9.25-2.el7_7.3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ghostscript-cups package and not the ghostscript-cups package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

A flaw was found in all versions of ghostscript 9.x before 9.50, where the .charkeys procedure, where it did not properly secure its privileged calls, enabling scripts to bypass -dSAFER restrictions. An attacker could abuse this flaw by creating a specially crafted PostScript file that could escalate privileges within the Ghostscript and access files outside of restricted areas or execute commands.

CVSS Scores

version 3.1
Expand this section

NVD

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

SUSE

7.3 high