Integer Overflow or Wraparound Affecting ghostscript-debuginfo package, versions <0:9.56.1-7.amzn2023.0.11


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.05% (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 IDSNYK-AMZN2023-GHOSTSCRIPTDEBUGINFO-8495052
  • published11 Dec 2024
  • disclosed10 Nov 2024

Introduced: 10 Nov 2024

CVE-2024-46953  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 ghostscript-debuginfo to version 0:9.56.1-7.amzn2023.0.11 or higher.
This issue was patched in ALAS2023-2024-774.

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:2023 relevant fixed versions and status.

An issue was discovered in base/gsdevice.c in Artifex Ghostscript before 10.04.0. An integer overflow when parsing the filename format string (for the output filename) results in path truncation, and possible path traversal and code execution.

CVSS Scores

version 3.1