CVE-2020-24807 File restriction bypass in socket.io-file
HighCVSS 7.8
EPSS 2.1%
- Published
- Updated
- Exploit status
- No public exploit known
Description
The socket.io-file package through 2.0.31 for Node.js relies on client-side validation of file types, which allows remote attackers to execute arbitrary code by uploading an executable file via a modified JSON name field. NOTE: This vulnerability only affects products that are no longer supported by the maintainer
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm socket.io-file(npm) | <= 2.0.31 | after 2.0.31 | Fixed |
| socket.io-file project socket.io-file | <= 2.0.31 | after 2.0.31 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm socket.io-file(npm) | <= 2.0.31 | No fix listed |
| socket.io-file project socket.io-file | <= 2.0.31 | No fix listed |
References
- www.npmjs.com third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product third-party-advisory
- github.com third-party-advisory
- www.npmjs.com product third-party-advisory