CVE-2015-9241 Denial of Service in hapi

High 7.5 Published Updated

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).

Weakness: CWE-20, CWE-400

Which versions are affected by CVE-2015-9241?

2 open source packages ship an affected version, including hapi. It affects 1 product.

PackageAffectedFixed in
hapi npmAll versions11.1.3
hapi npmAll versions11.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.

Sources

Also known as GHSA-rc8h-3fv6-pxv8.

Is CVE-2015-9241 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free