CVE-2007-4131: Medium severity redhat Enterprise Linux vulnerability

Published Aug 12, 2007
·
Updated

Directory traversal vulnerability in the containsdotdot 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.

Other sources

Directory traversal vulnerability was discovered in GNU tar. Vulnerability can be exploited by specially crafted tar archive to overwrite arbitrary file writable by user running tar. Problem occurs in containsdotdot function, which does not properly check names of directory symlinks.

Acknowledgements:

Red Hat would like to thank Dmitry V. Levin for reporting this issue.

Red Hat

Affected Software

24 affected componentsFixes available
redhat/tar<2:1.15.1-23.0.1.el5
2:1.15.1-23.0.1.el5
redhat Enterprise Linux=4.0
redhat Enterprise Linux=4.0
redhat Enterprise Linux=4.0
redhat Enterprise Linux=4.0
redhat Enterprise Linux=5.0
redhat Enterprise Linux Desktop=5.0
rPath rPath Linux=1
GNU tar=1.13
GNU tar=1.13.5
GNU tar=1.13.11
GNU tar=1.13.14
GNU tar=1.13.16
GNU tar=1.13.17
GNU tar=1.13.18
GNU tar=1.13.19
GNU tar=1.13.25
GNU tar=1.14
GNU tar=1.14.90
GNU tar=1.15
GNU tar=1.15.1
GNU tar=1.15.90
GNU tar=1.15.91
GNU tar=1.16

Event History

Aug 12, 2007
CVE Published
via Red Hat·12:00 AM
Aug 13, 2007
Data Sourced
via Red Hat·02:23 PM
DescriptionSeverityAffected Software
Aug 25, 2007
Data Sourced
12:17 AM
DescriptionWeaknessAffected Software
CVE Published
via MITRE·04:00 AM
Data Sourced
via MITRE·04:00 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

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 CVE-2007-4131?

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

2

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.

3

What software is affected by CVE-2007-4131?

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

4

Can CVE-2007-4131 be exploited remotely?

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

5

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