8.8high
Command injection in git-parse
- Severity
- 8.8high CVSS:3.1 by NVD
- Exploit likelihood
- 2.52% (higher than 85% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-m744-2jj8-vpfv
Description
The "gitDiff" function in Wayfair git-parse <=1.0.4 has a command injection vulnerability. Clients of the git-parse library are unlikely to be aware of this, so they might unwittingly write code that contains a vulnerability. The issue has been resolved in version 1.0.5.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| git-parse (npm) | before 1.0.5 | GitHub Advisory Database |
| wayfair git-parse | before 1.0.5 | NVD |
All scores
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 6.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
The "gitDiff" function in Wayfair git-parse <=1.0.4 has a command injection vulnerability. Clients of the git-parse library are unlikely to be aware of this, so they might unwittingly write code that contains a vulnerability. The issue has been resolved in version 1.0.5.
GitHub Advisory Database
The "gitDiff" function in Wayfair git-parse <=1.0.4 has a command injection vulnerability. Clients of the git-parse library are unlikely to be aware of this, so they might unwittingly write code that contains a vulnerability.
NVD (es)
La función "gitDiff" en Wayfair git-parse versiones anteriores o iguales a 1.0.4 tiene una vulnerabilidad de inyección de comandos. Los clientes de la biblioteca git-parse probablemente no sean conscientes de ello, por lo que podrían escribir involuntariamente código que contenga una vulnerabilidad. El problema se ha resuelto en la versión 1.0.5.
References
| https://www.npmjs.com/package/git-parse | product, third-party-advisory, web | |
| https://advisory.checkmarx.net/advisory/CX-2020-4302 | exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-26543 | advisory | |
| https://github.com/wayfair/git-parse | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-26543 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-m744-2jj8-vpfv changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-26543 changed 2026-06-17 | Public domain |