camcrosbie / Angular-GettingStarted

Sample Angular application used in the "Angular: Getting Started" course: http://bit.ly/Angular-GettingStarted
MIT License
0 stars 0 forks source link

WS-2021-0245 (Critical) detected in git-2.0.6.tgz #83

Open mend-bolt-for-github[bot] opened 5 months ago

mend-bolt-for-github[bot] commented 5 months ago

WS-2021-0245 - Critical Severity Vulnerability

Vulnerable Library - git-2.0.6.tgz

a util for spawning git from npm CLI contexts

Library home page: https://registry.npmjs.org/@npmcli/git/-/git-2.0.6.tgz

Path to dependency file: /APM-Final/package.json

Path to vulnerable library: /APM-Final/node_modules/@npmcli/git/package.json

Dependency Hierarchy: - cli-11.2.3.tgz (Root Library) - pacote-11.2.4.tgz - :x: **git-2.0.6.tgz** (Vulnerable Library)

Found in base branch: main

Vulnerability Details

A Command Injection vulnerability was found in @npmcli/git before 2.0.8. It may result in arbitrary shell command execution due to improper argument sanitization when "npmcli/git" is used to execute Git commands based on user-controlled input. The impact of this issue is possible Arbitrary Command Injection when npmcli/git is run with untrusted (user-controlled) Git command arguments.

Publish Date: 2021-08-05

URL: WS-2021-0245

CVSS 3 Score Details (9.8)

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.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-hxwm-x553-x359

Release Date: 2021-08-05

Fix Resolution (@npmcli/git): 2.0.8

Direct dependency fix Resolution (@angular/cli): 11.2.4


Step up your Open Source Security Game with Mend here