CVE-2002-0759 Path traversal in n/a

Medium 5.0 Published Updated

Attackers can overwrite arbitrary files by tricking users into decompressing a malicious bzip2 archive that lacks exclusive file creation flags.

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
None listed

What is CVE-2002-0759?

CVE-2002-0759 is a medium-severity path traversal vulnerability in n/a, published on 2 Apr 2003. 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

bzip2 before 1.0.2 in FreeBSD 4.5 and earlier, OpenLinux 3.1 and 3.1.1, and possibly other operating systems, does not use the O_EXCL flag to create files during decompression and does not warn the user if an existing file would be overwritten, which could allow attackers to overwrite files via a bzip2 archive.

Which versions are affected by CVE-2002-0759?

It affects 1 product.

Products include Bzip Bzip2.

How do I fix CVE-2002-0759?

No fix has been published for CVE-2002-0759 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2002-0759 being exploited?

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

Sources

Also known as GHSA-g25w-q4r5-m36r.

Is CVE-2002-0759 in your software?

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

Check your SBOMs for free