CVE-2006-0931 PEAR::Archive_Tar Directory Traversal vulnerability

Medium 5.0 Published Updated

Remote attackers can overwrite arbitrary files via crafted TAR archives, potentially leading to code execution in applications using the vulnerable library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2006-0931?

CVE-2006-0931 is a medium-severity path traversal vulnerability in n/a, published on 28 Feb 2006. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Directory traversal vulnerability in PEAR::Archive_Tar 1.2, and other versions before 1.3.2, allows remote attackers to create and overwrite arbitrary files via certain crafted pathnames in a TAR archive.

Weakness: CWE-22

Which versions are affected by CVE-2006-0931?

2 open source packages ship an affected version, including pear/archive_tar. It affects 1 product.

PackageAffectedFixed in
pear/archive_tar PackagistFrom 1.21.3.2
pear/archive_tar PackagistFrom 1.21.3.2

Products include Pear Pear Archive Tar.

How do I fix CVE-2006-0931?

Upgrade pear/archive_tar to 1.3.2 or later.

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

Is CVE-2006-0931 being exploited?

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

Sources

Also known as GHSA-f3xw-vgc7-f7h8.

Is CVE-2006-0931 in your software?

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

Check your SBOMs for free