The FastAPI Expertのpython-multipartにおける入力で指定された数量の不適切な検証に関する脆弱性
| Title |
The FastAPI Expertのpython-multipartにおける入力で指定された数量の不適切な検証に関する脆弱性
|
| Summary |
Python-MultipartはPython用のストリーミングマルチパートパーサーです。0.0.31より前のバージョンでは、parse_form()がリクエストボディのチャンク読み取りを制限する前にContent-Lengthヘッダーの検証を行っていませんでした。Content-Lengthが負の値の場合、制限付きの読み取りがEOFまでの読み取りに変わり、固定サイズのチャンクごとではなく、リクエストボディ全体が一度にメモリに読み込まれてしまう問題が発生しました。この脆弱性は0.0.31で修正されました。
|
| Possible impacts |
・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアの一部が停止する可能性があります。 |
| Solution |
ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
June 22, 2026, midnight |
| Registration Date |
June 29, 2026, 11:13 a.m. |
| Last Update |
June 29, 2026, 11:13 a.m. |
|
CVSS3.0 : 低
|
| Score |
3.7
|
| Vector |
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected System
| The FastAPI Expert |
|
python-multipart 0.0.31 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年06月29日] 掲載 |
June 29, 2026, 11:13 a.m. |
NVD Vulnerability Information
CVE-2026-53540
| Summary |
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.
|
| Publication Date |
June 23, 2026, 3:16 a.m. |
| Registration Date |
June 27, 2026, 4:11 a.m. |
| Last Update |
June 27, 2026, 4:50 a.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:fastapiexpert:python-multipart:*:*:*:*:*:python:*:* |
|
|
|
0.0.31 |
Related information, measures and tools
Common Vulnerabilities List