Integer Overflow or Wraparound Affecting ghostscript package, versions <10.03.1~dfsg1-0ubuntu2.1


Severity

Recommended
medium

Based on Ubuntu 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-UBUNTU2410-GHOSTSCRIPT-8310403
  • published13 Nov 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 Ubuntu:24.10 ghostscript to version 10.03.1~dfsg1-0ubuntu2.1 or higher.

NVD Description

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