HTTP/2 DoS Attacks: Ping, Reset, and Settings FloodsGHSA-32gv-6cf3-wcmq
Fix: twisted/twisted@a40ab1cGHSA-32gv-6cf3-wcmq is a security vulnerability in twisted. A fix is available for twisted — see the affected versions and patch details below.
Real-World Exposure
twistedReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
Impact
Twisted web servers that utilize the optional HTTP/2 support suffer from the following flow-control related vulnerabilities:
Ping flood: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9512 Reset flood: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9514 Settings flood: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9515
A Twisted web server supports HTTP/2 requests if you've installed the http2 optional dependency set.
Workarounds
There are no workarounds.
References
https://github.com/Netflix/security-bulletins/blob/master/advisories/third-party/2019-002.md
For more information
If you have any questions or comments about this advisory:
- Open an issue in Twisted's Trac
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | twisted | all versions | 19.10.0pip install --upgrade 'twisted==19.10.0' |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for twisted, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update twisted to 19.10.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-32gv-6cf3-wcmq is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-32gv-6cf3-wcmq in your dependencies?
Find it across PyPI, including transitive dependencies.