lib/npm.js in Node Packaged Modules (npm) before 1.3.3 allows local users to overwrite arbitrary files via a symlink attack on temporary files with predictable names that are created when unpacking archives.
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Link | Tags |
---|---|
http://www.securityfocus.com/bid/61083 | vdb entry third party advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=983917 | issue tracking third party advisory |
http://www.openwall.com/lists/oss-security/2013/07/11/9 | third party advisory mailing list |
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=715325 | issue tracking third party advisory |
https://github.com/npm/npm/issues/3635 | third party advisory |
https://github.com/npm/npm/commit/f4d31693 | third party advisory patch |
http://www.openwall.com/lists/oss-security/2013/07/10/17 | third party advisory mailing list |
https://exchange.xforce.ibmcloud.com/vulnerabilities/87141 | vdb entry third party advisory |