{"id":"GHSA-w364-8vfv-gvf5","summary":"Downloads Resources over HTTP in phantomjs-cheniu","details":"Affected versions of `phantomjs-cheniu` insecurely download an executable over an unencrypted HTTP connection. \n\nIn 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`.\n\n\n## Recommendation\n\nNo patch is currently available for this vulnerability.\n\nAs this package is just a fork of Medium's [`phantomjs-prebuilt`](https://github.com/Medium/phantomjs) package, the best mitigation is currently to install the `Medium` version of [`phantomjs-prebuilt`](https://github.com/Medium/phantomjs). This can be done via the following command:\n```\nnpm i phantomjs-prebuilt\n```","aliases":["CVE-2016-10661"],"modified":"2023-11-08T03:58:18.805408Z","published":"2019-02-18T23:44:52Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-311"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:59:17Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10661"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-w364-8vfv-gvf5"},{"type":"WEB","url":"https://www.npmjs.com/advisories/262"}],"affected":[{"package":{"name":"phantomjs-cheniu","ecosystem":"npm","purl":"pkg:npm/phantomjs-cheniu"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"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"}}],"schema_version":"1.9.0"}