REDHAT-BUG-295021: Medium severity pear archive_tar vulnerability

Published Sep 18, 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).

Affected Software

1 affected component
Perl Archive::Tar

Event History

Sep 18, 2007
Data Sourced
via Red Hat·04:18 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-295021?

The severity of REDHAT-BUG-295021 is considered high due to the potential for remote attackers to overwrite arbitrary files.

2

How do I fix REDHAT-BUG-295021?

To fix REDHAT-BUG-295021, update the Archive::Tar module to the latest version that addresses this vulnerability.

3

Who is affected by REDHAT-BUG-295021?

Users running applications that utilize the Archive::Tar module in Perl are affected by REDHAT-BUG-295021.

4

What exploit methods are used in REDHAT-BUG-295021?

Attackers can exploit REDHAT-BUG-295021 by using absolute paths or dot dot sequences in filenames within a TAR archive.

5

Are there any workarounds for REDHAT-BUG-295021?

A possible workaround for REDHAT-BUG-295021 is to restrict the file permissions to prevent the application from overwriting critical files.

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
REDHAT-BUG-295021 - Medium severity pear archive_tar vulnerability - SecAlerts