~ / search / GHSA-6495-8jvh-f28x

GHSA-6495-8jvh-f28x

File restriction bypass in socket.io-file

Source: GitHub Advisory Database (reviewed) High CVE-2020-24807

Packages

EcosystemPackageAffectedFixed in
npm socket.io-file <= 2.0.31 no fix listed

Details

As written in the advisory (Markdown source, shown as plain text).

All versions of `socket.io-file`are vulnerable to a file restriction bypass. The validation for valid file types only happens on the client-side, which allows an attacker to intercept the Websocket request post-validation and alter the `name` value to upload any file types. No fix is currently available. Consider using an alternative package until a fix is made available.

References

External links from the advisory. They lead to third-party sites.