The gitlog function in src/index.ts in gitlog before 4.0.4 has a command injection vulnerability.
References:- https://nvd.nist.gov/vuln/detail/CVE-2021-26541
- https://github.com/domharrington/node-gitlog/pull/65
- https://github.com/domharrington/node-gitlog/pull/65/commits/bb22ffb2c907e0284f887ab625e12b88c31f4bf4
- https://www.npmjs.com/package/gitlog
- https://advisory.checkmarx.net/advisory/CX-2020-4301
- https://github.com/advisories/GHSA-67mm-m3wx-j7fr