Description
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.
Remediation
References
https://github.com/advisories/GHSA-9h4g-27m8-qjrg
https://github.com/rico345100/socket.io-file
https://www.npmjs.com/advisories/1519
https://www.npmjs.com/package/socket.io-file
Related Vulnerabilities
CVE-2020-26302 Vulnerability in maven package org.webjars.bowergithub.arasatasaygin:is.js
CVE-2020-28422 Vulnerability in npm package git-archive
CVE-2020-35149 Vulnerability in maven package org.webjars.npm:mquery
CVE-2017-1000452 Vulnerability in npm package express-saml2
CVE-2018-1999001 Vulnerability in maven package org.jenkins-ci.main:jenkins-core