Incorrect Type Conversion or Cast Affecting ghostscript package, versions <0:8.70-21.1.24.amzn1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
7.11% (94th 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-AMZN201803-GHOSTSCRIPT-1703431
  • published27 Sept 2021
  • disclosed14 Apr 2017

Introduced: 14 Apr 2017

CVE-2016-8602  (opens in a new tab)
CWE-704  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 ghostscript to version 0:8.70-21.1.24.amzn1 or higher.
This issue was patched in ALAS-2017-784.

NVD Description

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

The .sethalftone5 function in psi/zht2.c in Ghostscript before 9.21 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted Postscript document that calls .sethalftone5 with an empty operand stack.