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 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.
References
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:python:hpack:1.0:*:*:*:*:*:*:*
cpe:2.3:a:python:hpack:2.0:*:*:*:*:*:*:*
cpe:2.3:a:python:hpack:2.0.1:*:*:*:*:*:*:*
cpe:2.3:a:python:hpack:2.1.1:*:*:*:*:*:*:*
cpe:2.3:a:python:hpack:2.2:*:*:*:*:*:*:*
cpe:2.3:a:python:hyper:0.4:*:*:*:*:*:*:*
cpe:2.3:a:python:hyper:0.6:*:*:*:*:*:*:*

History

21 Nov 2024, 02:56

Type Values Removed Values Added
References () http://www.securityfocus.com/bid/92315 - Third Party Advisory, VDB Entry () http://www.securityfocus.com/bid/92315 - Third Party Advisory, VDB Entry
References () https://python-hyper.org/hpack/en/latest/security/CVE-2016-6581.html - Mitigation, Vendor Advisory () https://python-hyper.org/hpack/en/latest/security/CVE-2016-6581.html - Mitigation, Vendor Advisory

Information

Published : 2017-01-10 15:59

Updated : 2024-11-21 02:56


NVD link : CVE-2016-6581

Mitre link : CVE-2016-6581

CVE.ORG link : CVE-2016-6581


JSON object : View

Products Affected

python

  • hpack
  • hyper
CWE
CWE-399

Resource Management Errors