CVE-2021-26541
Command injection in gitlog
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
The gitlog function in src/index.ts in gitlog before 4.0.4 has a command injection vulnerability.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | gitlog | 4.0.4 |
References
- https://advisory.checkmarx.net/advisory/CX-2020-4301
- https://github.com/domharrington/node-gitlog
- https://github.com/domharrington/node-gitlog/pull/65
- https://github.com/domharrington/node-gitlog/pull/65/commits/bb22ffb2c907e0284f887ab625e12b88c31f4bf4
- https://nvd.nist.gov/vuln/detail/CVE-2021-26541
- https://www.npmjs.com/package/gitlog