Advisory

GHSA-2hpj-g53m-9gj6

Also known as: CVE-2016-10583

Summary

closure-util downloads Resources over HTTP

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2019-02-18 23:58 UTC
Modified
2023-11-08 03:58 UTC

Affected packages and fixes

closure-util

npm · All systems

Affected

  • introduced 0, last affected 2.0.0-beta.1 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences