Use After Free Affecting ghostscript-doc package, versions <0:9.25-5.amzn2.0.9


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.09% (27th 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-6253832
  • published20 Feb 2024
  • disclosed4 Feb 2024

Introduced: 4 Feb 2024

CVE-2020-36773  (opens in a new tab)
CWE-416  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 ghostscript-doc to version 0:9.25-5.amzn2.0.9 or higher.
This issue was patched in ALAS2-2024-2469.

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.

Artifex Ghostscript before 9.53.0 has an out-of-bounds write and use-after-free in devices/vector/gdevtxtw.c (for txtwrite) because a single character code in a PDF document can map to more than one Unicode code point (e.g., for a ligature).

CVSS Base Scores

version 3.1