CVE-2022-0451
MEDIUM
Published Feb 18, 20224y ago · Modified Jun 17, 20262w ago
6.5 CVSS 3.1
Published Feb 18, 2022 4y ago
Last Modified Jun 17, 2026 2w ago
Description
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity None
Availability None
Threat Intelligence
No active exploitation signals — not in CISA KEV and no EPSS score yet.
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 2
CWE-305
CWE-863 Incorrect Authorization Authorization
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| dart | dart_software_development_kit | * | <2.16.0 |
References 2
- dart-review.googlesource.com https://dart-review.googlesource.com/c/sdk/+/229947
- github.com https://github.com/dart-lang/sdk/commit/57db739be0ad4629079bfa94840064f615d35abc
Remediation
- dart-review.googlesource.com https://dart-review.googlesource.com/c/sdk/+/229947
- github.com https://github.com/dart-lang/sdk/commit/57db739be0ad4629079bfa94840064f615d35abc