git-add-remote through 1.0.0 is vulnerable to Command Injection. It allows execution of arbitrary commands via the name argument.
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/jonschlinkert/git-add-remote/blob/master/index.js#L21%2C | |
https://snyk.io/vuln/SNYK-JS-GITADDREMOTE-564269 | third party advisory exploit |