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
Remediation
References
https://www.npmjs.com/package/socket.io-file
https://github.com/rico345100/socket.io-file
https://github.com/advisories/GHSA-6495-8jvh-f28x
https://www.npmjs.com/advisories/1564
Related Vulnerabilities
CVE-2021-26275 Vulnerability in npm package eslint-fixer
CVE-2021-42550 Vulnerability in maven package ch.qos.logback:logback-core
CVE-2020-7636 Vulnerability in npm package adb-driver
CVE-2022-0528 Vulnerability in npm package @uppy/companion
CVE-2020-10693 Vulnerability in maven package org.hibernate.validator:hibernate-validator