HTTP/2 DoS Attacks in Twisted

twisted Updated 02 Oct 2025

Summary

14/03/2022
CRITICAL
Yes i
Critical
Not published

GHSA-32gv-6cf3-wcmq: HTTP/2 DoS Attacks: Ping, Reset, and Settings Floods. Affects twisted versions < 19.10.0. Fixed in 19.10.0. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Twisted is an event-driven networking engine written in Python. It provides a framework for building networked applications, including web servers. Twisted web servers that utilize the optional HTTP/2 support are vulnerable to DoS attacks, specifically Ping, Reset, and Settings floods. These vulnerabilities can be exploited by malicious actors to disrupt the normal functioning of the server.

Vulnerability Detail

The HTTP/2 DoS vulnerabilities in Twisted web servers are flow-control related. The Ping flood vulnerability (CVE-2019-9512) allows an attacker to send a large number of Ping frames, overwhelming the server's resources. The Reset flood vulnerability (CVE-2019-9514) enables an attacker to flood the server with RST_STREAM frames, causing it to terminate connections. The Settings flood vulnerability (CVE-2019-9515) allows an attacker to send a large number of SETTINGS frames, potentially causing the server to consume excessive resources. These vulnerabilities affect Twisted web servers that have the optional HTTP/2 support installed.

How To Fix

Latest published version: 26.4.0 as of 23 Oct 2026

pip install --upgrade "twisted==26.4.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

19.10.0

This is the first release that contains the fix.

pip install --upgrade "twisted==19.10.0"

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

Workaround

There are no known workarounds for these vulnerabilities. It is essential to update the Twisted package to the fixed version to mitigate the risk.

Conclusion

Twisted web servers that utilize the optional HTTP/2 support are vulnerable to DoS attacks, including Ping, Reset, and Settings floods. To protect your server, it is crucial to update the Twisted package to version 19.10.0 or later. This update includes patches that address the flow-control vulnerabilities in the HTTP/2 implementation. If you have any further questions or need assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for twisted →

Share this vulnerability

FAQ

Twisted is an event-driven networking engine written in Python. It provides a framework for building networked applications, including web servers.

HTTP/2 is a major revision of the HTTP network protocol. It introduces several performance improvements and new features compared to the previous version, HTTP/1.1.

A Ping flood is a type of DoS attack where an attacker sends a large number of Ping frames to overwhelm the server's resources and disrupt its normal functioning.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Simply provide your Pipfile.lock, and Vulert will analyze it for open-source vulnerabilities, including the HTTP/2 DoS vulnerabilities in Twisted.

Yes, updating the Twisted package to version 19.10.0 or later will fix these vulnerabilities. It is recommended to apply the update as soon as possible to mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for twisted.

How To Fix

Latest published version: 26.4.0 as of 23 Oct 2026

pip install --upgrade "twisted==26.4.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

19.10.0

This is the first release that contains the fix.

pip install --upgrade "twisted==19.10.0"

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