CVE-2019-5739 Denial of service in Node.js
Attackers can exhaust server resources by keeping HTTP/HTTPS connections open, causing denial of service in older Node.js versions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-5739?
CVE-2019-5739 is a high-severity denial of service vulnerability in Nodejs Node.js, published on 28 Mar 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Keep-alive HTTP and HTTPS connections can remain open and inactive for up to 2 minutes in Node.js 6.16.0 and earlier. Node.js 8.0.0 introduced a dedicated server.keepAliveTimeout which defaults to 5 seconds. The behavior in Node.js 6.16.0 and earlier is a potential Denial of Service (DoS) attack vector. Node.js 6.17.0 introduces server.keepAliveTimeout and the 5-second default.
Which versions are affected by CVE-2019-5739?
It affects 2 products.
Products include Nodejs Node.js, Opensuse Leap.
How do I fix CVE-2019-5739?
Upgrade to a fixed version.
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-2019-5739 being exploited?
There is no known exploitation of CVE-2019-5739 in the wild and no public exploit code.
Other vulnerabilities in Nodejs Node.js
Sources
Also known as DEBIAN-CVE-2019-5739, GHSA-wr35-fh22-q84x, UBUNTU-CVE-2019-5739.