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


Severity

Recommended
medium

Based on CentOS 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-CENTOS9-GHOSTSCRIPTTOOLSDVIPDF-8799836
  • published28 Feb 2025
  • disclosed10 Nov 2024

Introduced: 10 Nov 2024

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

How to fix?

Upgrade Centos:9 ghostscript-tools-dvipdf to version 0:9.54.0-18.el9_6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ghostscript-tools-dvipdf package and not the ghostscript-tools-dvipdf package as distributed by Centos. See How to fix? for Centos: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