CVE-2016-10642 Downloads Resources over HTTP in cmake
Attackers can execute arbitrary code by intercepting HTTP downloads of CMake binaries during installation via the npm module.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2016-10642?
CVE-2016-10642 is a high-severity vulnerability in HackerOne cmake node module, published on 4 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
cmake installs the cmake x86 linux binaries. cmake downloads binary resources over HTTP, which leaves it vulnerable to MITM attacks. It may be possible to cause remote code execution (RCE) by swapping out the requested binary with an attacker controlled binary if the attacker is on the network or positioned in between the user and the remote server.
Which versions are affected by CVE-2016-10642?
2 open source packages ship an affected version, including cmake. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
cmake npm | All versions to 0.0.4 | None |
cmake npm | All versions to 0.0.4 | None |
Products include Cmake Project Cmake.
How do I fix CVE-2016-10642?
No fix has been published for CVE-2016-10642 yet. Limit exposure of the affected software until one is available.
Is CVE-2016-10642 being exploited?
There is no known exploitation of CVE-2016-10642 in the wild and no public exploit code.
Sources
Also known as GHSA-4j59-hfw6-6w7h.