{"id":"CVE-2021-22568","published":"2021-12-09T17:05:12Z","modified":"2024-08-03T18:44:14Z","title":"Dart - Publishing to third-party package repositories may expose pub.dev credentials","vendor":"Google","product":"Dart SDK","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00937,"percentile":0.59205,"provenance":"source"},"cwes":[{"id":"CWE-255","name":"Credentials Management"}],"references":[{"url":"https://github.com/dart-lang/sdk/commit/d787e78d21e12ec1ef712d229940b1172aafcdf8","tags":["x_refsource_MISC"]},{"url":"https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md","tags":["x_refsource_MISC"]},{"url":"https://github.com/dart-lang/sdk/security/advisories/GHSA-r32f-vhjp-qhj7","tags":["x_refsource_MISC"]}],"priority":{"score":18.0,"factors":[{"name":"EPSS percentile","points":11.84},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"google","affectedVersions":[{"vendor":"Google LLC","product":"Dart SDK","versions":[">= unspecified, < 2.15.0"]}],"euvd":{"id":"EUVD-2021-9707","exploited":false,"provenance":"source"}}