Dio: Cross-origin redirect leaks sensitive request headers in `dio_http2_adapter`
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| cfug | dio | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Cfug | Dio |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-cr65-55v9-xhvv | Dio: Cross-origin redirect leaks sensitive request headers in `dio_http2_adapter` |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.359% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Cfug
Cfug dio |
|
| Vendors & Products |
Cfug
Cfug dio |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Dio is a powerful HTTP client for Dart and Flutter. From 1.0.0 until 2.8.0, dio_http2_adapter follows redirects in Http2Adapter._fetch by copying the original RequestOptions.headers into the redirected HTTP/2 request without comparing the source and destination origins. A server contacted by an application can return a cross-origin Location redirect to a different-origin destination, which then receives preserved Authorization, Cookie, and Proxy-Authorization headers because RequestOptions.copyWith retains the full header map. The issue applies when applications use Http2Adapter for authenticated requests, and redirect following is enabled by default. This issue is fixed in version 2.8.0. | |
| Title | Dio: Cross-origin redirect leaks sensitive request headers in `dio_http2_adapter` | |
| Weaknesses | CWE-200 | |
| References |
| |
| Metrics |
cvssV3_1
|