Command Injection Affecting blamer package, versions <1.0.1
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.66% (81st
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JS-BLAMER-559541
- published 9 Mar 2020
- disclosed 9 Mar 2020
- credit JHU System Security Lab, mik317
Introduced: 9 Mar 2020
CVE-2019-10807 Open this link in a new tabHow to fix?
Upgrade blamer
to version 1.0.1 or higher.
Overview
blamer is a tool for get information about author of code from version control system. Supports git and subversion.
Affected versions of this package are vulnerable to Command Injection. It is possible to inject arbitrary commands as part of the arguments provided to blamer.
PoC
var Root = require("blamer");
var attack_command = "& touch vulnerable &";
root = new Root('git',attack_command);
root.blameByFile("./");
References
CVSS Scores
version 3.1