CVE-2021-31406

Medium

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.

SeverityMedium
CVSS4.0
Exploit probability11. percentile0.2%
ProductVaadin Flow
PublishedApr 23, 2021
First seenApr 23, 2021
Weakness typeCWE-208CWE-208

How to fix

Update
  • vaadin flow5.0.4 or later
  • vaadin vaadin18.0.7 or later
  • com.vaadin:flow-server5.0.4, 6.0.1 or later

Affected products

ProductAffected versionsFixed in
vaadin flow3.0.0 ≤ v < 5.0.4, 6.0.05.0.4
vaadin vaadin15.0.0 ≤ v < 18.0.7, 19.0.018.0.7
com.vaadin:flow-serverMaven3.0.0 ≤ v < 5.0.4, 6.0.0 ≤ v < 6.0.15.0.4, 6.0.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.