CVE-2004-0967 Path traversal in n/a
Local attackers can overwrite arbitrary files via symlink attacks on temporary files in ESP Ghostscript scripts.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2004-0967?
CVE-2004-0967 is a high-severity path traversal vulnerability in n/a, published on 20 Oct 2004. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
The (1) pj-gs.sh, (2) ps2epsi, (3) pv.sh, and (4) sysvlp.sh scripts in the ESP Ghostscript (espgs) package in Trustix Secure Linux 1.5 through 2.1, and other operating systems, allow local users to overwrite files via a symlink attack on temporary files.
Weakness: CWE-59
Which versions are affected by CVE-2004-0967?
It affects 1 product.
Linux distribution packages (16)
ghostscript Red Hat:enterprise_linux:3::as | All versions | 0:7.05-32.1.10 |
ghostscript-debuginfo Red Hat:enterprise_linux:3::as | All versions | 0:7.05-32.1.10 |
ghostscript-devel Red Hat:enterprise_linux:3::as | All versions | 0:7.05-32.1.10 |
hpijs Red Hat:enterprise_linux:3::as | All versions | 0:1.3-32.1.10 |
ghostscript Red Hat:enterprise_linux:3::desktop | All versions | 0:7.05-32.1.10 |
ghostscript-debuginfo Red Hat:enterprise_linux:3::desktop | All versions | 0:7.05-32.1.10 |
ghostscript-devel Red Hat:enterprise_linux:3::desktop | All versions | 0:7.05-32.1.10 |
hpijs Red Hat:enterprise_linux:3::desktop | All versions | 0:1.3-32.1.10 |
ghostscript Red Hat:enterprise_linux:3::es | All versions | 0:7.05-32.1.10 |
ghostscript-debuginfo Red Hat:enterprise_linux:3::es | All versions | 0:7.05-32.1.10 |
ghostscript-devel Red Hat:enterprise_linux:3::es | All versions | 0:7.05-32.1.10 |
hpijs Red Hat:enterprise_linux:3::es | All versions | 0:1.3-32.1.10 |
ghostscript Red Hat:enterprise_linux:3::ws | All versions | 0:7.05-32.1.10 |
ghostscript-debuginfo Red Hat:enterprise_linux:3::ws | All versions | 0:7.05-32.1.10 |
ghostscript-devel Red Hat:enterprise_linux:3::ws | All versions | 0:7.05-32.1.10 |
hpijs Red Hat:enterprise_linux:3::ws | All versions | 0:1.3-32.1.10 |
Products include Aladdin Enterprises Ghostscript.
How do I fix CVE-2004-0967?
Apply the vendor's patch.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2004-0967 being exploited?
There is no known exploitation of CVE-2004-0967 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-jp9f-f85w-rv5v, RHSA-2005:081.