CVE-2021-22568 describes a vulnerability in the Dart SDK where the 'dart pub publish' command could inadvertently expose an oauth2 access_token valid for pub.dev when publishing to a third-party server. This allows an attacker to impersonate the user on pub.dev. With a CVSS score of 8.8 (HIGH), this vulnerability has a network attack vector, low attack complexity, and could lead to high impact on integrity and low impact on confidentiality and availability. While no active exploitation, public exploit code, or significant community discussion has been observed, upgrading to Dart SDK version 2.15.0 or later is recommended to mitigate this risk.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 2.15.0CPE matchmatch criteria | cpe:2.3:a:dart:dart_software_development_kit:*:*:*:*:*:*:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L
The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.2 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.1 Security Researcher mentions.