Skip to content

"Arbitrary code execution in socket.io-file"

High severity GitHub Reviewed Published May 10, 2021 to the GitHub Advisory Database • Updated Feb 1, 2023

Package

npm socket.io-file (npm)

Affected versions

<= 2.0.31

Patched versions

None

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."

References

Published by the National Vulnerability Database Oct 6, 2020
Reviewed Apr 21, 2021
Published to the GitHub Advisory Database May 10, 2021
Last updated Feb 1, 2023

Severity

High
7.8
/ 10

CVSS base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2020-24807

GHSA ID

GHSA-r2gr-fhmr-66c5

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.