Every CVE Search/ Get API key

CVE-2007-4131

Directory traversal vulnerability in the contains_dot_dot function in src/names.c in GNU tar...

6.8 MediumFix available

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.

Exploit likelihood

2.74%Down 1.2 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 6.8

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.

Record
CVE-2007-4131
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2007-4131
Updated
2026-11-02
EUVDEUVD-2007-4115 No score

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.

Record
EUVD-2007-4115
Updated
2026-11-03
GitHub AdvisoriesGHSA-43w6-q9mv-9cwf No score

Directory traversal vulnerability in the contains_dot_dot function in src/names.c in GNU tar...

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.

Record
GHSA-43w6-q9mv-9cwf
Updated
2026-11-02
OSV No score

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.

Record
CVE-2007-4131
Updated
2026-11-02
OSVDEBIAN-CVE-2007-4131 No score

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.

Record
DEBIAN-CVE-2007-4131
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
tar
Debian:12
before 1.18-2
1.18-2
tar
Debian:13
before 1.18-2
1.18-2
tar
Debian:14
before 1.18-2
1.18-2
tar
Debian:4.0
before 1.16-2etch1, plus listed versions
1.16-2
1.16-2etch1
tar
Debian:3.1
before 1.14-2.4, plus listed versions
1.14-21.14-2.11.14-2.21.14-2.3
1.14-2.4
tar
Red Hat:enterprise_linux:4::as
before 0:1.14-12.5.1.RHEL4
0:1.14-12.5.1.RHEL4
tar-debuginfo
Red Hat:enterprise_linux:4::as
before 0:1.14-12.5.1.RHEL4
0:1.14-12.5.1.RHEL4
tar
Red Hat:enterprise_linux:4::desktop
before 0:1.14-12.5.1.RHEL4
0:1.14-12.5.1.RHEL4
tar-debuginfo
Red Hat:enterprise_linux:4::desktop
before 0:1.14-12.5.1.RHEL4
0:1.14-12.5.1.RHEL4
tar
Red Hat:enterprise_linux:4::es
before 0:1.14-12.5.1.RHEL4
0:1.14-12.5.1.RHEL4
Show 7 moreShow less
Affected packages
PackageAffectedFixed
tar-debuginfo
Red Hat:enterprise_linux:4::es
before 0:1.14-12.5.1.RHEL4
0:1.14-12.5.1.RHEL4
tar
Red Hat:enterprise_linux:4::ws
before 0:1.14-12.5.1.RHEL4
0:1.14-12.5.1.RHEL4
tar-debuginfo
Red Hat:enterprise_linux:4::ws
before 0:1.14-12.5.1.RHEL4
0:1.14-12.5.1.RHEL4
tar
Red Hat:enterprise_linux:5::client
before 2:1.15.1-23.0.1.el5
2:1.15.1-23.0.1.el5
tar-debuginfo
Red Hat:enterprise_linux:5::client
before 2:1.15.1-23.0.1.el5
2:1.15.1-23.0.1.el5
tar
Red Hat:enterprise_linux:5::server
before 2:1.15.1-23.0.1.el5
2:1.15.1-23.0.1.el5
tar-debuginfo
Red Hat:enterprise_linux:5::server
before 2:1.15.1-23.0.1.el5
2:1.15.1-23.0.1.el5

History

History
RecordedChangedSources
aliasesEUVD
affected, aliases, facts, references, titleGitHub Advisories, OSV
first indexedCVE List, NVD

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2007-4131 is a medium vulnerability (CVSS 6.8) in Gnu Tar, published August 25, 2007. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.74%, the 86th percentile. Fixed in tar 1.18-2.

References

Show 41 moreShow less
MoveEnter Open