Advisory

GHSA-6495-8jvh-f28x

Also known as: CVE-2020-24807

Summary

File restriction bypass in socket.io-file

Details

All versions of socket.io-fileare 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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-10-02 15:39 UTC
Modified
2026-05-04 08:46 UTC

Affected packages and fixes

socket.io-file

npm · All systems

Affected

  • introduced 0, last affected 2.0.31 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences