Python-Multipart: Negative Content-Length in parse_form buffers the entire body in memory
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Kludex | python-multipart | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Kludex | Python-multipart |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-v9pg-7xvm-68hf | python-multipart: Negative Content-Length in parse_form buffers the entire body in memory |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.342% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-400 | |
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Kludex
Kludex python-multipart |
|
| Vendors & Products |
Kludex
Kludex python-multipart |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | Python-Multipart: Negative Content-Length in parse_form buffers the entire body in memory | |
| Weaknesses | CWE-1284 | |
| References |
| |
| Metrics |
cvssV3_1
|