{"id":"CVE-2016-10638","aliases":["EUVD-2019-0341","GHSA-rqwh-c535-j9hw"],"status":"published","title":"Downloads Resources over HTTP in js-given","description":"js-given is a JavaScript frontend to jgiven. js-given 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.","severity":{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01656,"percentile":0.76751,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-310","CWE-311"],"published":"2018-06-04T16:00:00Z","modified":"2026-06-17T00:40:04Z","fixes":[{"ecosystem":"npm","package":"js-given","fixed_in":["0.0.18"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"js-given","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.18"}]}]},{"source":"osv","ecosystem":"npm","package":"js-given","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.18"}]}]}],"products":[{"vendor":"hackerone","product":"js-given node module"},{"vendor":"js-given_project","product":"js-given"}],"references":[{"url":"https://nodesecurity.io/advisories/241","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10638","tags":["advisory"]},{"url":"https://github.com/jsGiven/jsGiven/commit/92f750739c7b9b6e704e562ad34e2ad148acad64)","tags":["web"]},{"url":"https://github.com/advisories/GHSA-rqwh-c535-j9hw","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/241","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2016-10638","description":"js-given is a JavaScript frontend to jgiven. js-given 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.","status":"published","published":"2018-06-04T16:00:00Z","modified":"2024-09-16T17:43:24.772Z","cwes":["CWE-311"],"updated_at":"2026-11-02T14:33:31.450804Z"}],"euvd":[{"id":"EUVD-2019-0341","description":"js-given is a JavaScript frontend to jgiven. js-given 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.","status":"published","published":"2018-06-04T16:00:00Z","modified":"2024-09-16T17:43:24Z","updated_at":"2026-11-03T00:55:39.247967Z"}],"ghsa":[{"id":"GHSA-rqwh-c535-j9hw","title":"Downloads Resources over HTTP in js-given","description":"Affected versions of `js-given` 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 `js-given`.\n\n\n## Recommendation\n\nUpdate to version 0.0.18 or later.","status":"published","published":"2019-02-18T23:47:09Z","modified":"2023-01-09T05:03:36Z","cwes":["CWE-311"],"updated_at":"2026-11-02T14:36:05.705235Z"}],"nvd":[{"id":"CVE-2016-10638","description":"js-given is a JavaScript frontend to jgiven. js-given 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.","status":"published","published":"2018-06-04T16:29:00.423Z","modified":"2026-06-17T00:40:04.693Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-311","CWE-310"],"updated_at":"2026-11-02T14:03:39.621168Z"}],"osv":[{"id":"GHSA-rqwh-c535-j9hw","title":"Downloads Resources over HTTP in js-given","description":"Affected versions of `js-given` 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 `js-given`.\n\n\n## Recommendation\n\nUpdate to version 0.0.18 or later.","status":"published","published":"2019-02-18T23:47:09Z","modified":"2023-11-08T03:58:17.397664Z","cwes":["CWE-311"],"updated_at":"2026-11-02T15:46:56.281047Z"}]}}
