Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTY0OTUtOGp2aC1mMjh4

File restriction bypass in socket.io-file

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.

Permalink: https://github.com/advisories/GHSA-6495-8jvh-f28x
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTY0OTUtOGp2aC1mMjh4
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 3 years ago
Updated: over 1 year ago


CVSS Score: 7.8
CVSS vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Identifiers: GHSA-6495-8jvh-f28x
References: Blast Radius: 14.6

Affected Packages

npm:socket.io-file
Dependent packages: 2
Dependent repositories: 74
Downloads: 1,873 last month
Affected Version Ranges: <= 2.0.31
No known fixed version
All affected versions: 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.11, 1.0.12, 1.0.13, 1.0.21, 1.0.31, 1.0.32, 1.0.41, 1.0.51, 1.0.52, 1.0.53, 1.0.54, 1.0.55, 1.0.56, 1.0.57, 1.0.58, 1.0.59, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.12, 2.0.13, 2.0.14, 2.0.15, 2.0.31