Vulnerabilities · 2021 · Dart
CVE-2021-22568
Dart Software Development Kit vulnerability
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 products
Dart Software Development Kit. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Dart Software Development Kit runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Dart products
CVE-2022-3095CVE-2022-0451CVE-2021-22567CVE-2021-22540CVE-2020-35669CVE-2020-8923CVE-2014-125098CVE-2012-5389All 13
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.