CVE-2007-4829 Path traversal in n/a

Medium 6.8 Published Updated

A directory traversal flaw in the Archive::Tar Perl module allows attackers to overwrite arbitrary files via malicious TAR archives, requiring user interaction to extract.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2007-4829?

CVE-2007-4829 is a medium-severity path traversal vulnerability in Canonical Ubuntu Linux, published on 2 Nov 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Directory traversal vulnerability in the Archive::Tar Perl module 1.36 and earlier allows user-assisted remote attackers to overwrite arbitrary files via a TAR archive that contains a file whose name is an absolute path or has ".." sequences.

Weakness: CWE-22

Which versions are affected by CVE-2007-4829?

It affects 2 products.

Linux distribution packages (6)
perl-Archive-Tar Red Hat:enterprise_linux:4::asAll versions0:1.39.1-1.el4_8.1
perl-Archive-Tar Red Hat:enterprise_linux:4::desktopAll versions0:1.39.1-1.el4_8.1
perl-Archive-Tar Red Hat:enterprise_linux:4::esAll versions0:1.39.1-1.el4_8.1
perl-Archive-Tar Red Hat:enterprise_linux:4::wsAll versions0:1.39.1-1.el4_8.1
perl-Archive-Tar Red Hat:enterprise_linux:5::clientAll versions1:1.39.1-1.el5_5.1
perl-Archive-Tar Red Hat:enterprise_linux:5::serverAll versions1:1.39.1-1.el5_5.1

Products include Archive\ \, Canonical Ubuntu Linux.

How do I fix CVE-2007-4829?

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-2007-4829 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2007-4829, GHSA-rwhc-g7xj-h37q, RHSA-2010:0505.

Is CVE-2007-4829 in your software?

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

Check your SBOMs for free