ID GHSA-PH8P-2G97-9654 Type github Reporter GitHub Advisory Database Modified 2021-01-08T18:21:23
Description
Affected versions of jstestdriver 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 jstestdriver.
Recommendation
No patch is currently available for this vulnerability, and the package has not seen an update since 2011.
The best mitigation is currently to avoid using this package, using a different package if available.
Alternatively, the risk of exploitation can be reduced by ensuring that this package is not installed while connected to a public network. If the package is installed on a private network, the only people who can exploit this vulnerability are those who have compromised your network or those who have privileged access to your ISP, such as Nation State Actors or Rogue ISP Employees.
{"id": "GHSA-PH8P-2G97-9654", "bulletinFamily": "software", "title": "Downloads Resources over HTTP in jstestdriver", "description": "Affected versions of `jstestdriver` 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 `jstestdriver`.\n\n\n## Recommendation\n\nNo patch is currently available for this vulnerability, and the package has not seen an update since 2011.\n\nThe best mitigation is currently to avoid using this package, using a different package if available. \n\nAlternatively, the risk of exploitation can be reduced by ensuring that this package is not installed while connected to a public network. If the package is installed on a private network, the only people who can exploit this vulnerability are those who have compromised your network or those who have privileged access to your ISP, such as Nation State Actors or Rogue ISP Employees.", "published": "2018-08-15T19:27:25", "modified": "2021-01-08T18:21:23", "cvss": {"score": 9.3, "vector": "AV:N/AC:M/Au:N/C:C/I:C/A:C"}, "href": "https://github.com/advisories/GHSA-ph8p-2g97-9654", "reporter": "GitHub Advisory Database", "references": ["https://github.com/advisories/GHSA-ph8p-2g97-9654", "https://nvd.nist.gov/vuln/detail/CVE-2016-10643"], "cvelist": ["CVE-2016-10643"], "type": "github", "lastseen": "2021-01-08T21:32:34", "edition": 4, "viewCount": 0, "enchantments": {"dependencies": {"references": [{"type": "cve", "idList": ["CVE-2016-10643"]}, {"type": "nodejs", "idList": ["NODEJS:244"]}, {"type": "github", "idList": ["GHSA-PH8P-2G97-9654"]}], "modified": "2021-01-08T21:32:34", "rev": 2}, "score": {"value": 8.5, "vector": "NONE", "modified": "2021-01-08T21:32:34", "rev": 2}, "vulnersScore": 8.5}, "affectedSoftware": [{"name": "jstestdriver", "operator": "gt", "version": "0"}], "scheme": null}
{"cve": [{"lastseen": "2021-02-02T06:28:02", "description": "jstestdriver is a wrapper for Google's jstestdriver. jstestdriver downloads binary resources over HTTP, which leaves it vulnerable to MITM attacks. It may be possible to cause remote code execution (RCE) by swapping out the requested binary with an attacker controlled binary if the attacker is on the network or positioned in between the user and the remote server.", "edition": 5, "cvss3": {"exploitabilityScore": 2.2, "cvssV3": {"baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "attackComplexity": "HIGH", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "baseScore": 8.1, "privilegesRequired": "NONE", "vectorString": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "userInteraction": "NONE", "version": "3.0"}, "impactScore": 5.9}, "published": "2018-06-04T16:29:00", "title": "CVE-2016-10643", "type": "cve", "cwe": ["CWE-310"], "bulletinFamily": "NVD", "cvss2": {"severity": "HIGH", "exploitabilityScore": 8.6, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "MEDIUM", "confidentialityImpact": "COMPLETE", "availabilityImpact": "COMPLETE", "integrityImpact": "COMPLETE", "baseScore": 9.3, "vectorString": "AV:N/AC:M/Au:N/C:C/I:C/A:C", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 10.0, "obtainUserPrivilege": false}, "cvelist": ["CVE-2016-10643"], "modified": "2019-10-09T23:16:00", "cpe": ["cpe:/a:jstestdriver_project:jstestdriver:-"], "id": "CVE-2016-10643", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-10643", "cvss": {"score": 9.3, "vector": "AV:N/AC:M/Au:N/C:C/I:C/A:C"}, "cpe23": ["cpe:2.3:a:jstestdriver_project:jstestdriver:-:*:*:*:*:node.js:*:*"]}], "nodejs": [{"lastseen": "2020-09-29T11:10:49", "bulletinFamily": "software", "cvelist": ["CVE-2016-10643"], "description": "## Overview\n\nAffected versions of `jstestdriver` insecurely download an executable over an unencrypted HTTP connection. \r\n\r\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 `jstestdriver`.\n\n## Recommendation\n\nNo patch is currently available for this vulnerability, and the package has not seen an update since 2011.\r\n\r\nThe best mitigation is currently to avoid using this package, using a different package if available. \r\n\r\nAlternatively, the risk of exploitation can be reduced by ensuring that this package is not installed while connected to a public network. If the package is installed on a private network, the only people who can exploit this vulnerability are those who have compromised your network or those who have privileged access to your ISP, such as Nation State Actors or Rogue ISP Employees.", "modified": "2019-06-24T21:22:05", "published": "2016-12-01T19:07:53", "id": "NODEJS:244", "href": "https://www.npmjs.com/advisories/244", "type": "nodejs", "title": "Downloads Resources over HTTP", "cvss": {"score": 9.3, "vector": "AV:N/AC:M/Au:N/C:C/I:C/A:C"}}]}