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


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.06% (28th 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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-LIBGSDEVEL-6253960
  • 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 libgs-devel 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 libgs-devel package and not the libgs-devel 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 Scores

version 3.1