CVE-2020-24807 File restriction bypass in socket.io-file

High 7.8 Published Updated

Remote attackers can execute arbitrary code by uploading executable files due to client-side validation bypass in the socket.io-file package.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2020-24807?

CVE-2020-24807 is a high-severity vulnerability in n/a, published on 6 Oct 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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

Weakness: CWE-20

Which versions are affected by CVE-2020-24807?

2 open source packages ship an affected version, including socket.io-file. It affects 1 product.

PackageAffectedFixed in
socket.io-file npmAll versions to 2.0.31None
socket.io-file npmAll versions to 2.0.31None

Products include Socket.io-File Project Socket.io-File.

How do I fix CVE-2020-24807?

No fix has been published for CVE-2020-24807 yet. Limit exposure of the affected software until one is available.

Is CVE-2020-24807 being exploited?

There is no known exploitation of CVE-2020-24807 in the wild and no public exploit code.

Sources

Also known as GHSA-6495-8jvh-f28x.

Is CVE-2020-24807 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free