{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-22568","published":"2021-12-09T17:15:07.567000Z","last_modified":"2026-06-17T03:37:26.600000Z","status":"Modified","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-255","CWE-668"],"cpes":[{"criteria":"cpe:2.3:a:dart:dart_software_development_kit:*:*:*:*:*:*:*:*","part":"a","vendor":"dart","product":"dart_software_development_kit","version_end_excluding":"2.15.0"}],"cpes_truncated":false,"vendors":["dart"],"products":["dart/dart_software_development_kit"],"epss":{"score":0.00937,"percentile":0.61882,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":68,"links":{"html_es":"/es/cve/CVE-2021-22568/","html_en":"/en/cve/CVE-2021-22568/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-22568","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-22568"},"untrusted":{"vendor_name":"Dart","product_name":"Dart Software Development Kit","desc_en":"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","affected":[{"untrusted_vendor":"Google LLC","untrusted_product":"Dart SDK","versions":[]}],"references":[{"url":"https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/dart-lang/sdk/commit/d787e78d21e12ec1ef712d229940b1172aafcdf8","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/dart-lang/sdk/security/advisories/GHSA-r32f-vhjp-qhj7","tags":["Issue Tracking"]}]}}