CVE-2016-10582:
closurecompiler downloads Resources over HTTP
8.1
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
2/18/2019
Updated
9/13/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
closurecompiler | npm | <= 1.6.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the insecure download mechanism in scripts/configure.js
. The commit diff shows the jrePrefix
URL was originally HTTP, and the download
function was called with this URL to retrieve the executable. The download
function itself handles the network request, and since it used HTTP (without encryption), it allowed MITM attacks. The patch changed the URL to HTTPS, confirming the function's role in the vulnerability.