Skip to content
6.5 Medium

CVE-2022-0451 Dart SDK contains the HTTPClient in dart:io library whcih includes authorization headers when handling cross origin…

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.

Affected products and versions

Product Affected versions Fixed in
Dart SDK 2.16 earliest → < 2.16.0 2.16.0
The 4 CVEs of Dart SDK →
Track this CVE