CVE-2007-4131 json
Directory traversal vulnerability in the contains_dot_dot function in src/names.c in GNU tar allows user-assisted remote attackers to overw…
published 2007-08-25 19 y ago modified 2026-06-16 4 mo ago also EUVD-2007-4115
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.7%
- EPSS 2.7% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- tar Debian 14, Debian 13, Debian 12 1.18-2
debian advisories DEBIAN-CVE-2007-4131
- tar RHEL 4 1.14-12.5.1.RHEL4
- tar RHEL 5 2:1.15.1-23.0.1.el5
red hat advisories RHSA-2007:0860
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2007-4131 updated
tar directory traversal vulnerability
-
Red Hat Enterprise Linux (v. 5 server) tar 1.15.1-23.0.1.el5 Red Hat Enterprise Linux AS version 4 tar 1.14-12.5.1.RHEL4 Red Hat Enterprise Linux Desktop (v. 5 client) tar 1.15.1-23.0.1.el5 Red Hat Enterprise Linux Desktop version 4 tar 1.14-12.5.1.RHEL4 Red Hat Enterprise Linux ES version 4 tar 1.14-12.5.1.RHEL4 Red Hat Enterprise Linux WS version 4 tar 1.14-12.5.1.RHEL4fixed: vendor fix RHSA-2007:0860
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.74% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
References
-
redhat.com
/support/errata/RHSA-2007-0860.html
vendor-advisory, patch
-
sunsolve.sun.com
/search/document.do?assetkey=1-77-1021680.1-1
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2007-October/msg00370.html
vendor-advisory
-
debian.org
/security/2007/dsa-1438
vendor-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2007:173
vendor-advisory
-
security.freebsd.org
/advisories/FreeBSD-SA-07:10.gtar.asc
vendor-advisory
-
trustix.org
/errata/2007/0026/
vendor-advisory
-
lists.apple.com
/archives/security-announce/2007/Dec/msg00002.html
vendor-advisory
-
novell.com
/linux/security/advisories/2007_18_sr.html
vendor-advisory
-
ubuntu.com
/usn/usn-506-1
vendor-advisory
-
security.gentoo.org
/glsa/glsa-200709-09.xml
vendor-advisory
-
securitytracker.com
/id?1018599
vdb-entry
- support.avaya.com /elmodocs2/security/ASA-2007-383.htm
-
secunia.com
/advisories/26673
third-party-advisory
-
secunia.com
/advisories/26822
third-party-advisory
-
vupen.com
/english/advisories/2007/4238
vdb-entry
-
us-cert.gov
/cas/techalerts/TA07-352A.html
third-party-advisory, us-government-resource
-
secunia.com
/advisories/26655
third-party-advisory
-
secunia.com
/advisories/27453
third-party-advisory
-
secunia.com
/advisories/28136
third-party-advisory
-
secunia.com
/advisories/26781
third-party-advisory
- bugzilla.redhat.com /bugzilla/show_bug.cgi?id=251921
-
secunia.com
/advisories/26590
third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10420
vdb-entry, signature
-
secunia.com
/advisories/27861
third-party-advisory
-
vupen.com
/english/advisories/2007/2958
vdb-entry
- issues.rpath.com /browse/RPL-1631
-
secunia.com
/advisories/26984
third-party-advisory
-
securityfocus.com
/archive/1/477865/100/0/threaded
mailing-list
-
secunia.com
/advisories/26604
third-party-advisory
-
secunia.com
/advisories/28255
third-party-advisory
-
secunia.com
/advisories/26573
third-party-advisory
- docs.info.apple.com /article.html?artnum=307179
-
secunia.com
/advisories/26603
third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7779
vdb-entry, signature
-
securityfocus.com
/bid/25417
vdb-entry
-
securityfocus.com
/archive/1/477731/100/0/threaded
mailing-list
-
secunia.com
/advisories/26674
third-party-advisory
Sources
- CVE List CVE-2007-4131
- NVD CVE-2007-4131
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.