Versions of the package blamer before 1.0.4 are vulnerable to Arbitrary Argument Injection via the blameByFile() API. The library does not sanitize for user input or validate the given file path conforms to a specific schema, nor does it properly pass command-line flags to the git binary using the double-dash POSIX characters (--) to communicate the end of options.
The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.
Link | Tags |
---|---|
https://security.snyk.io/vuln/SNYK-JS-BLAMER-5731318 | third party advisory exploit |
https://gist.github.com/lirantal/14c3686370a86461f555d3f0703e02f9 | third party advisory exploit |
https://github.com/kucherenko/blamer/commit/0965877f115753371a2570f10a63c455d2b2cde3 | patch |