Path to dependency file: /javascript/yarn/yarn-lock-with-dev-dependencies/package.json
Path to vulnerable library: /javascript/yarn/yarn-scopes/node_modules/socket.io-adapter/node_modules/socket.io-parser/package.json,/javascript/yarn/yarn-scopes/node_modules/socket.io-adapter/node_modules/socket.io-parser/package.json
Due to improper type validation in attachment parsing the Socket.io js library, it is possible to overwrite the _placeholder object which allows an attacker to place references to functions at arbitrary places in the resulting query object.
CVE-2022-2421 - Critical Severity Vulnerability
socket.io protocol parser
Library home page: https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-2.2.2.tgz
Path to dependency file: /javascript/yarn/yarn-lock-with-dev-dependencies/package.json
Path to vulnerable library: /javascript/yarn/yarn-scopes/node_modules/socket.io-adapter/node_modules/socket.io-parser/package.json,/javascript/yarn/yarn-scopes/node_modules/socket.io-adapter/node_modules/socket.io-parser/package.json
Dependency Hierarchy: - console-io-2.6.3.tgz (Root Library) - socket.io-1.4.8.tgz - socket.io-adapter-0.4.0.tgz - :x: **socket.io-parser-2.2.2.tgz** (Vulnerable Library)
Found in HEAD commit: 27e1f740a162e55490d9ca929f243afbaa92476c
Found in base branch: master
Due to improper type validation in attachment parsing the Socket.io js library, it is possible to overwrite the _placeholder object which allows an attacker to place references to functions at arbitrary places in the resulting query object.
Publish Date: 2022-10-26
URL: CVE-2022-2421
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High
For more information on CVSS3 Scores, click here.Type: Upgrade version
Origin: https://github.com/advisories/GHSA-qm95-pgcg-qqfq
Release Date: 2022-10-26
Fix Resolution (socket.io-parser): 3.3.3
Direct dependency fix Resolution (console-io): 3.0.12
Step up your Open Source Security Game with Mend here