In "index.js" file line 240, the run command executes the git command with a user controlled variable called remoteUrl. This affects git-diff-apply all versions prior to 0.22.2.
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/kellyselden/git-diff-apply/commit/106d61d3ae723b4257c2a13e67b95eb40a27e0b5 | third party advisory patch |
https://snyk.io/vuln/SNYK-JS-GITDIFFAPPLY-540774%2C | |
https://snyk.io/vuln/SNYK-JS-GITDIFFAPPLY-540774 | exploit patch third party advisory |