Directory Traversal Affecting ghostscript-doc package, versions <0:9.54.0-18.el9_6


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.05% (17th 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 Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALMALINUX9-GHOSTSCRIPTDOC-10245891
  • published26 May 2025
  • disclosed13 May 2025

Introduced: 13 May 2025

CVE-2024-46954  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:9 ghostscript-doc to version 0:9.54.0-18.el9_6 or higher.
This issue was patched in ALSA-2025:7422.

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 AlmaLinux. See How to fix? for AlmaLinux:9 relevant fixed versions and status.

An issue was discovered in decode_utf8 in base/gp_utf8.c in Artifex Ghostscript before 10.04.0. Overlong UTF-8 encoding leads to possible ../ directory traversal.

CVSS Base Scores

version 3.1