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://github.com/advisories/GHSA-6495-8jvh-f28x
https://github.com/rico345100/socket.io-file
https://www.npmjs.com/advisories/1564
https://www.npmjs.com/package/socket.io-file
Related Vulnerabilities
CVE-2016-6798 Vulnerability in maven package org.apache.sling:org.apache.sling.xss
CVE-2017-16106 Vulnerability in npm package tmock
CVE-2022-31170 Vulnerability in maven package org.webjars.npm:openzeppelin__contracts-upgradeable
CVE-2017-16120 Vulnerability in npm package liyujing
CVE-2021-44138 Vulnerability in maven package com.caucho:resin