← Database

CVE-2022-0451

MEDIUM CVSS: 6.5 Published: 2022-02-18 Modified: 2026-06-17

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 Platforms

Dart Dart Software Development Kit

Weakness Type

CWE-305, CWE-863

References