Vulnerability CVE-2022-0451


Published: 2022-02-18

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.

Type:

CWE-863

(Incorrect Authorization)

CVSS2 => (AV:N/AC:L/Au:S/C:P/I:N/A:N)

CVSS Base Score
Impact Subscore
Exploitability Subscore
4/10
2.9/10
8/10
Exploit range
Attack complexity
Authentication
Remote
Low
Single time
Confidentiality impact
Integrity impact
Availability impact
Partial
None
None
Affected software
DART -> Dart software development kit 

 References:
https://dart-review.googlesource.com/c/sdk/+/229947
https://github.com/dart-lang/sdk/commit/57db739be0ad4629079bfa94840064f615d35abc

Copyright 2024, cxsecurity.com

 

Back to Top