GHSA-6495-8JVH-F28X
Vulnerability from github – Published: 2020-10-02 15:39 – Updated: 2026-01-22 22:29
VLAI?
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 ?
7.8 (High)
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "socket.io-file"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "2.0.31"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2020-24807"
],
"database_specific": {
"cwe_ids": [
"CWE-20"
],
"github_reviewed": true,
"github_reviewed_at": "2020-10-02T15:36:34Z",
"nvd_published_at": null,
"severity": "HIGH"
},
"details": "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.\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.",
"id": "GHSA-6495-8jvh-f28x",
"modified": "2026-01-22T22:29:16Z",
"published": "2020-10-02T15:39:54Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-24807"
},
{
"type": "PACKAGE",
"url": "https://github.com/rico345100/socket.io-file"
},
{
"type": "WEB",
"url": "https://www.npmjs.com/advisories/1564"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "File restriction bypass in socket.io-file"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…