Skip to content
New issue

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

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

Already on GitHub? # to your account

CVE-2022-24066 (High) detected in simple-git-2.48.0.tgz #1363

Open
mend-bolt-for-github bot opened this issue Apr 7, 2022 · 3 comments
Open

CVE-2022-24066 (High) detected in simple-git-2.48.0.tgz #1363

mend-bolt-for-github bot opened this issue Apr 7, 2022 · 3 comments

Comments

@mend-bolt-for-github
Copy link

CVE-2022-24066 - High Severity Vulnerability

Vulnerable Library - simple-git-2.48.0.tgz

Simple GIT interface for node.js

Library home page: https://registry.npmjs.org/simple-git/-/simple-git-2.48.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/simple-git/package.json

Dependency Hierarchy:

  • crowdin-cli-3.0.19.tgz (Root Library)
    • simple-git-2.48.0.tgz (Vulnerable Library)

Found in HEAD commit: 1652e069621eaf83756f08575ba0365a130349a8

Found in base branch: master

Vulnerability Details

The package simple-git before 3.5.0 are vulnerable to Command Injection due to an incomplete fix of CVE-2022-24433 which only patches against the git fetch attack vector.
A similar use of the --upload-pack feature of git is also supported for git clone, which the prior fix didn't cover.

Publish Date: 2022-04-01

URL: CVE-2022-24066

CVSS 3 Score Details (8.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • 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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24066

Release Date: 2022-04-01

Fix Resolution: simple-git - 3.5.0


Step up your Open Source Security Game with WhiteSource here

@github-actions
Copy link
Contributor

github-actions bot commented Apr 8, 2022

Message that will be displayed on users' first issue

@github-actions
Copy link
Contributor

github-actions bot commented Apr 8, 2022

👋 Thanks for reporting!

@worldpeacez0991
Copy link

Issue is regarding this file 'package.json' is not updated to simple-git 3.5.0.
https://github.com/Cado-Labs/CrowdinCLI/blob/master/package.json -- is reading past version "simple-git": "^2.39.0".

Cado-Labs/CrowdinCLI#17 -- reads that simple-git is updated by dependabot from version 2.39.0 to 3.5.0, but rejected due to CI/audit fail.

how do we fix this issue, re-pull request for the file 'package.json' or leave it?

kindly assist me, please

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant