CWE
NVD-CWE-Other
Advisory Published
CVE Published
Updated

CVE-2007-4131

First published: Sun Aug 12 2007(Updated: )

Directory traversal vulnerability in the contains_dot_dot function in src/names.c in GNU tar allows user-assisted remote attackers to overwrite arbitrary files via certain //.. (slash slash dot dot) sequences in directory symlinks in a TAR archive.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
redhat/tar<2:1.15.1-23.0.1.el5
2:1.15.1-23.0.1.el5
Red Hat Enterprise Linux=4.0
Red Hat Enterprise Linux=4.0
Red Hat Enterprise Linux=4.0
Red Hat Enterprise Linux=4.0
Red Hat Enterprise Linux=5.0
Red Hat Enterprise Linux Desktop=5.0
Rpath Linux=1
Ubuntu tar=1.13
Ubuntu tar=1.13.5
Ubuntu tar=1.13.11
Ubuntu tar=1.13.14
Ubuntu tar=1.13.16
Ubuntu tar=1.13.17
Ubuntu tar=1.13.18
Ubuntu tar=1.13.19
Ubuntu tar=1.13.25
Ubuntu tar=1.14
Ubuntu tar=1.14.90
Ubuntu tar=1.15
Ubuntu tar=1.15.1
Ubuntu tar=1.15.90
Ubuntu tar=1.15.91
Ubuntu tar=1.16

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.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2007-4131?

    CVE-2007-4131 is categorized as a high severity vulnerability due to the potential for unrestricted file overwrite.

  • How do I fix CVE-2007-4131?

    To fix CVE-2007-4131, update to GNU tar version 2:1.15.1-23.0.1.el5 or later.

  • What software is affected by CVE-2007-4131?

    CVE-2007-4131 affects various GNU tar versions, specifically versions from 1.13 through 1.16.

  • Can CVE-2007-4131 be exploited remotely?

    Yes, CVE-2007-4131 can be exploited by remote attackers with user-assisted methods.

  • What kind of attacks can CVE-2007-4131 facilitate?

    CVE-2007-4131 can facilitate directory traversal attacks allowing attackers to overwrite arbitrary 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