| タイトル | The FastAPI Expertのpython-multipartにおける入力で指定された数量の不適切な検証に関する脆弱性 |
|---|---|
| 概要 | Python-MultipartはPython用のストリーミングマルチパートパーサーです。0.0.31より前のバージョンでは、parse_form()がリクエストボディのチャンク読み取りを制限する前にContent-Lengthヘッダーの検証を行っていませんでした。Content-Lengthが負の値の場合、制限付きの読み取りがEOFまでの読み取りに変わり、固定サイズのチャンクごとではなく、リクエストボディ全体が一度にメモリに読み込まれてしまう問題が発生しました。この脆弱性は0.0.31で修正されました。 |
| 想定される影響 | ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアの一部が停止する可能性があります。 |
| 対策 | ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年6月22日0:00 |
| 登録日 | 2026年6月29日11:13 |
| 最終更新日 | 2026年6月29日11:13 |
| CVSS3.0 : 低 | |
| スコア | 3.7 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| The FastAPI Expert |
| python-multipart 0.0.31 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年06月29日] 掲載 |
2026年6月29日11:13 |
| 概要 | Python-Multipart is a streaming multipart parser for Python. Prior to 0.0.31, parse_form() did not validate the Content-Length header before using it to bound its chunked read of the request body. A negative Content-Length turned the bounded read into a read-until-EOF, so the entire body was loaded into memory in a single read instead of in fixed-size chunks. This vulnerability is fixed in 0.0.31. |
|---|---|
| 公表日 | 2026年6月23日3:16 |
| 登録日 | 2026年6月27日4:11 |
| 最終更新日 | 2026年6月27日4:50 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:fastapiexpert:python-multipart:*:*:*:*:*:python:*:* | 0.0.31 | ||||