Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1209501 - (CVE-2015-8860) CVE-2015-8860 nodejs-tar: insecure processing of symbolic links during package processing
CVE-2015-8860 nodejs-tar: insecure processing of symbolic links during packag...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20150327,repor...
: Security
Depends On: 1209504 1209503
Blocks: 1209502
  Show dependency treegraph
 
Reported: 2015-04-07 09:49 EDT by Vasyl Kaigorodov
Modified: 2016-04-21 08:00 EDT (History)
6 users (show)

See Also:
Fixed In Version: npm 2.7.5, tar@nodejs 2.0.0
Doc Type: Bug Fix
Doc Text:
A flaw was found in the way nodejs-tar, a Node.js module for reading and writing of tar archives, handled symbolic links when processing NPM packages. An attacker could potentially use this flaw to rewrite arbitrary files on the system.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Vasyl Kaigorodov 2015-04-07 09:49:22 EDT
A flaw was found in the way nodejs-tar, a Node.js module for reading and writing of tar archives, handled symbolic links when processing npm packages. An attacker could potentially use this flaw to rewrite arbitrary files on the system.

The fix normalizes symbolic links that point to targets outside the extraction root. This prevents packages containing symbolic links from overwriting targets outside the expected paths for a package.

Upstream announcement: https://github.com/npm/npm/releases/tag/v2.7.5
Upstream fix: https://github.com/npm/npm/commit/300834e91a4e2a95fb7fb59c309e7c3fc91d2312
Comment 1 Vasyl Kaigorodov 2015-04-07 09:51:37 EDT
Created nodejs-tar tracking bugs for this issue:

Affects: fedora-all [bug 1209503]
Affects: epel-all [bug 1209504]
Comment 4 Andrej Nemec 2016-04-21 08:00:18 EDT
CVE assignment:

http://seclists.org/oss-sec/2016/q2/122

External references:

https://nodesecurity.io/advisories/57

Note You need to log in before you can comment on or make changes to this bug.