{"id":"CVE-2007-4131","aliases":["DEBIAN-CVE-2007-4131","DSA-1438-1","EUVD-2007-4115","GHSA-43w6-q9mv-9cwf","RHSA-2007:0860"],"status":"published","title":"Directory traversal vulnerability in the contains_dot_dot function in src/names.c in GNU tar...","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.","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02743,"percentile":0.8627,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2007-08-25T00:00:00Z","modified":"2026-10-21T17:47:42Z","fixes":[{"ecosystem":"Debian:12","package":"tar","fixed_in":["1.18-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"tar","fixed_in":["1.18-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"tar","fixed_in":["1.18-2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::as","package":"tar","fixed_in":["0:1.14-12.5.1.RHEL4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::as","package":"tar-debuginfo","fixed_in":["0:1.14-12.5.1.RHEL4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"tar","fixed_in":["0:1.14-12.5.1.RHEL4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"tar-debuginfo","fixed_in":["0:1.14-12.5.1.RHEL4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::es","package":"tar","fixed_in":["0:1.14-12.5.1.RHEL4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::es","package":"tar-debuginfo","fixed_in":["0:1.14-12.5.1.RHEL4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::ws","package":"tar","fixed_in":["0:1.14-12.5.1.RHEL4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::ws","package":"tar-debuginfo","fixed_in":["0:1.14-12.5.1.RHEL4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::client","package":"tar","fixed_in":["2:1.15.1-23.0.1.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::client","package":"tar-debuginfo","fixed_in":["2:1.15.1-23.0.1.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::server","package":"tar","fixed_in":["2:1.15.1-23.0.1.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::server","package":"tar-debuginfo","fixed_in":["2:1.15.1-23.0.1.el5"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.18-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.18-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.18-2"}]}]},{"source":"osv","ecosystem":"Debian:4.0","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.16-2etch1"}]}],"versions":["1.16-2"],"bundled":2},{"source":"osv","ecosystem":"Debian:3.1","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.14-2.4"}]}],"versions":["1.14-2","1.14-2.1","1.14-2.2","1.14-2.3"],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.14-12.5.1.RHEL4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"tar-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.14-12.5.1.RHEL4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.14-12.5.1.RHEL4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"tar-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.14-12.5.1.RHEL4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.14-12.5.1.RHEL4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"tar-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.14-12.5.1.RHEL4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.14-12.5.1.RHEL4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"tar-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.14-12.5.1.RHEL4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.15.1-23.0.1.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"tar-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.15.1-23.0.1.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.15.1-23.0.1.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"tar-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.15.1-23.0.1.el5"}]}]}],"products":[{"vendor":"gnu","product":"tar"}],"references":[{"url":"http://www.securitytracker.com/id?1018599","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-77-1021680.1-1","tags":["vendor-advisory","x_refsource_SUNALERT","x_transferred","web"]},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2007-383.htm","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://secunia.com/advisories/26673","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/26822","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.vupen.com/english/advisories/2007/4238","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA07-352A.html","tags":["third-party-advisory","x_refsource_CERT","x_transferred","US Government Resource","web"]},{"url":"http://secunia.com/advisories/26655","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/27453","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00370.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://secunia.com/advisories/28136","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/26781","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=251921","tags":["x_refsource_MISC","x_transferred","report"]},{"url":"http://www.debian.org/security/2007/dsa-1438","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/26590","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10420","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"http://secunia.com/advisories/27861","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.vupen.com/english/advisories/2007/2958","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"https://issues.rpath.com/browse/RPL-1631","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:173","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"http://security.FreeBSD.org/advisories/FreeBSD-SA-07:10.gtar.asc","tags":["vendor-advisory","x_refsource_FREEBSD","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/26984","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.securityfocus.com/archive/1/477865/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://www.trustix.org/errata/2007/0026/","tags":["vendor-advisory","x_refsource_TRUSTIX","x_transferred","web"]},{"url":"http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred","web"]},{"url":"http://www.novell.com/linux/security/advisories/2007_18_sr.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/26604","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.ubuntu.com/usn/usn-506-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/28255","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/26573","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2007-0860.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Patch","fix"]},{"url":"http://docs.info.apple.com/article.html?artnum=307179","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://secunia.com/advisories/26603","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7779","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/25417","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://security.gentoo.org/glsa/glsa-200709-09.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"http://www.securityfocus.com/archive/1/477731/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://secunia.com/advisories/26674","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-4131","tags":["advisory"]},{"url":"http://www.trustix.org/errata/2007/0026"},{"url":"https://github.com/advisories/GHSA-43w6-q9mv-9cwf"},{"url":"https://security-tracker.debian.org/tracker/CVE-2007-4131","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2007:0860","tags":["advisory"]},{"url":"http://www.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=251921","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2007/rhsa-2007_0860.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-4131","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-4131","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2007-4131","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.","status":"published","published":"2007-08-25T00:00:00Z","modified":"2024-08-07T14:46:38.94Z","updated_at":"2026-11-02T13:33:19.093583Z"}],"euvd":[{"id":"EUVD-2007-4115","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.","status":"published","published":"2007-08-25T00:00:00Z","modified":"2024-08-07T14:46:38Z","updated_at":"2026-11-03T01:16:22.95439Z"}],"ghsa":[{"id":"GHSA-43w6-q9mv-9cwf","title":"Directory traversal vulnerability in the contains_dot_dot function in src/names.c in GNU tar...","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.","status":"published","published":"2022-05-01T18:20:38Z","modified":"2025-04-09T03:46:37Z","updated_at":"2026-11-02T15:00:55.004058Z"}],"nvd":[{"id":"CVE-2007-4131","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.","status":"published","published":"2007-08-25T00:17:00Z","modified":"2026-06-16T22:43:27.477Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:01:19.102336Z"}],"osv":[{"id":"CVE-2007-4131","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.","status":"published","published":"2007-08-25T00:17:00Z","modified":"2026-04-10T03:39:00.921516Z","updated_at":"2026-11-02T15:43:57.178433Z"},{"id":"DEBIAN-CVE-2007-4131","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.","status":"published","published":"2007-08-25T00:17:00Z","modified":"2026-10-21T17:47:42.982438655Z","updated_at":"2026-11-02T15:45:23.411908Z"},{"id":"DSA-1438-1","title":"tar","status":"published","published":"2007-12-28T00:00:00Z","modified":"2026-03-09T01:01:36.196545Z","updated_at":"2026-11-02T15:46:14.285228Z"},{"id":"RHSA-2007:0860","title":"Red Hat Security Advisory: tar security update","status":"published","published":"2024-09-15T16:52:14Z","modified":"2026-06-26T10:07:13Z","updated_at":"2026-11-02T15:52:59.70892Z"}]}}
