CVE-2021-22568: dart dart_software_development_kit Credentials Management Errors
Vulnerability summary
CVE-2021-22568 is a high (CVSS 8.8) Credentials Management Errors vulnerability in dart dart_software_development_kit. EPSS estimates a 0.94% chance of exploitation in the next 30 days, higher than 60.1% of scored vulnerabilities.
Timeline
- 09-12-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
When using the dart pub publish command to publish a package to a third-party package server, the request would be authenticated with an oauth2 access_token that is valid for publishing on pub.dev. Using these obtained credentials, an attacker can impersonate the user on pub.dev. We recommend upgrading past https://github.com/dart-lang/sdk/commit/d787e78d21e12ec1ef712d229940b1172aafcdf8 or beyond version 2.15.0
CVSS metrics
3 scores · 2 sources · 2 versions- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L
EPSS trend
Probability
0.94%
Chance of exploitation in the next 30 days
Percentile
60%
Versus all other CVEs
30-day change
+0.02 pp
From 0.92% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Dart1 product
- dart_software_development_kit< 2.15.0
Google llc1 product
- dart sdk≥ unspecified, < 2.15.0
2 vendors · 2 products
References
3 links- github.com/dart-lang/sdk/commit/d787e78d21e12ec1ef712d229940b1172aafcdf8X Refsource MISCPatchThird Party Advisory