CVE-2021-31406

MEDIUM

Vaadin Flow 3.0.0-5.0.3 and Vaadin 15.0.0-18.0.6 - Observable Timing Discrepancy in CSRF Token Comparison

Title source: llm
STIX 2.1

Description

Non-constant-time comparison of CSRF tokens in endpoint request handler in com.vaadin:flow-server versions 3.0.0 through 5.0.3 (Vaadin 15.0.0 through 18.0.6), and com.vaadin:fusion-endpoint version 6.0.0 (Vaadin 19.0.0) allows attacker to guess a security token for Fusion endpoints via timing attack.

References (2)

Core 2
Core References
Vendor Advisory x_refsource_misc
https://vaadin.com/security/cve-2021-31406
Patch, Third Party Advisory x_refsource_misc
https://github.com/vaadin/flow/pull/10157

Scores

CVSS v3 4.0
EPSS 0.0021
EPSS Percentile 11.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Details

CWE
CWE-208 CWE-203
Status published
Products (5)
com.vaadin/flow-server 3.0.0 - 5.0.4Maven
vaadin/flow 6.0.0
vaadin/flow 3.0.0 - 5.0.4
vaadin/vaadin 19.0.0
vaadin/vaadin 15.0.0 - 18.0.7
Published Apr 23, 2021
Tracked Since Feb 18, 2026