Denial of Service Vulnerability in nodejs

nodejs Updated 02 Oct 2025

Summary

13/08/2019
N/A
Yes i
High
7.5

CVE-2019-9518: Some HTTP/2 implementations are vulnerable to a flood of empty frames, potentially leading to a denial of service. Affects nodejs across 2 version ranges.

< 10.16.3-r0 >= f6fc46e03674ab1896792b7363ecac0665b5e0c5, < eb66efd6052801e2f10360c51787569da0185808

Fixed in 10.16.3-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Node.js is a popular open-source JavaScript runtime built on Chrome's V8 JavaScript engine. It is designed to build scalable network applications and is widely used for server-side and networking applications. However, certain versions of Node.js are vulnerable to a Denial of Service (DoS) attack due to a flaw in the HTTP/2 implementation.

Vulnerability Detail

The vulnerability, identified as CVE-2019-9518, allows an attacker to flood the target system with a stream of empty frames without the end-of-stream flag. These frames can be of various types, including DATA, HEADERS, CONTINUATION, and PUSH_PROMISE. As a result, the target system spends excessive CPU time processing each frame, leading to a potential DoS condition. This can result in service disruption and unavailability.

How To Fix

Minimum fixed version

10.16.3-r0

This is the first release that contains the fix.

sudo apk add --upgrade nodejs

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there is no known workaround for this vulnerability. It is essential to apply the recommended fix by updating the Node.js package to the patched version.

Conclusion

The Denial of Service vulnerability in Node.js can be mitigated by updating the affected package to version 10.16.3-r0 or later. It is crucial to apply this fix to prevent potential service disruption and ensure the availability of your Node.js applications. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for nodejs →

Share this vulnerability

FAQ

The vulnerability can lead to a DoS condition, causing service disruption and unavailability.

The vulnerability affects Node.js versions prior to 10.16.3-r0.

At the time of this report, there is no known public exploit for this vulnerability.

The recommended mitigation is to update the Node.js package to version 10.16.3-r0 or later.

You can find more information about this vulnerability in the official CVE-2019-9518 advisory.

Related vulnerabilities

Recent vulnerabilities recorded for nodejs.

How To Fix

Minimum fixed version

10.16.3-r0

This is the first release that contains the fix.

sudo apk add --upgrade nodejs

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback