CVE-2020-15779
Socket.io-file Project Socket.io-file vulnerability
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.
Affected products
Socket.io-file. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Socket.io-file Project Socket.io-file runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/advisories/GHSA-9h4g-27m8-qjrg · Third Party Advisory
- github.com/rico345100/socket.io-file · Third Party Advisory
- www.npmjs.com/advisories/1519 · Exploit
- www.npmjs.com/package/socket.io-file · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2020-15779
- cve.org/CVERecord?id=CVE-2020-15779
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.