SecurityContext

CVE-2022-0451: Dart SDK - Information Disclosure

  • Cve: CVE-2022-0451
  • Name: Dart SDK - Information Disclosure
  • 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.
  • Impact: Attackers can receive sensitive authorization headers via redirects, leading to potential credential theft or session hijacking.
  • Remediation: Update Dart SDK to version 2.16.0 or later.
  • Vulnerability type: misconfiguration
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.00998
  • Epss percentile: 0.63614
  • Assignee: [email protected]
  • Published at: 2022-02-18T14:15:07Z
  • Age in days: 1740
  • Modified at: 2026-06-17T04:20:37Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-0451
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-305Authentication Bypass by Primary Weakness
CWE-863Incorrect Authorization

References

UrlSourceTags
https://dart-review.googlesource.com/c/sdk/+/229947nvdIssue Tracking, Patch, Third Party Advisory
https://github.com/dart-lang/sdk/commit/57db739be0ad4629079bfa94840064f615d35abcnvdPatch, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
dart:dart_software_development_kit< 2.16.0nonvd/v1/products/dart/dart_software_development_kit

Projects

RepositoryLink kindsIndexedUrl
dart-lang/sdkcommityes/v1/repositories/dart-lang/sdk

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts