{"id":"GHSA-67mm-m3wx-j7fr","summary":"Command injection in gitlog","details":"The gitlog function in src/index.ts in gitlog before 4.0.4 has a command injection vulnerability.","aliases":["CVE-2021-26541"],"modified":"2023-11-01T04:54:51.292602Z","published":"2021-04-13T15:15:29Z","database_specific":{"cwe_ids":["CWE-77"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2021-03-18T23:05:05Z","nvd_published_at":"2021-02-08T17:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26541"},{"type":"WEB","url":"https://github.com/domharrington/node-gitlog/pull/65"},{"type":"WEB","url":"https://github.com/domharrington/node-gitlog/pull/65/commits/bb22ffb2c907e0284f887ab625e12b88c31f4bf4"},{"type":"WEB","url":"https://advisory.checkmarx.net/advisory/CX-2020-4301"},{"type":"PACKAGE","url":"https://github.com/domharrington/node-gitlog"},{"type":"WEB","url":"https://www.npmjs.com/package/gitlog"}],"affected":[{"package":{"name":"gitlog","ecosystem":"npm","purl":"pkg:npm/gitlog"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.0.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-67mm-m3wx-j7fr/GHSA-67mm-m3wx-j7fr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}