File Type Restriction Bypass Affecting socket.io-file package, versions *


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.85% (83rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about File Type Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-SOCKETIOFILE-1015597
  • published4 Oct 2020
  • disclosed2 Oct 2020
  • creditCr0wTom

Introduced: 2 Oct 2020

CVE-2020-24807  (opens in a new tab)
CWE-434  (opens in a new tab)

How to fix?

There is no fixed version for socket.io-file.

Overview

socket.io-file is a File uploader module for Socket.io

Affected versions of this package are vulnerable to File Type 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.

References

CVSS Scores

version 3.1