Skip to content
Sign in
CVE-2021-236326.6MediumCWE-78

CVE-2021-23632: Remote Code Execution (RCE)

Git Project · git

Vendor fix available · Affected: Git Project · Exploitation: possible (1 to 10%)

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

2.4%probability of exploitation in the next 30 days
83rd percentile
050100

Higher than 83% of scored CVEs

6.6MediumCVSS 3.1
LowMedium

DescriptionCVE.org

All versions of package git are vulnerable to Remote Code Execution (RCE) due to missing sanitization in the Git.git method, which allows execution of OS commands rather than just git commands. Steps to Reproduce 1. Create a file named exploit.js with the following content: js var Git = require("git").Git; var repo = new Git("repo-test"); var user_input = "version; date"; repo.git(user_input, function(err, result) { console.log(result); }) 2. In the same directory as exploit.js, run npm install git. 3. Run exploit.js: node exploit.js. You should see the outputs of both the git version and date command-lines. Note that the repo-test Git repository does not need to be present to make this PoC work.

Affected products1

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • git0

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Possible (1 to 10%). EPSS between 1% and 10%.
CISA KEV
Not listed
Public check
No public nuclei template
Published
March 2022

CoverageNo articles yet

No CyberSIXT article names CVE-2021-23632 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References

Updated AboutDevelopersSign in