2.6
CWE
22
Advisory Published
CVE Published
Updated

CVE-2005-1918: Path Traversal

First published: Sat Dec 31 2005(Updated: )

The original patch for a GNU tar directory traversal vulnerability (CVE-2002-0399) in Red Hat Enterprise Linux 3 and 2.1 uses an "incorrect optimization" that allows user-assisted attackers to overwrite arbitrary files via a crafted tar file, probably involving "/../" sequences with a leading "/".

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Ubuntu tar=1.13.25
Red Hat Enterprise Linux=2.1
Red Hat Enterprise Linux Desktop=3.0
Red Hat Linux Advanced Workstation=2.1
Red Hat Enterprise Linux=3.0
Red Hat Enterprise Linux=2.1
Red Hat Linux Advanced Workstation=2.1
Red Hat Enterprise Linux=2.1
Red Hat Enterprise Linux=3.0
Red Hat Enterprise Linux=2.1
Red Hat Enterprise Linux=3.0
Red Hat Enterprise Linux=2.1
Red Hat Enterprise Linux=2.1

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 CVE-2005-1918?

    CVE-2005-1918 has a high severity rating due to its potential for file overwrite vulnerabilities.

  • How do I fix CVE-2005-1918?

    To fix CVE-2005-1918, users should update to a patched version of GNU tar or Red Hat Enterprise Linux that addresses this vulnerability.

  • What systems are affected by CVE-2005-1918?

    CVE-2005-1918 affects specific versions of GNU tar and Red Hat Enterprise Linux 2.1 and 3.0.

  • What is the exploitation method for CVE-2005-1918?

    CVE-2005-1918 can be exploited using crafted tar files that contain directory traversal sequences, such as '/../'.

  • Is there a workaround for CVE-2005-1918?

    A temporary workaround for CVE-2005-1918 is to avoid using GNU tar in untrusted environments until a patch can be applied.

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