{"id":"CVE-2016-10582","aliases":["EUVD-2019-0302","GHSA-hjgp-8ffr-hwwr"],"status":"published","title":"closurecompiler downloads Resources over HTTP","description":"closurecompiler is a Closure Compiler for node.js. closurecompiler 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.76754,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-310","CWE-311"],"published":"2018-06-01T18:00:00Z","modified":"2026-06-17T00:39:58Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"closurecompiler","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.6.1"}]}]},{"source":"osv","ecosystem":"npm","package":"closurecompiler","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.6.1"}]}]}],"products":[{"vendor":"closurecompiler_project","product":"closurecompiler"},{"vendor":"hackerone","product":"closurecompiler node module"}],"references":[{"url":"https://nodesecurity.io/advisories/169","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10582","tags":["advisory"]},{"url":"https://github.com/dcodeIO/ClosureCompiler.js/commit/e59848f5975e5b15279c044daf9cff8ff192bae6","tags":["web"]},{"url":"https://github.com/advisories/GHSA-hjgp-8ffr-hwwr","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/169","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2016-10582","description":"closurecompiler is a Closure Compiler for node.js. closurecompiler 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-01T18:00:00Z","modified":"2024-09-16T19:05:13.678Z","cwes":["CWE-311"],"updated_at":"2026-11-02T14:33:31.450804Z"}],"euvd":[{"id":"EUVD-2019-0302","description":"closurecompiler is a Closure Compiler for node.js. closurecompiler 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-01T18:00:00Z","modified":"2024-09-16T19:05:13Z","updated_at":"2026-11-03T00:55:26.31684Z"}],"ghsa":[{"id":"GHSA-hjgp-8ffr-hwwr","title":"closurecompiler downloads Resources over HTTP","description":"Affected versions of `closurecompiler` 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 `closurecompiler`.\n\n\n## Recommendation\n\nUpdate to version 1.6.1 or later.","status":"published","published":"2019-02-18T23:51:19Z","modified":"2023-09-13T23:02:01Z","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"}],"cwes":["CWE-311"],"updated_at":"2026-11-02T14:37:05.004935Z"}],"nvd":[{"id":"CVE-2016-10582","description":"closurecompiler is a Closure Compiler for node.js. closurecompiler 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-01T18:29:00.503Z","modified":"2026-06-17T00:39:58.507Z","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-hjgp-8ffr-hwwr","title":"closurecompiler downloads Resources over HTTP","description":"Affected versions of `closurecompiler` 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 `closurecompiler`.\n\n\n## Recommendation\n\nUpdate to version 1.6.1 or later.","status":"published","published":"2019-02-18T23:51:19Z","modified":"2023-11-08T03:58:13.977949Z","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"}],"cwes":["CWE-311"],"updated_at":"2026-11-02T15:46:49.28217Z"}]}}
