Approved changes feed: RSS · Atom

cpe:2.3:a:git_project:git:*:*:*:*:*:node.js:*:*

part: a version: * update: *

VendorGit Project (e646ab1e-b3f4-5585-84a8-85828d605ea0)
ProductGit (058b9c63-77a7-5632-8f62-1ddbbb28fa58)
Edition*
Language*
Software edition*
Target softwarenode.js
Target hardware*
Other*

Notes

Imported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2021-23632 vulnerable 2026-06-08 05:30:03.028635 Remote Code Execution (RCE)
MEDIUM (6.6)
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.
Published: 2022-03-17T11:20:22.259Z
Updated: 2024-09-16T17:38:11.969Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.