Access Restriction Bypass Affecting ghostscript package, versions [,9.25)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.37% (73rd 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-2370686
  • published26 Jan 2022
  • disclosed10 Sept 2018
  • creditUnknown

Introduced: 10 Sep 2018

CVE-2018-16802  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade ghostscript to version 9.25 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass. An issue was discovered in Artifex Ghostscript before 9.25. Incorrect "restoration of privilege" checking when running out of stack during exception handling could be used by attackers able to supply crafted PostScript to execute code using the "pipe" instruction. This is due to an incomplete fix for CVE-2018-16509.

CVSS Scores

version 3.1