LiveActive security incident?Get immediate response
CVE Record

CVE-2021-31404: Timing side channel vulnerability in UIDL request handler in Vaadin 10, 11-14, and 15-18

Non-constant-time comparison of CSRF tokens in UIDL request handler in com.vaadin:flow-server versions 1.0.0 through 1.0.13 (Vaadin 10.0.0 through 10.0.16), 1.1.0 prior to 2.0.0 (Vaadin 11 prior to 14), 2.0.0 through 2.4.6 (Vaadin 14.0.0 through 14.4.6), 3.0.0 prior to 5.0.0 (Vaadin 15 prior to 18), and 5.0.0 through 5.0.2 (Vaadin 18.0.0 through 18.0.5) allows attacker to guess a security token via timing attack.

MediumCVSS 4Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2021-31404 is a timing side-channel issue in Vaadin's UIDL request handler. A non-constant-time CSRF token comparison could let an attacker infer a security token by measuring response timing. The published severity is medium with CVSS 4.0, and the bundle does not show known active exploitation.

Executive priority

Treat this as a moderate remediation item. It affects authentication-related token handling, but exploitation appears difficult and no active exploitation is cited. Patch during the next normal security maintenance window unless the affected app is highly sensitive or exposed.

Technical view

Affected com.vaadin:flow-server versions compare CSRF tokens in non-constant time, creating CWE-208 exposure. The impacted ranges cover Vaadin 10, 11 through pre-14, 14.0.0 through 14.4.6, 15 through pre-18, and 18.0.0 through 18.0.5. Successful exploitation requires a high-complexity timing attack.

Likely exposure

Exposure is limited to applications using affected Vaadin or flow-server versions listed in the advisory. Systems not using Vaadin Flow, or running versions outside the affected ranges, are not indicated as affected by the provided sources.

Exploitation context

The source bundle says attackers may guess a security token through timing analysis. It does not cite public exploit code, real-world exploitation, or CISA KEV listing. The CVSS vector indicates high attack complexity and no required privileges or user interaction.

Researcher notes

Focus validation on Vaadin Flow server versions and UIDL request handling. The useful evidence is version-based rather than exploit-based. Avoid assuming exploitability without timing conditions, reachable UIDL handling, and an affected dependency version.

Mitigation direction

  • Inventory applications using Vaadin Flow or com.vaadin:flow-server.
  • Upgrade to a vendor-supported version outside the affected ranges.
  • Prioritize internet-exposed or sensitive Vaadin applications first.
  • Check Vaadin's advisory for branch-specific fixed versions.
  • Retest affected applications after dependency updates.

Validation and detection

  • Review dependency manifests for com.vaadin:flow-server versions.
  • Map Vaadin framework versions against the affected ranges.
  • Confirm the deployed artifact uses the updated dependency tree.
  • Check scanner findings against Vaadin's CVE advisory.
  • Document any accepted risk for unsupported Vaadin branches.
Prepared
Confidence
high
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 · low confidence lookup

CWE-208: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. 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
description · low confidence lookup

Credential and access behavior lookup

The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-31404 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 (3.1)
Known Exploited
No
Published

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

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
4CVSS 3.1MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N1.42.5Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

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

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

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

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
VaadinVaadin10.0.0Listed
Vaadinflow-server1.0.0Listed
Weakness

CWE details

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