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-2016-0706 Vulnerability in maven package org.apache.tomcat:tomcat-catalina
CVE-2020-7627 Vulnerability in npm package node-key-sender
CVE-2021-23376 Vulnerability in npm package ffmpegdotjs
CVE-2020-24660 Vulnerability in npm package node-lemonldap-ng-handler
CVE-2018-14371 Vulnerability in maven package org.glassfish:javax.faces