CVE-2004-0996 Path traversal in n/a

Low 2.1 Published Updated

Local attackers can overwrite arbitrary files via symlink attacks due to predictable temporary filenames in cscope.

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-0996?

CVE-2004-0996 is a low-severity path traversal vulnerability in Debian Debian Linux, published on 1 Dec 2004. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

main.c in cscope 15-4 and 15-5 creates temporary files with predictable filenames, which allows local users to overwrite arbitrary files via a symlink attack.

Which versions are affected by CVE-2004-0996?

It affects 4 products.

Products include Cscope Cscope, Debian Debian Linux, Gentoo Linux, Sco Unixware.

How do I fix CVE-2004-0996?

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-0996 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-0996 exists.

Public exploit code: 2 Exploit-DB entries.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2004-0996, DSA-610-1, GHSA-g9x5-fv34-9wx2.

Is CVE-2004-0996 in your software?

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

Check your SBOMs for free