CVE-2021-22568
CVSS V2 Medium 6
CVSS V3 High 8.8
Description
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
Overview
- CVE ID
- CVE-2021-22568
- Assigner
- cve-coordination@google.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-12-09T17:15:07
- Last Modified Date
- 2021-12-14T19:55:06
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:dart:dart_software_development_kit:*:*:*:*:*:*:*:* | 1 | OR | 2.15.0 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:S/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- SINGLE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6
- Severity
- MEDIUM
- Exploitability Score
- 6.8
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- CHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- LOW
- Base Score
- 8.8
- Base Severity
- HIGH
- Exploitability Score
- 2.8
- Impact Score
- 5.3
References
Reference URL | Reference Tags |
---|---|
https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md | Patch Third Party Advisory |
https://github.com/dart-lang/sdk/security/advisories/GHSA-r32f-vhjp-qhj7 | Issue Tracking |
https://github.com/dart-lang/sdk/commit/d787e78d21e12ec1ef712d229940b1172aafcdf8 | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-22568 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22568 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:41:23 | Added to TrackCVE | |||
2022-12-06 03:29:32 | security@google.com | cve-coordination@google.com | CVE Assigner | updated |
2022-12-06 03:29:32 | 2021-12-09T17:15Z | 2021-12-09T17:15:07 | CVE Published Date | updated |
2022-12-06 03:29:32 | 2021-12-14T19:55:06 | CVE Modified Date | updated | |
2022-12-06 03:29:32 | Analyzed | Vulnerability Status | updated |