{"schema_version":"1.9.0","id":"GHSA-m744-2jj8-vpfv","published":"2022-02-10T23:51:16Z","modified":"2023-11-08T04:05:21.279521Z","aliases":["CVE-2021-26543"],"summary":"Command injection in git-parse","details":"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.","affected":[{"package":{"name":"git-parse","ecosystem":"npm","purl":"pkg:npm/git-parse"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-m744-2jj8-vpfv/GHSA-m744-2jj8-vpfv.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26543"},{"type":"WEB","url":"https://advisory.checkmarx.net/advisory/CX-2020-4302"},{"type":"PACKAGE","url":"https://github.com/wayfair/git-parse"},{"type":"WEB","url":"https://www.npmjs.com/package/git-parse"}],"database_specific":{"cwe_ids":["CWE-74"],"github_reviewed":true,"github_reviewed_at":"2021-05-19T20:35:31Z","nvd_published_at":"2021-05-06T13:15:00Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}