Advisory Published
Updated

REDHAT-BUG-295021

First published: Tue 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.: <a href="https://access.redhat.com/security/cve/CVE-2001-1267">CVE-2001-1267</a>, <a href="https://access.redhat.com/security/cve/CVE-2002-0399">CVE-2002-0399</a>, <a href="https://access.redhat.com/security/cve/CVE-2002-1216">CVE-2002-1216</a> and <a href="https://access.redhat.com/security/cve/CVE-2007-4131">CVE-2007-4131</a>. 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 SoftwareAffected VersionHow to fix
PEAR Archive_Tar

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

  • Who is affected by REDHAT-BUG-295021?

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

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203