Incorrect Type Conversion or Cast Affecting ghostscript package, versions [,9.21)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
10.73% (96th 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-UNMANAGED-GHOSTSCRIPT-2370655
  • published26 Jan 2022
  • disclosed23 May 2017
  • creditUnknown

Introduced: 23 May 2017

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

How to fix?

Upgrade ghostscript to version 9.21 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Type Conversion or Cast. Ghostscript before 9.21 might allow remote attackers to bypass the SAFER mode protection mechanism and consequently execute arbitrary code by leveraging type confusion in .initialize_dsc_parser.

References

CVSS Scores

version 3.1