CVE-2022-0451

Medium

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductDart Software Development Kit
PublishedFeb 18, 2022
First seenFeb 18, 2022
Weakness typeCWE-305CWE-305

How to fix

Update
  • dart dart_software_development_kit2.16.0 or later

Affected products

ProductAffected versionsFixed in
dart dart_software_development_kitv < 2.16.02.16.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.