Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mend-bolt-for-github bot opened this issue Apr 11, 2024 · 1 comment
Open

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

mend-bolt-for-github bot opened this issue Apr 11, 2024 · 1 comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-bolt-for-github
Copy link

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: /package.json

Path to vulnerable library: /node_modules/npm/node_modules/@npmcli/git/package.json

Dependency Hierarchy:

  • npm-7.1.0.tgz (Root Library)
    • npm-7.8.0.tgz
      • libnpmversion-1.1.0.tgz
        • git-2.0.6.tgz (Vulnerable Library)

Found in base branch: master

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: GHSA-hxwm-x553-x359

Release Date: 2021-08-05

Fix Resolution (@npmcli/git): 2.0.8

Direct dependency fix Resolution (@semantic-release/npm): 7.1.1


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Apr 11, 2024
Copy link

👋 Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend
Projects
None yet
Development

No branches or pull requests

0 participants