{"id":"CVE-2021-26543","aliases":["EUVD-2022-1097","GHSA-m744-2jj8-vpfv"],"status":"published","title":"Command injection in git-parse","description":"The \"gitDiff\" function in Wayfair git-parse \u003c=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. The issue has been resolved in version 1.0.5.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.02462,"percentile":0.84589,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-74","CWE-78"],"published":"2021-05-06T12:28:10Z","modified":"2026-06-17T03:43:27Z","fixes":[{"ecosystem":"npm","package":"git-parse","fixed_in":["1.0.5"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"git-parse","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.5"}]}]},{"source":"osv","ecosystem":"npm","package":"git-parse","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.5"}]}]}],"products":[{"vendor":"wayfair","product":"git-parse"}],"references":[{"url":"https://www.npmjs.com/package/git-parse","tags":["x_refsource_MISC","x_transferred","Product","Third Party Advisory","web"]},{"url":"https://advisory.checkmarx.net/advisory/CX-2020-4302","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26543","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-m744-2jj8-vpfv"},{"url":"https://github.com/wayfair/git-parse","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-26543","description":"The \"gitDiff\" function in Wayfair git-parse \u003c=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. The issue has been resolved in version 1.0.5.","status":"published","published":"2021-05-06T12:28:10Z","modified":"2024-08-03T20:26:25.511Z","updated_at":"2026-11-02T14:32:57.368269Z"}],"euvd":[{"id":"EUVD-2022-1097","description":"The \"gitDiff\" function in Wayfair git-parse \u003c=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. The issue has been resolved in version 1.0.5.","status":"published","published":"2021-05-06T12:28:10Z","modified":"2024-08-03T20:26:25Z","updated_at":"2026-11-03T03:24:51.40664Z"}],"ghsa":[{"id":"GHSA-m744-2jj8-vpfv","title":"Command injection in git-parse","description":"The \"gitDiff\" function in Wayfair git-parse \u003c=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.","status":"published","published":"2022-02-10T23:51:16Z","modified":"2023-01-27T05:02:04Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T14:36:17.04874Z"}],"nvd":[{"id":"CVE-2021-26543","description":"The \"gitDiff\" function in Wayfair git-parse \u003c=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. The issue has been resolved in version 1.0.5.","status":"published","published":"2021-05-06T13:15:12.417Z","modified":"2026-06-17T03:43:27.64Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:06:52.81233Z"}],"osv":[{"id":"GHSA-m744-2jj8-vpfv","title":"Command injection in git-parse","description":"The \"gitDiff\" function in Wayfair git-parse \u003c=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.","status":"published","published":"2022-02-10T23:51:16Z","modified":"2023-11-08T04:05:21.279521Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T15:46:51.463834Z"}]}}
