Newton's Preposterous Miscalculation

npm

Severity: high

Downloads Resources over HTTP

herbivore

Overview

Affected versions of herbivore insecurely download an executable over an unencrypted HTTP connection.

In scenarios where an attacker has a privileged network position, it is possible to intercept the response and replace the executable with a malicious one, resulting in code execution on the system running herbivore.

Remediation

The module author has rewritten much of the package, and in that process, patched the vulnerability, but has not published any of the new code to npm.

In order to get an updated version, it is necessary to install the package from github. This can be done using the following command:

npm i samatt/herbivore
Have content suggestions? Send them to [email protected]

Advisory timeline

  1. published

    Advisory published
    Jan 1st, 2017
  2. reported

    Initial report by Adam Baldwin
    Dec 1st, 2016