Medium severity · published Feb 18, 2022
CVE-2022-0451
Dart SDK contains the HTTPClient in dart:io library whcih includes authorization headers when handling cross origin redirects
6.5
CVSS
1%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.0% · higher than 63% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DS
Dart Software Development Kit · Dart
before 2.16.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-0451
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-0451
Issue Tracking
https://dart-review.googlesource.com/c/sdk/+/229947
Patch
https://github.com/dart-lang/sdk/commit/57db739be0ad4629079bfa94840064f615d35abc
More from Dart Software Development Kit
9.8
CVE-2022-3095
Incorrect parsing of the backslash characters in Dart library
8.8
CVE-2021-22568
When using the dart pub publish command to publish a package to a third-party package server, the request would be authenticated with an oauth2 access_token that is valid for…
7.5
CVE-2026-27704
Dart SDK and Flutter SDK have Zip slip in Dart Pub package extraction
6.1
CVE-2021-22540
Bad validation logic in the Dart SDK versions prior to 2.12.3 allow an attacker to use an XSS attack via DOM clobbering
6.1
CVE-2020-8923
An improper HTML sanitization in Dart versions up to and including 2.7.1 and dev versions 2.8.0-dev.16.0, allows an attacker leveraging DOM Clobbering techniques to skip the…
