CVE-2005-0159 Path traversal in n/a

Medium 4.6 Published Updated

Local attackers can overwrite arbitrary files via symlink attacks in Debian toolchain scripts, requiring a patch to mitigate.

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-2005-0159?

CVE-2005-0159 is a medium-severity path traversal vulnerability in Debian Debian Linux, published on 15 Feb 2005. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The tpkg-* scripts in the toolchain-source 3.0.4 package on Debian GNU/Linux 3.0 allow local users to overwrite arbitrary files via a symlink attack on temporary files.

Which versions are affected by CVE-2005-0159?

It affects 2 products.

Products include Debian Debian Linux, Debian Toolchain-Source.

How do I fix CVE-2005-0159?

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-2005-0159 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DSA-679-1, GHSA-pf5q-jr59-354r.

Is CVE-2005-0159 in your software?

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

Check your SBOMs for free