GitHub Advisoryadvisory · npm

GHSA-59m2-j944-839w clang-extra downloads Resources over HTTP

HIGH Published 2019-02-18 Modified 2023-09-07 Official page ↗
Aliases
CVE-2016-10655
Ecosystem
npm
Packages
clang-extra
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-311
Reviewed
2020-06-16

Affected packages

• npm clang-extra: <= 0.1.1 (no fix yet)

Description

Affected versions of `clang-extra` 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 `clang-extra`. Recommendation No patch is currently available for this vulnerability. The package author stated that no patch is possible until llvm provides HTTPS support, and a patch would be possible if that ever happened in the future. The best mitigation option is to reduce the risk of exploitation as much as possible. This can be done by ensuring that this package is not installed while connected to a public network. If the package is installed on a private network, the only people who can exploit this vulnerability are those who have compromised your network or those who have privileged access to your ISP, such as Nation State Actors or Rogue ISP Employees.

Related

Alias · CVE (1)

  • CVE-2016-10655 The clang-extra module installs LLVM's clang-extra tools. vulnerability

Weakness · CWE (1)

  • CWE-311 Missing Encryption of Sensitive Data weakness

References