Unscored severity · published Aug 25, 2007
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 //
–
CVSS
2.7%
EPSS
No
On KEV
Description
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)2.7% · higher than 86% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
TA
Tar · Gnu
1.13; 1.13.5; 1.13.11; 1.13.14; 1.13.16; 1.13.17; +10 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2007-4131
CVE.org
https://www.cve.org/CVERecord?id=CVE-2007-4131
bugzilla.redhat.com
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=251921
docs.info.apple.com
http://docs.info.apple.com/article.html?artnum=307179
lists.apple.com
http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html
secunia.com
http://secunia.com/advisories/26573
secunia.com
http://secunia.com/advisories/26590
secunia.com
http://secunia.com/advisories/26603
More from Tar
7.5
CVE-2019-9923
pax_decode_header in sparse.c in GNU Tar before 1.32 had a NULL pointer dereference when parsing certain archives that have malformed extended headers
7.5
CVE-2016-6321
Directory traversal vulnerability in the safer_name_suffix function in GNU tar 1.14 through 1.29 might allow remote attackers to bypass an intended protection mechanism and write…
6.2
CVE-2023-39804
In GNU tar before 1.35, mishandled extension attributes in a PAX archive can lead to an application crash in xheader.c
5.5
CVE-2026-5704
Tar: tar: hidden file injection via crafted archives
5.5
CVE-2022-48303
GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump
