Skip to content

herbivore downloads Resources over HTTP

High severity GitHub Reviewed Published Feb 18, 2019 to the GitHub Advisory Database • Updated Sep 13, 2023

Package

npm herbivore (npm)

Affected versions

<= 0.0.3

Patched versions

None

Description

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.

Recommendation

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

References

Published to the GitHub Advisory Database Feb 18, 2019
Reviewed Jun 16, 2020
Last updated Sep 13, 2023

Severity

High
8.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2016-10665

GHSA ID

GHSA-7r2x-3qcm-8vfw

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.