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-2011-4838 Vulnerability in maven package jruby:jruby
CVE-2022-1243 Vulnerability in maven package org.webjars.npm:urijs
CVE-2018-12545 Vulnerability in maven package org.eclipse.jetty.http2:http2-common
CVE-2020-1951 Vulnerability in maven package org.apache.tika:tika-parsers
CVE-2022-45207 Vulnerability in maven package org.jeecgframework.boot:jeecg-module-system