GHSA-32gv-6cf3-wcmq: HTTP/2 DoS Attacks Ping, Reset, And Settings Floods Vulnerability

CRITICAL
Published
Advisory Summary

GHSA-32gv-6cf3-wcmq is a CRITICAL ping, reset, and settings floods vulnerability (General Security Weakness) affecting HTTP/2 DoS Attacks libraries in the PyPI ecosystem. The issue involves ping, reset, and settings floods. Remediation is available by upgrading affected packages to version 19.10.0.

GHSA-32gv-6cf3-wcmq at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-32gv-6cf3-wcmq
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product HTTP/2 DoS Attacks
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix GHSA-32gv-6cf3-wcmq

To remediate this vulnerability, upgrade all affected HTTP/2 DoS Attacks dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

twisted fixed: 19.10.0
pip install twisted>=19.10.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show twisted

How to Check if You Are Affected

To determine whether your Python environment is affected by GHSA-32gv-6cf3-wcmq, inspect your installed packages using pip:

pip show twisted

Analyze the terminal output to locate any version of HTTP/2 DoS Attacks in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 19.10.0), your application is affected.

Note: The pip show twisted command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In HTTP/2 DoS Attacks, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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](https://twistedmatrix.com/documents/19.2.0/installation/howto/optional.html). ### 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](https://twistedmatrix.com/trac/)

GHSA-32gv-6cf3-wcmq Affected HTTP/2 DoS Attacks Versions

1 component(s)
Fixed Versions:
19.10.0
Product / Package Ecosystem Affected Versions Fixed Version
twisted
PyPI
< 19.10.0
19.10.0

References

Frequently Asked Questions

What is GHSA-32gv-6cf3-wcmq?
GHSA-32gv-6cf3-wcmq is a security vulnerability in HTTP/2 DoS Attacks involving Ping, Reset, and Settings Floods under General Security Weakness.
Which HTTP/2 DoS Attacks versions are affected?
Affected versions include releases prior to 19.10.0 across affected packages: twisted.
What version fixes GHSA-32gv-6cf3-wcmq?
Upgrading to 19.10.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is twisted affected?
Yes, twisted is affected in releases prior to 19.10.0. Upgrade your dependency to 19.10.0 or later.
What CWE is associated with GHSA-32gv-6cf3-wcmq?
GHSA-32gv-6cf3-wcmq is classified under General Security Weakness.
How can I check PyPI dependencies for GHSA-32gv-6cf3-wcmq?
Run the dependency tree command: 'pip show twisted'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-32gv-6cf3-wcmq",
  "modified" : "2022-03-14T22:45:11Z",
  "published" : "2022-03-14T22:45:11Z",
  "aliases" : [ ],
  "summary" : "HTTP/2 DoS Attacks: Ping, Reset, and Settings Floods",
  "details" : "### Impact\nTwisted web servers that utilize the optional HTTP/2 support suffer from the following flow-control related vulnerabilities:\n\nPing flood: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9512\nReset flood: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9514\nSettings flood: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9515\n\nA Twisted web server supports HTTP/2 requests if you've installed the [`http2` optional dependency set](https://twistedmatrix.com/documents/19.2.0/installation/howto/optional.html).\n\n### Workarounds\nThere are no workarounds.\n\n### References\nhttps://github.com/Netflix/security-bulletins/blob/master/advisories/third-party/2019-002.md\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Twisted's Trac](https://twistedmatrix.com/trac/)\n",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "twisted"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "19.10.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/twisted/twisted/security/advisories/GHSA-32gv-6cf3-wcmq"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/twisted/twisted/commit/a40ab1ce5210f231abe7a448a54d7e88e48f2d5d"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/twisted/twisted"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-03-14T22:45:11Z",
    "nvd_published_at" : null
  }
}