Directory Traversal Affecting ghostscript-debuginfo package, versions <0:9.54.0-9.amzn2.0.5


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.05% (18th 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-GHOSTSCRIPTDEBUGINFO-7681967
  • published14 Aug 2024
  • disclosed3 Jul 2024

Introduced: 3 Jul 2024

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

How to fix?

Upgrade Amazon-Linux:2 ghostscript-debuginfo to version 0:9.54.0-9.amzn2.0.5 or higher.
This issue was patched in ALAS2-2024-2614.

NVD Description

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

Artifex Ghostscript before 10.03.1, when Tesseract is used for OCR, has a directory traversal issue that allows arbitrary file reading (and writing of error messages to arbitrary files) via OCRLanguage. For example, exploitation can use debug_file /tmp/out and user_patterns_file /etc/passwd.

CVSS Scores

version 3.1