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.
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Link | Tags |
---|---|
https://github.com/omrilotan/async-git/pull/13 | third party advisory |
https://github.com/omrilotan/async-git/pull/13/commits/a5f45f58941006c4cc1699609383b533d9b92c6a | third party advisory patch |
https://github.com/omrilotan/async-git/pull/13/commits/611823bd97dd41e9e8127c38066868ff9dcfa57a | third party advisory patch |
https://github.com/omrilotan/async-git/pull/14 | third party advisory patch |
https://advisory.checkmarx.net/advisory/CX-2021-4772 | third party advisory exploit |