CVE-2010-2055 Path traversal in n/a

High 7.2 Published Updated

Local attackers can execute arbitrary PostScript commands by placing malicious initialization files in the current working directory, affecting Ghostscript users.

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-2010-2055?

CVE-2010-2055 is a high-severity path traversal vulnerability in n/a, published on 22 Jul 2010. 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

Ghostscript 8.71 and earlier reads initialization files from the current working directory, which allows local users to execute arbitrary PostScript commands via a Trojan horse file, related to improper support for the -P- option to the gs program, as demonstrated using gs_init.ps, a different vulnerability than CVE-2010-4820.

Weakness: CWE-17

Which versions are affected by CVE-2010-2055?

It affects 3 products.

Products include Artifex Afpl Ghostscript, Artifex Ghostscript Fonts, Artifex Gpl Ghostscript.

How do I fix CVE-2010-2055?

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-2010-2055 being exploited?

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

Sources

Also known as DEBIAN-CVE-2010-2055, GHSA-pxh5-rx4p-mm6h.

Is CVE-2010-2055 in your software?

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

Check your SBOMs for free