Skip to main content
← All vulnerabilities
CVE-2016-6581PYSEC-2017-87GHSA-FFQ8-576R-V26G

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 serv

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.3.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • hpackPyPI

    fixed in 2.3.0

  • hpackPyPI

    From 1.0.0 · fixed in 2.3.0

References 2

securityfocus.com

python-hyper.org