---
cve: "CVE-2021-22568"
severity: "HIGH"
cvss: 8.8
epss: "92%"
vendor: "Google LLC"
kev: false
exploited: false
published: "2021-12-09 17:15:07"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-11T13:03:11+02:00"
---

# CVE-2021-22568

> 8.8 HIGH · 🧪 PoC

## Beschreibung

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-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Erforderlich | good |
| S Scope | Verändert | bad |
| C Vertraulichkeit | Gering | warn |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Gering | warn |

## Patch verfügbar (OSV)

- 3d2629cd0310df74bdf260d828ed3c75f25db889 (Commit)
- d787e78d21e12ec1ef712d229940b1172aafcdf8 (Commit)

## Referenzen

- <https://github.com/dart-lang/sdk/commit/d787e78d21e12ec1ef712d229940b1172aafcdf8>
- <https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md>
- <https://github.com/dart-lang/sdk/security/advisories/GHSA-r32f-vhjp-qhj7>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2021-22568) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
