GHSA-w364-8vfv-gvf5

Suggest an improvement
Source
https://github.com/advisories/GHSA-w364-8vfv-gvf5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/02/GHSA-w364-8vfv-gvf5/GHSA-w364-8vfv-gvf5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-w364-8vfv-gvf5
Aliases
  • CVE-2016-10661
Published
2019-02-18T23:44:52Z
Modified
2023-11-08T03:58:18Z
Summary
Downloads Resources over HTTP in phantomjs-cheniu
Details

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
Database specific
{
    "cwe_ids":  [
        "CWE-311"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-06-16T21:59:17Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

npm / phantomjs-cheniu

Package

Name
phantomjs-cheniu
View open source insights on deps.dev
Purl
pkg:npm/phantomjs-cheniu

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
2.0.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/02/GHSA-w364-8vfv-gvf5/GHSA-w364-8vfv-gvf5.json"