hpack 是用于 Python 的 HTTP/2 头编码库。在版本 4.2.0 之前,无限制的可变整数(variable integer)解码在处理畸形输入时会导致计算失控,引发 O(n²) 时间复杂度的运行性能问题,从而在输入数据足够大且未经过清洗的情况下,有效阻止后续处理。python-hyper/hpack 库的版本 4.2.0 已提供修复方案,将可变整数解码限制为 uint32 范围,以防止计算失控。作为临时缓解措施,建议在对 hpack 解码器接收到的长串 值进行输入清洗,以防范恶意利用。
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| python-hyper | hpack | < 4.2.0 |
affected |
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| python-hyper | hpack | < 4.2.0 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC