HIGH 8.1

CVE-2016-10583

closure-util downloads Resources over HTTP

Description

Affected versions of closure-util 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 closure-util.

Recommendation

To mitigate this issue:

  1. Install the package using npm's --ignore-scripts flag.
  2. Navigate to the package directory, and open default-config.json in a text editor
  3. Change the download URLs in the compiler_url and library_url to https equivalents
  4. run npm i in the package directory.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.webjars.npm » closure-utilvia npm closure-util
<= 2.0.0-beta.1
-

Blast radius

1affected artifacts
11affected versions
2dependent artifacts (est.)
14dependent versions

0% of the dependent artifacts (0) still pull an affected version in their latest release.

DepthDependent versions
Direct
14

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

Other ecosystems

Also affects npm (1 package) . See all on OSV

References

Advisorynvd.nist.gov
Advisorygithub.com
Webnpmjs.com