CVE-2021-3190
CRITICAL9.8EPSS 20.9%OS Command Injection in async-git
發布日:2021/1/29修改日:2023/11/8
描述
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.
受影響套件(1)
- npm/async-gitfrom 0, < 1.13.2
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
參考連結(8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-3190
- PATCHhttps://github.com/omrilotan/async-git
- WEBhttps://advisory.checkmarx.net/advisory/CX-2021-4772
- WEBhttps://github.com/omrilotan/async-git/pull/13
- WEBhttps://github.com/omrilotan/async-git/pull/13/commits/611823bd97dd41e9e8127c38066868ff9dcfa57a
- WEBhttps://github.com/omrilotan/async-git/pull/13/commits/a5f45f58941006c4cc1699609383b533d9b92c6a
- WEBhttps://github.com/omrilotan/async-git/pull/14
- WEBhttps://www.npmjs.com/package/async-git