Vulnerability · Published Apr 2, 2020 · Assigned by snyk
CVE-2020-7630
Critical 9.8
In plain English
A critical-severity security flaw in git-add-remote. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.2% (higher than 91% of all known vulnerabilities).
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)4.2%top 9.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
git-add-remote through 1.0.0 is vulnerable to Command Injection. It allows execution of arbitrary commands via the name argument.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | git-add-remote | no fix listed | GHSA-h9v8-rm3m-5h5f |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | git-add-remote | All versions including 1.0.0 |
References
- https://github.com/jonschlinkert/git-add-remote/blob/master/index.js#L21%2C x_refsource_MISC
- https://snyk.io/vuln/SNYK-JS-GITADDREMOTE-564269 x_refsource_MISC