CVE-2024-33869 Path traversal in n/a

Medium 5.3 Published Updated

Attackers can bypass restrictions and execute arbitrary commands via crafted PostScript documents exploiting path traversal in Ghostscript.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-33869?

CVE-2024-33869 is a medium-severity path traversal vulnerability in Artifex Ghostscript, published on 3 Jul 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

An issue was discovered in Artifex Ghostscript before 10.03.1. Path traversal and command execution can occur (via a crafted PostScript document) because of path reduction in base/gpmisc.c. For example, restrictions on use of %pipe% can be bypassed via the aa/../%pipe%command# output filename.

Weakness: CWE-22

Which versions are affected by CVE-2024-33869?

It affects 1 product.

Products include Artifex Ghostscript.

How do I fix CVE-2024-33869?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2024-33869 being exploited?

There is no known exploitation of CVE-2024-33869 in the wild and no public exploit code.

All Artifex Ghostscript vulnerabilities

Sources

Also known as ALPINE-CVE-2024-33869, BELL-CVE-2024-33869, DEBIAN-CVE-2024-33869, GHSA-v6hc-9c6c-f599, UBUNTU-CVE-2024-33869.

Is CVE-2024-33869 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free