A Path Traversal issue was discovered in the socket.io-file package through 2.0.31 for Node.js. The socket.io-file::createFile message uses path.join with ../ in the name option, and the uploadDir and rename options determine the path.
References
Link | Resource |
---|---|
https://www.npmjs.com/advisories/1519 | Exploit Third Party Advisory |
https://www.npmjs.com/package/socket.io-file | Product Third Party Advisory |
https://github.com/advisories/GHSA-9h4g-27m8-qjrg | Third Party Advisory |
https://github.com/rico345100/socket.io-file | Third Party Advisory |
Configurations
Information
Published : 2020-07-15 14:15
Updated : 2020-07-22 10:06
NVD link : CVE-2020-15779
Mitre link : CVE-2020-15779
JSON object : View
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Products Affected
socket.io-file_project
- socket.io-file