{"id":"CVE-2015-8860","aliases":["CLSA-2026-1773620217","CLSA-2026-1774484514","DEBIAN-CVE-2015-8860","EUVD-2017-0237","GHSA-gfjr-3jmm-4g9v","UBUNTU-CVE-2015-8860","USN-4777-1"],"status":"published","title":"Symlink Arbitrary File Overwrite in tar","description":"The tar package before 2.0.0 for Node.js allows remote attackers to write to arbitrary files via a symlink attack in an archive.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.04001,"percentile":0.90604,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-59"],"published":"2017-01-23T21:00:00Z","modified":"2026-10-23T19:28:13Z","fixes":[{"ecosystem":"npm","package":"tar","fixed_in":["2.0.0"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"node-tar","fixed_in":["2.2.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"node-tar","fixed_in":["2.2.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"node-tar","fixed_in":["2.2.1-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"node-tar","fixed_in":["0.1.18-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"node-tar","fixed_in":["1.0.3-2ubuntu0.1~esm1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.3-tuxcare.0"},{"fixed":"1.0.3-tuxcare.1"}]}],"versions":["1.0.3"],"bundled":4},{"source":"osv","ecosystem":"TuxCare:npm","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.1.1-tuxcare.0"},{"fixed":"2.1.1-tuxcare.1"}]}],"versions":["2.1.1"],"bundled":5},{"source":"osv","ecosystem":"Debian:12","package":"node-tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"node-tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"node-tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.1-1"}]}]},{"source":"osv","ecosystem":"npm","package":"tar","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.0"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"node-tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.18-1ubuntu0.1~esm1"}]}],"versions":["0.1.18-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"node-tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.3-2ubuntu0.1~esm1"}]}],"versions":["1.0.3-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"node-tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.18-1ubuntu0.1~esm1"}]}],"versions":["0.1.18-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"node-tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.3-2ubuntu0.1~esm1"}]}],"versions":["1.0.3-2"]}],"products":[{"vendor":"nodejs","product":"node.js"}],"references":[{"url":"https://nodesecurity.io/advisories/57","tags":["x_refsource_CONFIRM","x_transferred","Mitigation","Vendor Advisory","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2016/04/20/11","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","article","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-8860","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-gfjr-3jmm-4g9v","tags":["advisory"]},{"url":"https://github.com/npm/npm/releases/tag/v2.7.5","tags":["web"]},{"url":"https://www.npmjs.com/advisories/57","tags":["web"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2015-8860","tags":["advisory"]},{"url":"https://github.com/npm/npm","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2015-8860","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-8860","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4777-1","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2015-8860","description":"The tar package before 2.0.0 for Node.js allows remote attackers to write to arbitrary files via a symlink attack in an archive.","status":"published","published":"2017-01-23T21:00:00Z","modified":"2024-08-06T08:29:22.07Z","updated_at":"2026-11-02T14:35:40.900357Z"}],"euvd":[{"id":"EUVD-2017-0237","description":"The tar package before 2.0.0 for Node.js allows remote attackers to write to arbitrary files via a symlink attack in an archive.","status":"published","published":"2017-01-23T21:00:00Z","modified":"2024-08-06T08:29:22Z","updated_at":"2026-11-03T01:57:25.869767Z"}],"ghsa":[{"id":"GHSA-gfjr-3jmm-4g9v","title":"Symlink Arbitrary File Overwrite in tar","description":"Versions of `tar` prior to 2.0.0 are affected by an arbitrary file write vulnerability. The vulnerability occurs because `tar` does not verify that extracted symbolic links to not resolve to targets outside of the extraction root directory.\n\n\n\n## Recommendation\n\nUpdate to version 2.0.0 or later","status":"published","published":"2017-10-24T18:33:36Z","modified":"2023-01-09T05:02:54Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T14:36:04.396827Z"}],"nvd":[{"id":"CVE-2015-8860","description":"The tar package before 2.0.0 for Node.js allows remote attackers to write to arbitrary files via a symlink attack in an archive.","status":"published","published":"2017-01-23T21:59:00.69Z","modified":"2026-06-17T00:35:23.07Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T14:03:16.97467Z"}],"osv":[{"id":"CVE-2015-8860","description":"The tar package before 2.0.0 for Node.js allows remote attackers to write to arbitrary files via a symlink attack in an archive.","status":"published","published":"2017-01-23T21:59:00Z","modified":"2026-04-10T03:45:35.744577Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:01.068991Z"},{"id":"DEBIAN-CVE-2015-8860","description":"The tar package before 2.0.0 for Node.js allows remote attackers to write to arbitrary files via a symlink attack in an archive.","status":"published","published":"2017-01-23T21:59:00.69Z","modified":"2026-09-09T07:01:47.082032787Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:45:27.04239Z"},{"id":"GHSA-gfjr-3jmm-4g9v","title":"Symlink Arbitrary File Overwrite in tar","description":"Versions of `tar` prior to 2.0.0 are affected by an arbitrary file write vulnerability. The vulnerability occurs because `tar` does not verify that extracted symbolic links to not resolve to targets outside of the extraction root directory.\n\n\n\n## Recommendation\n\nUpdate to version 2.0.0 or later","status":"published","published":"2017-10-24T18:33:36Z","modified":"2023-11-08T03:58:03.745416Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T15:46:47.822182Z"},{"id":"UBUNTU-CVE-2015-8860","description":"The tar package before 2.0.0 for Node.js allows remote attackers to write to arbitrary files via a symlink attack in an archive.","status":"published","published":"2017-01-23T21:59:00Z","modified":"2026-02-04T03:00:38.689277Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:54:11.100633Z"},{"id":"CLSA-2026-1773620217","title":"TuxCare security update for tar (4 CVEs)","description":"TuxCare rebuilt tar to address 4 CVEs. Fixed in 1.0.3-tuxcare.1.","status":"published","published":"2026-08-04T14:52:12Z","modified":"2026-10-23T19:28:13.603540691Z","updated_at":"2026-11-02T15:43:43.621843Z"},{"id":"CLSA-2026-1774484514","title":"TuxCare security update for tar (5 CVEs)","description":"TuxCare rebuilt tar to address 5 CVEs. Fixed in 2.1.1-tuxcare.1.","status":"published","published":"2026-08-04T14:52:15Z","modified":"2026-10-15T09:47:04.625520498Z","updated_at":"2026-11-02T15:43:43.621843Z"},{"id":"USN-4777-1","title":"node-tar vulnerability","description":"It was discovered that node-tar mishandled certain tar archives. An\nattacker could use this vulnerability to write arbitrary files to the\nfilesystem.","status":"published","published":"2021-03-15T20:52:28Z","modified":"2026-06-29T13:48:16.217808366Z","updated_at":"2026-11-02T16:58:15.159055Z"}]}}
