http-proxy-middleware: multipart/form-data field injection via unescaped CRLF in `fixRequestBody`
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| chimurai | http-proxy-middleware | affected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chimurai | Http-proxy-middleware |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-gcq2-9pq2-cxqm | http-proxy-middleware: multipart/form-data field injection via unescaped CRLF in `fixRequestBody` |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.286% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Chimurai
Chimurai http-proxy-middleware |
|
| Vendors & Products |
Chimurai
Chimurai http-proxy-middleware |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | http-proxy-middleware is node.js http-proxy middleware. From 3.0.4 until 3.0.7 and 4.1.1, fixRequestBody() is the library's documented helper for re-emitting a request body that was already consumed by a body parser. When the outgoing Content-Type is multipart/form-data, it rebuilds the body with handlerFormDataBodyData(), which interpolates each req.body key and value directly into the multipart wire format without neutralizing CR/LF. A \r\n inside a value (or key) lets an attacker close the current part and inject an entirely new form part. Because the proxy's own body parser saw a single opaque value, any gateway-side policy or validation performed on req.body is evaluated against a different set of fields than the upstream backend ultimately parses a request/parameter desynchronization across the trust boundary. This vulnerability is fixed in 3.0.7 and 4.1.1. | |
| Title | http-proxy-middleware: multipart/form-data field injection via unescaped CRLF in `fixRequestBody` | |
| Weaknesses | CWE-93 | |
| References |
| |
| Metrics |
cvssV3_1
|