Lucene search

K
cve[email protected]CVE-2021-22568
HistoryDec 09, 2021 - 5:15 p.m.

CVE-2021-22568

2021-12-0917:15:07
CWE-255
CWE-668
web.nvd.nist.gov
22
cve-2021-22568
improper access control
authentication bypass
third-party package server
oauth2
pub.dev
vulnerability

6 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:S/C:P/I:P/A:P

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

HIGH

Availability Impact

LOW

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

8.7 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

41.9%

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 configurations

Vulners
NVD
Node
googleandroid_sdkRange2.15.0
VendorProductVersionCPE
googleandroid_sdk*cpe:2.3:a:google:android_sdk:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Dart SDK",
    "vendor": "Google LLC",
    "versions": [
      {
        "lessThan": "2.15.0",
        "status": "affected",
        "version": "unspecified",
        "versionType": "custom"
      }
    ]
  }
]

6 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:S/C:P/I:P/A:P

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

HIGH

Availability Impact

LOW

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

8.7 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

41.9%

Related for CVE-2021-22568