Lucene search

K
nodejsAdam BaldwinNODEJS:165
HistoryNov 30, 2016 - 9:15 p.m.

Downloads Resources over HTTP

2016-11-3021:15:55
Adam Baldwin
www.npmjs.com
25

0.002 Low

EPSS

Percentile

54.7%

Overview

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.

References

GitHub Advisory

CPENameOperatorVersion
closure-utilge0.0.0

0.002 Low

EPSS

Percentile

54.7%