Directory Traversal Affecting ghostscript-doc package, versions <0:9.54.0-9.amzn2.0.6


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.45% (36th 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 IDSNYK-AMZN2-GHOSTSCRIPTDOC-7681736
  • published14 Aug 2024
  • disclosed3 Jul 2024

Introduced: 3 Jul 2024

CVE-2024-33869  (opens in a new tab)
CWE-23  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 ghostscript-doc to version 0:9.54.0-9.amzn2.0.6 or higher.
This issue was patched in ALAS2-2024-2612.

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

An issue was discovered in Artifex Ghostscript before 10.03.1. Path traversal and command execution can occur (via a crafted PostScript document) because of path reduction in base/gpmisc.c. For example, restrictions on use of %pipe% can be bypassed via the aa/../%pipe%command# output filename.

CVSS Base Scores

version 3.1