The decompress package before 4.2.1 for Node.js is vulnerable to Arbitrary File Write via ../ in an archive member, when a symlink is used, because of Directory Traversal.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://www.npmjs.com/advisories/1217 | third party advisory |
https://github.com/kevva/decompress/issues/71 | third party advisory exploit |
https://github.com/kevva/decompress/pull/73 | third party advisory patch |