Auth bypass in Dart Software Development Kit
CVE-2022-0451
Dart SDK contains the HTTPClient in dart:io library whcih includes authorization headers when handling cross origin redirects. These headers may be explicitly set and contain sensitive information. By default, HttpClient handles redirection logic. If a request is sent to example.com with authorization header and it redirects to an attackers site, they might not expect attacker site to receive authorization header. We recommend updating the Dart SDK to version 2.16.0 or beyond.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.010, 63.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Dart Software Development Kit
- Google Llc Dart Sdk — versions unspecified
Weakness classification (CWE)
References
- dart-review.googlesource.com/c/sdk/+/229947 (Patch, Third Party Advisory, Issue Tracking)
- github.com/dart-lang/sdk/commit/57db739be0ad4629079bfa94840064f615d35abc (Patch, Third Party Advisory)