CVE-2016-10638 Downloads Resources over HTTP in js-given
An attacker can execute arbitrary code by intercepting HTTP downloads of binary resources in the js-given library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2016-10638?
CVE-2016-10638 is a high-severity vulnerability in HackerOne js-given 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
js-given is a JavaScript frontend to jgiven. js-given 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-10638?
2 open source packages ship an affected version, including js-given. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
js-given npm | All versions | 0.0.18 |
js-given npm | All versions | 0.0.18 |
Products include Js-Given Project Js-Given.
How do I fix CVE-2016-10638?
Upgrade js-given to 0.0.18 or later.
Is CVE-2016-10638 being exploited?
There is no known exploitation of CVE-2016-10638 in the wild and no public exploit code.
Sources
Also known as GHSA-rqwh-c535-j9hw.