GHSA-2hpj-g53m-9gj6

Suggest an improvement
Source
https://github.com/advisories/GHSA-2hpj-g53m-9gj6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/02/GHSA-2hpj-g53m-9gj6/GHSA-2hpj-g53m-9gj6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-2hpj-g53m-9gj6
Aliases
  • CVE-2016-10583
Published
2019-02-18T23:58:03Z
Modified
2023-11-08T03:58:14.038941Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
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.

Database specific
{
    "github_reviewed_at": "2020-06-16T20:52:08Z",
    "cwe_ids": [
        "CWE-311"
    ],
    "nvd_published_at": null,
    "severity": "HIGH",
    "github_reviewed": true
}
References

Affected packages

npm / closure-util

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
2.0.0-beta.1