Dart - Publishing to third-party package repositories may expose pub.dev credentials
Key Information:
- Vendor
Google
- Status
- CVE ID
- CVE ID:
- CVE-2021-22568
- Vendor
- CVE Published:
- 9 December 2021
- Fixed in
- Fixed in:
- 2.15.0
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Partly: Works over the network, but a user must act
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Update to a fixed version
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Dart SDK. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Check today"
- Its CVSS severity is high (8.8).
What is CVE-2021-22568?
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
References
More Google Vulnerabilities
Improper Input Validation in Google Chrome Affects Multiple Versions
Use After Free Vulnerability in Google Chrome on Android
Use After Free Vulnerability in Google Chrome for Android
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction