Incorrect Type Conversion or Cast Affecting ghostscript-cups package, versions <0:9.07-31.el7_6.6


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.24% (64th 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 IDSNYK-RHEL7-GHOSTSCRIPTCUPS-4859520
  • published26 Jul 2021
  • disclosed20 Nov 2018

Introduced: 20 Nov 2018

CVE-2018-19134  (opens in a new tab)
CWE-704  (opens in a new tab)

How to fix?

Upgrade RHEL:7 ghostscript-cups to version 0:9.07-31.el7_6.6 or higher.
This issue was patched in RHSA-2018:3834.

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 RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

In Artifex Ghostscript through 9.25, the setpattern operator did not properly validate certain types. A specially crafted PostScript document could exploit this to crash Ghostscript or, possibly, execute arbitrary code in the context of the Ghostscript process. This is a type confusion issue because of failure to check whether the Implementation of a pattern dictionary was a structure type.