CVE-2021-22568 Details
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
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md | CVE | PatchThird Party Advisory |
| https://github.com/dart-lang/sdk/commit/d787e78d21e12ec1ef712d229940b1172aafcdf8 | CVE | PatchThird Party Advisory |
| https://github.com/dart-lang/sdk/security/advisories/GHSA-r32f-vhjp-qhj7 | CVE | Issue Tracking |
| https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md | [email protected] | PatchThird Party Advisory |
| https://github.com/dart-lang/sdk/commit/d787e78d21e12ec1ef712d229940b1172aafcdf8 | [email protected] | PatchThird Party Advisory |
| https://github.com/dart-lang/sdk/security/advisories/GHSA-r32f-vhjp-qhj7 | [email protected] | Issue Tracking |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-668 | Exposure of Resource to Wrong Sphere | [email protected] |
| CWE-255 | Credentials Management Errors | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| dart dart software development kit | < 2.15.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Dec 14, 2021 | Initial Analysis | [email protected] |