LiveActive security incident?Get immediate response
CVE Record

CVE-2021-22567: Bidirectional Override in Dart SDK

Bidirectional Unicode text can be interpreted and compiled differently than how it appears in editors which can be exploited to get nefarious code passed a code review by appearing benign. An attacker could embed a source that is invisible to a code reviewer that modifies the behavior of a program in unexpected ways.

MediumCVSS 4.6Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This issue lets misleading Unicode direction markers make Dart source code look harmless during review while compiling differently. The business risk is a source-code trust problem: a malicious contributor could hide behavior that changes program integrity or availability.

Executive priority

Treat as moderate priority. It is not a remote takeover issue, but it can undermine code review and supply-chain assurance where Dart code is accepted from multiple contributors.

Technical view

CVE-2021-22567 affects Google Dart SDK, with versions unspecified in the provided record. Bidirectional Unicode text can alter how code is displayed versus compiled. CVSS 3.1 is 4.6 medium: network vector, low complexity, low privileges, user interaction required, low integrity and availability impact.

Likely exposure

Exposure is most likely in organizations compiling Dart code with affected SDK versions and accepting source contributions or dependencies that may contain bidirectional Unicode controls. The provided sources do not identify exact affected or fixed versions.

Exploitation context

The bundle does not show CISA KEV listing or confirmed active exploitation. The credible scenario is code-review deception by someone able to submit Dart source for review, merge, or dependency inclusion.

Researcher notes

Evidence is limited to the CVE description, CVSS metadata, Dart SDK changelog reference, and a Dart SDK commit reference. Exact affected and fixed versions are not present in the supplied bundle, so version conclusions require vendor confirmation.

Mitigation direction

  • Review Dart SDK changelog and vendor references for fixed release guidance.
  • Upgrade Dart SDK in CI and developer environments when the fixed release is identified.
  • Add review or lint checks that flag bidirectional Unicode control characters in source.
  • Tighten contribution review for unusual Unicode in Dart source files.

Validation and detection

  • Inventory Dart SDK versions used by developers, build images, and CI pipelines.
  • Compare inventoried versions with the Dart changelog and referenced fix commit.
  • Inspect Dart source for bidirectional Unicode control characters.
  • Confirm code review tooling visibly warns on suspicious Unicode controls.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-284: Authorization and privilege behavior lookup

Authorization weaknesses can support privilege escalation and valid-account review, depending on exploit path. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-22567 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
4.6 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
4.6CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L2.12.5Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

4.6Medium
CVSS 3.1 vector shape for CVE-2021-22567Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Google LLCDart SDKunspecifiedListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-284 · source CWE mapping

Improper Access Control

Improper Access Control represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.