What is CVE-2022-24433?
The package simple-git before 3.3.0 are vulnerable to Command Injection via argument injection. When calling the .fetch(remote, branch, handlerFn) function, both the remote and branch parameters are passed to the git fetch subcommand. By injecting some git options it was possible to get arbitrary command execution.
The record classifies CVE-2022-24433 under weakness class CWE-88. Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs no prior authentication, needs no user interaction, and has high impact on confidentiality, integrity, availability. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 1719 days ago.
Severity and exploitation probability
- CVSS v3.1 base score
- 8.1 — HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS (FIRST)
- 3.7% probability of exploitation in the next 30 days, higher than 90.0% of all scored CVEs
- CISA KEV
- Not listed in the CISA Known Exploited Vulnerabilities catalog
- Threadlinqs priority
- 9.7/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- Published
- 2022-03-11
Is CVE-2022-24433 being exploited?
Weaponised exploit code for CVE-2022-24433 is publicly available. 1 public proof-of-concept repository is tracked for this identifier. It currently carries a trending score of 5 in the Threadlinqs vulnerability feed.
- trickest/cve (trickest)
Affected products and versions
- (vendor unspecified): simple-git
Affected software packages:
npm:simple-git— patched in 3.3.0
How to fix CVE-2022-24433
The record marks a vendor fix as available for CVE-2022-24433. Fixed versions are recorded for 1 package: npm:simple-git 3.3.0. Patch reference: https://github.com/steveukx/git-js/pull/767. Apply the vendor fix referenced above to every affected product listed in this record, then confirm the running version against the vendor advisory.
Threat activity tracking CVE-2022-24433
No threat campaign in the Threadlinqs corpus currently references CVE-2022-24433, in its CVE list or as an indicator. The linkage is recomputed from the live corpus on every daily ingest, so this section fills in as soon as a tracked campaign cites the identifier.
Sources
Enriched from CVE.org, NVD, FIRST EPSS, GitHub Security Advisories, public proof-of-concept repositories. This product uses the NVD API but is not endorsed or certified by the NVD.