Multipart form body parser bypasses body size limits in wisp
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| gleam-wisp | wisp | unaffected |
|
||||||
| gleam-wisp | wisp | unaffected |
|
No data.
| Vendor | Product | Versions | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Gleam-wisp | Wisp |
|
||||||||||||||||||||
| Gleam-wisp | Wisp |
|
||||||||||||||||||||
| Gleam-wisp | Wisp |
|
Vendor Workaround
Deploy a reverse proxy (such as nginx or HAProxy) in front of the wisp application and configure it to enforce request body size limits.
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-8645-p2v4-73r2 | wisp has Allocation of Resources Without Limits or Throttling |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.633% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Allocation of Resources Without Limits or Throttling vulnerability in gleam-wisp wisp allows a denial of service via multipart form body parsing. The multipart_body function bypasses configured max_body_size and max_files_size limits. When a multipart boundary is not present in a chunk, the parser takes the MoreRequiredForBody path, which appends the chunk to the output but passes the quota unchanged to the recursive call. Only the final chunk containing the boundary is counted via decrement_quota. The same pattern exists in multipart_headers, where MoreRequiredForHeaders recurses without calling decrement_body_quota. An unauthenticated attacker can exhaust server memory or disk by sending arbitrarily large multipart form submissions in a single HTTP request. This issue affects wisp: from 0.2.0 before 2.2.2. | |
| Title | Multipart form body parser bypasses body size limits in wisp | |
| First Time appeared |
Gleam-wisp
Gleam-wisp wisp |
|
| Weaknesses | CWE-770 | |
| CPEs | cpe:2.3:a:gleam-wisp:wisp:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Gleam-wisp
Gleam-wisp wisp |
|
| References |
| |
| Metrics |
cvssV4_0
|