Parameter smuggling in @hapi/content header parser allows upload-filter bypass via duplicate parameters
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| hapijs | content | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Hapijs | Content |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-36hh-x5p5-jgc8 | @hapi/content header parser has a parameter smuggling issue that allows upload-filter bypass via duplicate parameters |
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.472% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Hapijs
Hapijs content |
|
| Vendors & Products |
Hapijs
Hapijs content |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | @hapi/content provided HTTP Content-* headers parsing. Prior to 6.0.2, Content.disposition() retained the last occurrence of each duplicate parameter while Content.type() retained the first occurrence of duplicate charset and boundary parameters, creating a parameter-smuggling primitive when another component in the request-processing chain resolves duplicates the opposite way. This can allow an upload filename allowlist bypass in headers such as Content-Disposition: form-data; name="file"; filename="safe.txt"; filename="shell.php". This issue is fixed in version 6.0.2. | |
| Title | Parameter smuggling in @hapi/content header parser allows upload-filter bypass via duplicate parameters | |
| Weaknesses | CWE-436 | |
| References |
| |
| Metrics |
cvssV4_0
|