PYSEC-2017-87

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/hpack/PYSEC-2017-87.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2017-87
Aliases
Published
2017-01-10T15:59:00Z
Modified
2023-11-08T03:58:32.800713Z
Summary
[none]
Details

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

Affected packages

PyPI / hpack

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.0

Affected versions

1.*

1.0.0
1.0.1
1.1.0

2.*

2.0.0
2.0.1
2.1.0
2.1.1
2.2.0