Out-of-Bounds Affecting ghostscript package, versions [,9.24)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.64% (80th 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-2370697
  • published26 Jan 2022
  • disclosed6 Sept 2018
  • creditUnknown

Introduced: 6 Sep 2018

CVE-2018-16585  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade ghostscript to version 9.24 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. An issue was discovered in Artifex Ghostscript before 9.24. The .setdistillerkeys PostScript command is accepted even though it is not intended for use during document processing (e.g., after the startup phase). This leads to memory corruption, allowing remote attackers able to supply crafted PostScript to crash the interpreter or possibly have unspecified other impact.

CVSS Scores

version 3.1