CVE-2020-8251: Denial of Service by resource exhaustion CWE-400 due to unfinished HTTP/1.1 requests

Published Sep 15, 2020
·
Updated

Denial of Service by resource exhaustion CWE-400 due to unfinished HTTP/1.1 requests

Other sources

Node.js < 14.11.0 is vulnerable to HTTP denial of service (DoS) attacks based on delayed requests submission which can make the server unable to accept new connections.

Node.js is vulnerable to a denial of service, caused by delayed unfinished HTTP/1.1 requests submission. An attacker could exploit this vulnerability to make the server unable to accept new connections and exhaust all available resources.

— IBM

Node.js is vulnerable to HTTP denial of service (DOS) attacks based on delayed requests submission which can make the server unable to accept new connections. The fix a new http.Server option called requestTimeout with a default value of 0 which means it is disabled by default. This should be set when Node.js is used as an edge server, for more details refer to the documentation.

All versions of the 14.x release line

— Node.Js

Affected Software

15 affected componentsFixes available
Nodejs Node.js>=14.0.0<14.11.0
Fedoraproject Fedora=33
Node.js Node.js>=14.0.0<14.11.0
14.11.0
alpine/nodejs-current<14.11.0-r0
14.11.0-r0
alpine/nodejs-current<14.11.0-r0
14.11.0-r0
alpine/nodejs-current<14.11.0-r0
14.11.0-r0
alpine/nodejs-current<14.11.0-r0
14.11.0-r0
alpine/nodejs-current<14.11.0-r0
14.11.0-r0
alpine/nodejs-current<14.11.0-r0
14.11.0-r0
alpine/nodejs-current<14.11.0-r0
14.11.0-r0
alpine/nodejs-current<14.11.0-r0
14.11.0-r0
alpine/nodejs-current<14.11.0-r0
14.11.0-r0
alpine/nodejs-current<14.11.0-r0
14.11.0-r0
alpine/nodejs-current<14.11.0-r0
14.11.0-r0
alpine/nodejs-current<14.11.0-r0
14.11.0-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 14.11.0
  2. Upgrade

    Upgrade alpine/nodejs-current to a version that resolves this vulnerability.

    Fixed in 14.11.0-r0
  3. Upgrade

    Upgrade Node.js to a version that resolves this vulnerability.

    Fixed in 14.11.0
  4. Configuration

    Set requestTimeout when Node.js is used as an edge server; its default value of 0 disables the timeout.

    Node.js http.Server requestTimeout = non-zero timeout value

Event History

Sep 15, 2020
CVE Published
via Node.js·09:05 PM
Data Sourced
via Node.js·09:05 PM
SeverityAffected Software
Data Sourced
via Node.js·09:50 PM
Description
Sep 18, 2020
CVE Published
via MITRE·08:11 PM
Data Sourced
via MITRE·08:11 PM
DescriptionWeakness
Data Sourced
via NVD·09:15 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·09:15 PM
DescriptionSeverityAffected Software
Feb 22, 2021
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2020-8251?

CVE-2020-8251 is a vulnerability in Node.js that allows for HTTP denial of service (DoS) attacks based on delayed requests submission.

2

What is the severity of CVE-2020-8251?

The severity of CVE-2020-8251 is high (7.5).

3

How does CVE-2020-8251 affect Node.js?

CVE-2020-8251 affects Node.js versions prior to 14.11.0, making them vulnerable to denial of service attacks.

4

How can an attacker exploit CVE-2020-8251?

An attacker can exploit CVE-2020-8251 by sending delayed unfinished HTTP/1.1 requests, causing the server to be unable to accept new connections and exhaust all available resources.

5

How can I fix CVE-2020-8251?

To fix CVE-2020-8251, it is recommended to update Node.js to version 14.11.0 or higher, as this vulnerability has been patched in that version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203