{"id":"CVE-2021-3190","aliases":["EUVD-2021-0493","GHSA-6c3f-p5wp-34mh"],"status":"published","title":"OS Command Injection in async-git","description":"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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.05387,"percentile":0.9278,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-78"],"published":"2021-01-21T07:11:33Z","modified":"2026-06-17T04:04:49Z","fixes":[{"ecosystem":"npm","package":"async-git","fixed_in":["1.13.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"async-git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.2"}]}]},{"source":"osv","ecosystem":"npm","package":"async-git","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.13.2"}]}]}],"products":[{"vendor":"async-git_project","product":"async-git"}],"references":[{"url":"https://github.com/omrilotan/async-git/pull/13","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://github.com/omrilotan/async-git/pull/13/commits/a5f45f58941006c4cc1699609383b533d9b92c6a","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","web"]},{"url":"https://github.com/omrilotan/async-git/pull/13/commits/611823bd97dd41e9e8127c38066868ff9dcfa57a","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","web"]},{"url":"https://github.com/omrilotan/async-git/pull/14","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","web"]},{"url":"https://advisory.checkmarx.net/advisory/CX-2021-4772","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3190","tags":["advisory"]},{"url":"https://www.npmjs.com/package/async-git","tags":["web"]},{"url":"https://github.com/advisories/GHSA-6c3f-p5wp-34mh"},{"url":"https://github.com/omrilotan/async-git","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-3190","description":"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.","status":"published","published":"2021-01-21T07:11:33Z","modified":"2024-08-03T16:45:51.397Z","updated_at":"2026-11-02T14:33:04.020035Z"}],"euvd":[{"id":"EUVD-2021-0493","description":"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.","status":"published","published":"2021-01-21T07:11:33Z","modified":"2024-08-03T16:45:51Z","updated_at":"2026-11-03T03:25:14.091701Z"}],"ghsa":[{"id":"GHSA-6c3f-p5wp-34mh","title":"OS Command Injection in async-git","description":"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.","status":"published","published":"2021-01-29T18:14:00Z","modified":"2023-02-01T05:05:15Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:36:33.613868Z"}],"nvd":[{"id":"CVE-2021-3190","description":"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.","status":"published","published":"2021-01-26T18:16:28.287Z","modified":"2026-06-17T04:04:49.153Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:06:49.660551Z"}],"osv":[{"id":"GHSA-6c3f-p5wp-34mh","title":"OS Command Injection in async-git","description":"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.","status":"published","published":"2021-01-29T18:14:00Z","modified":"2023-11-08T04:05:51.640137Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:46:39.618611Z"}]}}
