{"id":"CVE-2021-3190","aliases":["CVE-2021-3190","GHSA-6c3f-p5wp-34mh"],"related":[],"kind":"vulnerability","state":"published","title":"OS Command Injection in async-git","summary":"The async-git package before 1.13.2 for Node.js allows OS Command Injection via shell metacharacters, as demonstrated by git.reset and git.tag.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The async-git package before 1.13.2 for Node.js allows OS Command Injection via shell metacharacters, as demonstrated by git.reset and git.tag.","source":"cvelist"},{"lang":"en","text":"The async-git package before 1.13.2 for Node.js allows OS Command Injection via shell metacharacters, as demonstrated by git.reset and git.tag. This issue may lead to remote code execution if a client of the library calls the vulnerable method with untrusted input. Ensure to sanitize untrusted user input before passing it to one of the vulnerable functions as a workaround or update async-git to version 1.13.1.","format":"markdown","source":"ghsa"},{"lang":"es","text":"El paquete async-git versiones anteriores a 1.13.2 para Node.js, permite una Inyección de Comandos del Sistema Operativo por medio de metacaracteres de shell, como es demostrado por git.reset y git.tag","source":"nvd"}],"published":"2021-01-21T07:11:33.000Z","modified":"2026-06-17T04:04:49.153Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.13.2"}],"ecosystem":"npm","package":"async-git","purl":"pkg:npm/async-git","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.13.2"}],"vendor":"async-git_project","product":"async-git","cpe":"cpe:2.3:a:async-git_project:async-git:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/omrilotan/async-git/pull/13","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/omrilotan/async-git/pull/13/commits/a5f45f58941006c4cc1699609383b533d9b92c6a","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/omrilotan/async-git/pull/13/commits/611823bd97dd41e9e8127c38066868ff9dcfa57a","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/omrilotan/async-git/pull/14","tags":["patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://advisory.checkmarx.net/advisory/CX-2021-4772","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3190","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/omrilotan/async-git","tags":["package"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/package/async-git","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-3190","url":"https://www.cve.org/CVERecord?id=CVE-2021-3190","licence":"CVE Terms of Use","modified":"2024-08-03T16:45:51.397Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6c3f-p5wp-34mh","url":"https://github.com/advisories/GHSA-6c3f-p5wp-34mh","licence":"CC-BY-4.0","modified":"2023-11-08T04:05:51.640Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-3190","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3190","licence":"Public domain","modified":"2026-06-17T04:04:49.153Z"}],"updatedAt":"2026-11-25T22:57:59.729Z","epss":{"score":0.05387,"percentile":0.93451,"date":"2026-11-30T12:00:22.000Z"}}