httpx2にメモリを使い果たされる脆弱性、悪意あるサーバーから攻撃される恐れ
Summary
httpx2の2.17.0までには、悪意あるサーバーからの応答でクライアントのメモリを使い果たさせられる脆弱性があります。圧縮された応答を展開すると約1000対1に膨らみ、iter_lines()やaiter_lines()で読み取るクライアントが停止する恐れがあります。修正版の有無は事実に記載がないため、最新の情報を確認してください。
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.
httpx2の2.17.0までには、悪意あるサーバーからの応答でクライアントのメモリを使い果たさせられる脆弱性があります。圧縮された応答を展開すると約1000対1に膨らみ、iter_lines()やaiter_lines()で読み取るクライアントが停止する恐れがあります。修正版の有無は事実に記載がないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| pydantichttpx2 |
≤ 2.17.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.
Pydantic httpx2 through 2.17.0 contains an unbounded memory allocation vulnerability in LineDecoder that allows malicious servers to exhaust client memory by sending decompressed bodies without newlines. Attackers can return highly compressed gzip, deflate, brotli or zstd responses that inflate roughly 1000 to 1, terminating clients reading via iter_lines() or aiter_lines().
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web github.com
- web github.com
- web vulncheck.com
- web nvd.nist.gov
- web github.com