Incorrect Use of Privileged APIs Affecting ghostscript-tools-dvipdf package, versions <0:9.25-2.el8_0.3


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating

    Threat Intelligence

    EPSS
    0.24% (65th 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-RHEL8-GHOSTSCRIPTTOOLSDVIPDF-3911011
  • published 26 Jul 2021
  • disclosed 28 Aug 2019

How to fix?

Upgrade RHEL:8 ghostscript-tools-dvipdf to version 0:9.25-2.el8_0.3 or higher.
This issue was patched in RHSA-2019:2591.

NVD Description

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

A flaw was found in, ghostscript versions prior to 9.50, in the .pdf_hook_DSC_Creator procedure where it did not properly secure its privileged calls, enabling scripts to bypass -dSAFER restrictions. A specially crafted PostScript file could disable security protection and then have access to the file system, or execute arbitrary commands.

CVSS Scores

version 3.1
Expand this section

NVD

7.8 high
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High