Node.js workspace-tools module command execution | CVE-2022-25865
NAME
Node.js workspace-tools module command execution
- Platforms Affected:
Node.js workspace-tools 0.18.3 - Risk Level:
8.1 - Exploitability:
Proof of Concept - Consequences:
Gain Access
DESCRIPTION
Node.js workspace-tools module could allow a remote attacker to execute arbitrary commands on the system, caused by a git argument injection flaw in the fetchRemoteBranch(remote: string, remoteBranch: string, cwd: string) function. By sending a specially-crafted request using the remote and remoteBranch parameters, an attacker could exploit this vulnerability to execute arbitrary commands on the system.
CVSS 3.0 Information
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Access Vector: Network
- Access Complexity: High
- Confidentiality Impact: High
- Integrity Impact: High
- Availability Impact: High
- Remediation Level: Official Fix
MITIGATION
Upgrade to the latest version of workspace-tools (0.18.4 or later), available from the workspace-tools GIT Repository. See References.
- Reference Link:
https://security.snyk.io/vuln/SNYK-JS-WORKSPACETOOLS-2421201 - Reference Link:
https://github.com/microsoft/workspace-tools/commit/9bc7e65ce497f87e1f363fd47b8f802f3d3cd978
If you like the site, please consider joining the telegram channel and supporting us on Patreon using the button below.