Incorrect Type Conversion or Cast Affecting ghostscript-cups package, versions <0:9.07-31.el7_6.6
Threat Intelligence
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-2132481
- published 26 Jul 2021
- disclosed 20 Nov 2018
Introduced: 20 Nov 2018
CVE-2018-19134 Open this link in a new tabHow to fix?
Upgrade Centos:7 ghostscript-cups to version 0:9.07-31.el7_6.6 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.
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.
References
- http://www.securityfocus.com/bid/106278
- http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=693baf02152119af6e6afd30bb8ec76d14f84bbf
- https://bugs.ghostscript.com/show_bug.cgi?id=700141
- https://www.ghostscript.com/doc/9.26/News.htm
- https://access.redhat.com/security/cve/CVE-2018-19134
- https://semmle.com/news/semmle-discovers-severe-vulnerability-ghostscript-postscript-pdf
- https://lists.debian.org/debian-lts-announce/2018/12/msg00019.html
- https://access.redhat.com/errata/RHSA-2018:3834
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=693baf02152119af6e6afd30bb8ec76d14f84bbf