Command Injection Affecting blamer package, versions <1.0.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-BLAMER-559541
  • published9 Mar 2020
  • disclosed9 Mar 2020
  • creditJHU System Security Lab, mik317

Introduced: 9 Mar 2020

CVE-2019-10807  (opens in a new tab)
CWE-78  (opens in a new tab)
First added by Snyk

How 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("./");

CVSS Scores

version 3.1