Directory Traversal Affecting ghostscript-cups package, versions <0:9.54.0-9.amzn2.0.10


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.07% (22nd 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-AMZN2-GHOSTSCRIPTCUPS-9727898
  • published17 Apr 2025
  • disclosed25 Mar 2025

Introduced: 25 Mar 2025

NewCVE-2025-27837  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 ghostscript-cups to version 0:9.54.0-9.amzn2.0.10 or higher.
This issue was patched in ALAS2-2025-2820.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ghostscript-cups package and not the ghostscript-cups package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

An issue was discovered in Artifex Ghostscript before 10.05.0. Access to arbitrary files can occur through a truncated path with invalid UTF-8 characters, for base/gp_mswin.c and base/winrtsup.cpp.

CVSS Base Scores

version 3.1