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.
References
Link | Resource |
---|---|
https://gist.github.com/lirantal/14c3686370a86461f555d3f0703e02f9 | Exploit Third Party Advisory |
https://github.com/kucherenko/blamer/commit/0965877f115753371a2570f10a63c455d2b2cde3 | Patch |
https://security.snyk.io/vuln/SNYK-JS-BLAMER-5731318 | Exploit Third Party Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: snyk
Published: 2023-09-19T05:00:01.083Z
Updated: 2023-09-19T05:00:01.083Z
Reserved: 2023-02-20T10:28:48.928Z
Link: CVE-2023-26143
JSON object: View
NVD Information
Status : Modified
Published: 2023-09-19T05:17:10.443
Modified: 2023-11-07T04:09:27.620
Link: CVE-2023-26143
JSON object: View
Redhat Information
No data.
CWE