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://www.npmjs.com/advisories/1519
https://www.npmjs.com/package/socket.io-file
https://github.com/advisories/GHSA-9h4g-27m8-qjrg
https://github.com/rico345100/socket.io-file
Related Vulnerabilities
CVE-2022-0853 Vulnerability in maven package jboss:jboss-client
CVE-2019-18212 Vulnerability in maven package org.lsp4xml:org.eclipse.lsp4xml.extensions.emmet
CVE-2022-39381 Vulnerability in npm package muhammara
CVE-2022-27820 Vulnerability in maven package org.zaproxy:zap
CVE-2021-39148 Vulnerability in maven package com.thoughtworks.xstream:xstream