Loading HuntDB...

GHSA-4j59-hfw6-6w7h

GitHub Security Advisory

Downloads Resources over HTTP in cmake

✓ GitHub Reviewed HIGH Has CVE

Advisory Details

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.

Affected Packages

npm cmake
Affected versions: 0 (last affected: 0.0.4)

Related CVEs

Key Information

GHSA ID
GHSA-4j59-hfw6-6w7h
Published
August 15, 2018 7:30 PM
Last Modified
September 16, 2021 8:54 PM
CVSS Score
7.5 /10
Primary Ecosystem
npm
Primary Package
cmake
GitHub Reviewed
✓ Yes

Dataset

Last updated: July 3, 2025 6:26 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.