Resource Management Errors The advisory has been revoked - it doesn't affect any version of package python-hpack  (opens in a new tab)


Threat Intelligence

EPSS
1.88% (80th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1810-PYTHONHPACK-664458
  • published10 Jan 2017
  • disclosed10 Jan 2017

Introduced: 10 Jan 2017

CVE-2016-6581  (opens in a new tab)
CWE-399  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:18.10.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-hpack package and not the python-hpack package as distributed by Ubuntu.

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.