Directory Traversal Affecting libgs package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux 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 Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-LIBGS-7370205
  • published25 Jun 2024
  • disclosed16 May 2024

Introduced: 16 May 2024

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

How to fix?

There is no fixed version for RHEL:7 libgs.

NVD Description

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