Out-of-Bounds Affecting ghostscript-doc package, versions <0:9.06-8.amzn2.0.5


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.53% (78th 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-AMZN2-GHOSTSCRIPTDOC-1666039
  • published27 Sept 2021
  • disclosed6 Sept 2018

Introduced: 6 Sep 2018

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

How to fix?

Upgrade Amazon-Linux:2 ghostscript-doc to version 0:9.06-8.amzn2.0.5 or higher.
This issue was patched in ALAS2-2018-1088.

NVD Description

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

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. Note: A reputable source believes that the CVE is potentially a duplicate of CVE-2018-15910 as explained in Red Hat bugzilla (https://bugzilla.redhat.com/show_bug.cgi?id=1626193)