CVE-2024-33870 Affecting ghostscript package, versions <9.50~dfsg-5ubuntu4.12


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.04% (13th 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-UBUNTU2004-GHOSTSCRIPT-6836529
  • published18 Jun 2024
  • disclosed3 Jul 2024

Introduced: 18 Jun 2024

CVE-2024-33870  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 ghostscript to version 9.50~dfsg-5ubuntu4.12 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:20.04 relevant fixed versions and status.

An issue was discovered in Artifex Ghostscript before 10.03.1. There is path traversal (via a crafted PostScript document) to arbitrary files if the current directory is in the permitted paths. For example, there can be a transformation of ../../foo to ./../../foo and this will grant access if ./ is permitted.

CVSS Scores

version 3.1