CVE-2021-22568
Summary
| CVE | CVE-2021-22568 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-12-09 17:15:00 UTC |
| Updated | 2021-12-14 19:55:00 UTC |
| 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 |
Risk And Classification
Problem Types: CWE-668
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Dart | Dart Software Development Kit | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Bump pub · dart-lang/sdk@d787e78 · GitHub | CONFIRM | github.com | |
| sdk/CHANGELOG.md at main · dart-lang/sdk · GitHub | CONFIRM | github.com | |
| Publishing to third-party package repositories may expose pub.dev credentials · Advisory · dart-lang/sdk · GitHub | CONFIRM | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.