Use After Free Affecting ghostscript-tools-printing package, versions <0:9.27-1.el8


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.6% (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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALMALINUX8-GHOSTSCRIPTTOOLSPRINTING-5640989
  • published28 May 2023
  • disclosed18 May 2021

Introduced: 18 May 2021

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

How to fix?

Upgrade AlmaLinux:8 ghostscript-tools-printing to version 0:9.27-1.el8 or higher.
This issue was patched in ALSA-2021:1852.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ghostscript-tools-printing package and not the ghostscript-tools-printing package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

A use-after-free vulnerability in xps_finish_image_path() in devices/vector/gdevxps.c of Artifex Software GhostScript v9.50 allows a remote attacker to escalate privileges via a crafted PDF file. This is fixed in v9.51.

CVSS Scores

version 3.1