CVE-2007-4829: Path Traversal

Published Aug 24, 2007
·
Updated

Directory traversal vulnerability in Archive::Tar perl module allows user-assisted remote attackers to overwrite arbitrary files writable by user running application using this module via an absolute path or a .. (dot dot) sequence in filenames in a TAR archive.

Similar issues were reported and fixed for GNU tar during past several years, e.g.: CVE-2001-1267, CVE-2002-0399, CVE-2002-1216 and CVE-2007-4131.

This issue is important when this module is used to extract tar archives from untrusted sources. However, some of such applications either implement workarounds / own checks (sa-update in spamassassin) or dropped module support at all (amavisd-new).

Other sources

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.

Red Hat

Affected Software

5 affected components
Archive\ \<=1.36
Canonical Ubuntu Linux=6.06
Canonical Ubuntu Linux=7.10
Canonical Ubuntu Linux=8.04
Canonical Ubuntu Linux=8.10

Event History

Aug 24, 2007
CVE Published
via Red Hat·12:00 AM
Data Sourced
via Red Hat·12:00 AM
RemedyDescriptionSeverityAffected Software
Nov 2, 2007
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2007-4829?

CVE-2007-4829 is a directory traversal vulnerability in the Archive::Tar Perl module that allows attackers to overwrite arbitrary files through specially crafted TAR archives.

2

What is the severity of CVE-2007-4829?

CVE-2007-4829 is considered a critical vulnerability due to its potential to compromise system integrity by allowing file overwriting.

3

How do I fix CVE-2007-4829?

To fix CVE-2007-4829, you should upgrade the Archive::Tar module to version 1.37 or later.

4

Which software is affected by CVE-2007-4829?

CVE-2007-4829 affects Archive::Tar Perl module versions 1.36 and earlier, as well as various versions of Ubuntu Linux that utilize this module.

5

Can CVE-2007-4829 be exploited remotely?

Yes, CVE-2007-4829 can be exploited by remote attackers but requires user assistance to process a malicious TAR archive.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203