Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTdyMngtM3FjbS04dmZ3
herbivore downloads Resources over HTTP
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
Permalink: https://github.com/advisories/GHSA-7r2x-3qcm-8vfwJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTdyMngtM3FjbS04dmZ3
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: almost 6 years ago
Updated: about 1 year ago
CVSS Score: 8.1
CVSS vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-7r2x-3qcm-8vfw, CVE-2016-10665
References:
- https://nvd.nist.gov/vuln/detail/CVE-2016-10665
- https://github.com/advisories/GHSA-7r2x-3qcm-8vfw
- https://github.com/samatt/herbivore
- https://www.npmjs.com/advisories/258
- https://github.com/samatt/Herbivore/commit/0a041defc3463e99948e5d2064aef54b2128c5a3
Blast Radius: 0.0
Affected Packages
npm:herbivore
Dependent packages: 1Dependent repositories: 1
Downloads: 80 last month
Affected Version Ranges: <= 0.0.3
No known fixed version
All affected versions: 0.0.1, 0.0.2, 0.0.3