@hapi/wreck: Sensitive credential headers leak across cross-port and cross-scheme redirects
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 | wreck | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Hapijs | Wreck |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-x426-x7cc-3fpc | @hapi/wreck: Sensitive credential headers leak across cross-port and cross-scheme redirects |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.176% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Hapijs
Hapijs wreck |
|
| Vendors & Products |
Hapijs
Hapijs wreck |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | @hapi/wreck is an HTTP client utility. Prior to 18.1.2, Wreck strips credential headers including Authorization, Cookie, and Proxy-Authorization before following a cross-origin redirect, but the origin check compares hostnames only and ignores scheme and port, so credentials are forwarded intact across same-host port changes and HTTPS-to-HTTP downgrades, allowing a co-tenant on an adjacent port or a network-position attacker capable of forging a redirect to capture bearer tokens, session cookies, and proxy credentials and impersonate the victim against the upstream service. This issue is fixed in version 18.1.2. | |
| Title | @hapi/wreck: Sensitive credential headers leak across cross-port and cross-scheme redirects | |
| Weaknesses | CWE-319 CWE-346 CWE-522 |
|
| References |
| |
| Metrics |
cvssV3_1
|