CVE-2015-9241 Denial of Service in hapi
An attacker can cause a denial of service by sending malformed headers that keep sockets open until timeout, affecting hapi users.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2015-9241?
CVE-2015-9241 is a high-severity denial of service vulnerability in HackerOne hapi node module, published on 29 May 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Certain input passed into the If-Modified-Since or Last-Modified headers will cause an 'illegal access' exception to be raised. Instead of sending a HTTP 500 error back to the sender, hapi node module before 11.1.3 will continue to hold the socket open until timed out (default node timeout is 2 minutes).
Which versions are affected by CVE-2015-9241?
2 open source packages ship an affected version, including hapi. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
hapi npm | All versions | 11.1.3 |
hapi npm | All versions | 11.1.3 |
Products include Hapijs Hapi.
How do I fix CVE-2015-9241?
Upgrade hapi to 11.1.3 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2015-9241 being exploited?
There is no known exploitation of CVE-2015-9241 in the wild and no public exploit code.
Other vulnerabilities in HackerOne hapi node module
Sources
Also known as GHSA-rc8h-3fv6-pxv8.