critical9.8
CVE-2021-26541
Command injection in gitlog
Impact
The gitlog function in src/index.ts in gitlog before 4.0.4 has a command injection vulnerability.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | gitlog | < 4.0.4 | 4.0.4 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Gitlog Project | Gitlog | before 4.0.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://advisory.checkmarx.net/advisory/CX-2020-4301
- https://github.com/domharrington/node-gitlog/pull/65
- https://www.npmjs.com/package/gitlog
- https://github.com/advisories/GHSA-67mm-m3wx-j7fr
- https://nvd.nist.gov/vuln/detail/CVE-2021-26541
- https://github.com/domharrington/node-gitlog/pull/65/commits/bb22ffb2c907e0284f887ab625e12b88c31f4bf4