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.
Remediation
References
https://advisory.checkmarx.net/advisory/CX-2021-4772
https://github.com/omrilotan/async-git/pull/13
https://github.com/omrilotan/async-git/pull/13/commits/611823bd97dd41e9e8127c38066868ff9dcfa57a
https://github.com/omrilotan/async-git/pull/13/commits/a5f45f58941006c4cc1699609383b533d9b92c6a
https://github.com/omrilotan/async-git/pull/14
Related Vulnerabilities
CVE-2021-45458 Vulnerability in maven package org.apache.kylin:kylin-core-common
CVE-2019-20174 Vulnerability in maven package org.webjars.npm:auth0-lock
CVE-2020-7637 Vulnerability in maven package org.webjars.npm:class-transformer
CVE-2021-21179 Vulnerability in npm package electron
CVE-2022-23458 Vulnerability in maven package org.webjars.npm:tui-grid