GitHub Advisoryadvisory · PyPI
GHSA-ffq8-576r-v26g HPACK Denial of Service vulnerability (HPACK Bomb)
HIGH
Official page ↗
- Aliases
- CVE-2016-6581
- Ecosystem
- PyPI
- Packages
- hpack
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Reviewed
- 2020-06-16
Affected packages
• PyPI hpack: >= 1.0.0, < 2.3.0 → fixed in 2.3.0
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.
Related
Alias · CVE (1)
- CVE-2016-6581 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… vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-6581 advisory
- https://github.com/advisories/GHSA-ffq8-576r-v26g advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/hpack/PYSEC-2017-87.yaml web
- https://github.com/python-hyper/hpack package
- https://python-hyper.org/hpack/en/latest/security/CVE-2016-6581.html web
- https://web.archive.org/web/20200227233559/http://www.securityfocus.com/bid/92315 web
- http://python-hyper.org/projects/hpack/en/stable/security/CVE-2016-6581.html web