Skip to content

Downloads Resources over HTTP in cmake

High severity GitHub Reviewed Published Aug 15, 2018 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

npm cmake (npm)

Affected versions

<= 0.0.4

Patched versions

None

Description

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

Recommendation

No patch is currently available for this vulnerability.

The best mitigation is currently to avoid using this package, using a different package if available, or installing the cmake binaries via a system package manager, such as apt-get.

Alternatively, the risk of exploitation can be reduced 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.

References

Published to the GitHub Advisory Database Aug 15, 2018
Reviewed Jun 16, 2020
Last updated Jan 9, 2023

Severity

High

EPSS score

0.175%
(56th percentile)

CVE ID

CVE-2016-10642

GHSA ID

GHSA-4j59-hfw6-6w7h

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.