httpx、圧縮された応答の展開が無制限で、メモリを使い果たされる脆弱性
Summary
httpx 0.29.0以前のPythonのHTTPクライアントには、圧縮された応答を展開する量に上限がなく、悪意のあるサーバーからの応答でクライアントのメモリを使い果たされ、プロセスが終了させられる脆弱性があります。CVSS v3.1は5.9、CVSS v4.0は8.2です。影響を受ける版の修正版は、公開された情報では確認できていません。最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
httpx 0.29.0以前のPythonのHTTPクライアントには、圧縮された応答を展開する量に上限がなく、悪意のあるサーバーからの応答でクライアントのメモリを使い果たされ、プロセスが終了させられる脆弱性があります。CVSS v3.1は5.9、CVSS v4.0は8.2です。影響を受ける版の修正版は、公開された情報では確認できていません。最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| encodehttpx |
≤ 0.29.0→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
Encode httpx through 0.29.0 contains an unbounded decompression vulnerability that allows malicious servers to exhaust client memory by returning highly compressed response bodies. Attackers can stack Content-Encoding layers so each 64 KB network read expands to tens of megabytes, bypassing iter_bytes chunk limits and terminating the process.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- web github.com
- web github.com