{"id":"CVE-2021-26543","aliases":["CVE-2021-26543","GHSA-m744-2jj8-vpfv"],"related":[],"kind":"vulnerability","state":"published","title":"Command injection in git-parse","summary":"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. The issue has been resolved in version 1.0.5.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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. The issue has been resolved in version 1.0.5.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"La función \"gitDiff\" en Wayfair git-parse versiones anteriores o iguales a 1.0.4 tiene una vulnerabilidad de inyección de comandos. Los clientes de la biblioteca git-parse probablemente no sean conscientes de ello, por lo que podrían escribir involuntariamente código que contenga una vulnerabilidad. El problema se ha resuelto en la versión 1.0.5.","source":"nvd"}],"published":"2021-05-06T12:28:10.000Z","modified":"2026-06-17T03:43:27.640Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-74","CWE-78"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.0.5"}],"ecosystem":"npm","package":"git-parse","purl":"pkg:npm/git-parse","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.0.5"}],"vendor":"wayfair","product":"git-parse","cpe":"cpe:2.3:a:wayfair:git-parse:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://www.npmjs.com/package/git-parse","tags":["product","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://advisory.checkmarx.net/advisory/CX-2020-4302","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26543","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/wayfair/git-parse","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-26543","url":"https://www.cve.org/CVERecord?id=CVE-2021-26543","licence":"CVE Terms of Use","modified":"2024-08-03T20:26:25.511Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m744-2jj8-vpfv","url":"https://github.com/advisories/GHSA-m744-2jj8-vpfv","licence":"CC-BY-4.0","modified":"2023-11-08T04:05:21.279Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-26543","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26543","licence":"Public domain","modified":"2026-06-17T03:43:27.640Z"}],"updatedAt":"2026-11-25T22:58:01.173Z","epss":{"score":0.0252,"percentile":0.85286,"date":"2026-12-01T12:00:22.000Z"}}