PT-2021-19574 · Async-Git · Async-Git
Omrilotan
·
Published
2021-01-21
·
Updated
2022-04-29
·
CVE-2021-3190
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions:
async-git versions prior to 1.13.2
Description:
The issue allows OS Command Injection via shell metacharacters, as demonstrated by
git.reset and git.tag. This may lead to remote code execution if a client of the library calls the vulnerable method with untrusted input.Recommendations:
For versions prior to 1.13.2, update async-git to version 1.13.2 to resolve the issue.
As a temporary workaround, consider sanitizing untrusted user input before passing it to one of the vulnerable functions, such as
git.reset and git.tag.Exploit
Fix
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Async-Git