the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew  

Vulnerability Details : CVE-2007-4131

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.
Publish Date : 2007-08-24 Last Update Date : 2018-10-15
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Directory traversal
CWE ID CWE id is not defined for this vulnerability

- Additional Vendor Supplied Data

Vendor Impact CVSS Score CVSS Vector Report Date Publish Date
Redhat moderate 2007-08-12 2007-08-12
If you are a vendor and you have additional data which can be automatically imported into our database, please contact admin @

- Related OVAL Definitions

Title Definition Id Class Family
CVE-2007-4131 unix
Directory traversal vulnerability in the contains_dot_dot function in src/names.c in GNU tar allows user-assisted remote... oval:org.mitre.oval:def:10420 unix
DSA-1438-1 tar oval:org.mitre.oval:def:20059 unix
ELSA-2007:0860: tar security update (Moderate) oval:org.mitre.oval:def:22513 unix
RHSA-2007:0860: tar security update (Moderate) oval:com.redhat.rhsa:def:20070860 unix
Security Vulnerabilities in GNU tar (see gtar(1)) May Lead to Files Being Overwritten, Execution of Arbitrary Code, or a... oval:org.mitre.oval:def:7779 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2007-4131

# Product Type Vendor Product Version Update Edition Language
1 Application GNU TAR 1.13 Version Details Vulnerabilities
2 Application GNU TAR 1.13.5 Version Details Vulnerabilities
3 Application GNU TAR 1.13.11 Version Details Vulnerabilities
4 Application GNU TAR 1.13.14 Version Details Vulnerabilities
5 Application GNU TAR 1.13.16 Version Details Vulnerabilities
6 Application GNU TAR 1.13.17 Version Details Vulnerabilities
7 Application GNU TAR 1.13.18 Version Details Vulnerabilities
8 Application GNU TAR 1.13.19 Version Details Vulnerabilities
9 Application GNU TAR 1.13.25 Version Details Vulnerabilities
10 Application GNU TAR 1.14 Version Details Vulnerabilities
11 Application GNU TAR 1.14.90 Version Details Vulnerabilities
12 Application GNU TAR 1.15 Version Details Vulnerabilities
13 Application GNU TAR 1.15.1 Version Details Vulnerabilities
14 Application GNU TAR 1.15.90 Version Details Vulnerabilities
15 Application GNU TAR 1.15.91 Version Details Vulnerabilities
16 Application GNU TAR 1.16 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions

- References For CVE-2007-4131
VUPEN ADV-2007-4238
VUPEN ADV-2007-2958
CERT TA07-352A
SECTRACK 1018599
TRUSTIX 2007-0026
BID 25417 GNU Tar Dot_Dot Function Remote Directory Traversal Vulnerability Release Date:2010-03-24
BUGTRAQ 20070827 FLEA-2007-0049-1 tar
BUGTRAQ 20070825 rPSA-2007-0172-1 tar
REDHAT RHSA-2007:0860
SUSE SUSE-SR:2007:018
SUNALERT 1021680
GENTOO GLSA-200709-09

- Vulnerability Conditions

Vulnerability is valid if product versions listed below are used TOGETHER WITH(AND)

- Metasploit Modules Related To CVE-2007-4131

There are not any metasploit modules related to this CVE entry (Please visit for more information)

CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.