CVE-2002-0399 Path traversal in n/a

Medium 5.0 Published Updated

Attackers can overwrite arbitrary files during archive extraction via directory traversal strings, requiring user interaction to extract the malicious archive.

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-2002-0399?

CVE-2002-0399 is a medium-severity path traversal vulnerability in n/a, published on 1 Oct 2002. 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

Directory traversal vulnerability in GNU tar 1.13.19 through 1.13.25, and possibly later versions, allows attackers to overwrite arbitrary files during archive extraction via a (1) "/.." or (2) "./.." string, which removes the leading slash but leaves the "..", a variant of CVE-2001-1267.

Which versions are affected by CVE-2002-0399?

It affects 1 product.

Products include Gnu Tar.

How do I fix CVE-2002-0399?

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-2002-0399 being exploited?

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

Sources

Also known as GHSA-c6fq-h555-8326.

Is CVE-2002-0399 in your software?

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

Check your SBOMs for free