QID 980755
QID 980755: Nodejs (npm) Security Update for socket.io-file (GHSA-9h4g-27m8-qjrg)
All versions of `socket.io-file` are vulnerable to Path Traversal. The package fails to sanitize user input and uses it to generate the file upload paths. The `socket.io-file::createFile` message contains a `name` option that is passed directly to `path.join()`. It is possible to upload files to arbitrary folders on the server by sending relative paths on the `name` value, such as `../../test.js`. The `uploadDir` and `rename` options can be used to define the file upload path.
Successful exploitation of this vulnerability may affect the confidentiality, integrity, and availability of the targeted user.
Solution
Customers are advised to refer to GHSA-9h4g-27m8-qjrg for updates pertaining to this vulnerability.
Vendor References
- GHSA-9h4g-27m8-qjrg -
github.com/advisories/GHSA-9h4g-27m8-qjrg
CVEs related to QID 980755
Software Advisories
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-9h4g-27m8-qjrg | socket.io-file |
|