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-2022-36157 Vulnerability in maven package com.xuxueli:xxl-job
CVE-2017-16116 Vulnerability in npm package string
CVE-2020-36180 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind
CVE-2021-23343 Vulnerability in npm package path-parse
CVE-2018-16487 Vulnerability in npm package lodash.defaultsdeep