Skip to content
Fencer Vulns
medium 6.8

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.RHEL4
    fixed: 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

Sources

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.