CVE-2016-6581
Description
A HTTP/2 implementation built using any version of the Python HPACK library between v1.0.0 and v2.2.0 could be targeted for a denial of service attack, specifically a so-called "HPACK Bomb" attack. This attack occurs when an attacker inserts a header field that is exactly the size of the HPACK dynamic header table into the dynamic header table. The attacker can then send a header block that is simply repeated requests to expand that field in the dynamic table. This can lead to a gigantic compression ratio of 4,096 or better, meaning that 16kB of data can decompress to 64MB of data on the target machine.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 2.3.0-1 |
| debian | bullseye | fixed | 2.3.0-1 |
| debian | forky | fixed | 2.3.0-1 |
| debian | sid | fixed | 2.3.0-1 |
| debian | trixie | fixed | 2.3.0-1 |
References
- http://www.securityfocus.com/bid/92315
- https://python-hyper.org/hpack/en/latest/security/CVE-2016-6581.html
- https://nvd.nist.gov/vuln/detail/CVE-2016-6581
- https://github.com/advisories/GHSA-ffq8-576r-v26g
- https://github.com/pypa/advisory-database/tree/main/vulns/hpack/PYSEC-2017-87.yaml
- https://github.com/python-hyper/hpack
- https://web.archive.org/web/20200227233559/http://www.securityfocus.com/bid/92315
- http://python-hyper.org/projects/hpack/en/stable/security/CVE-2016-6581.html
- https://security-tracker.debian.org/tracker/CVE-2016-6581
CWEs
CWE-399
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.