GitHub Advisoryadvisory · npm

GHSA-w364-8vfv-gvf5 Downloads Resources over HTTP in phantomjs-cheniu

HIGH Published 2019-02-18 Modified 2021-01-08 Official page ↗
Aliases
CVE-2016-10661
Ecosystem
npm
Packages
phantomjs-cheniu
Severity
High
Weaknesses
CWE-311
Reviewed
2020-06-16

Affected packages

• npm phantomjs-cheniu: <= 2.0.1 (no fix yet)

Description

Affected versions of `phantomjs-cheniu` 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 `phantomjs-cheniu`. Recommendation No patch is currently available for this vulnerability. As this package is just a fork of Medium's `phantomjs-prebuilt` package, the best mitigation is currently to install the `Medium` version of `phantomjs-prebuilt`. This can be done via the following command: ``` npm i phantomjs-prebuilt ```

Related

Alias · CVE (1)

  • CVE-2016-10661 phantomjs-cheniu is a Headless WebKit with JS API phantomjs-cheniu downloads binary resources over HTTP, which leaves it vulnerable to MITM… vulnerability

Weakness · CWE (1)

  • CWE-311 Missing Encryption of Sensitive Data weakness

References