Timing Attack Affecting com.vaadin:flow-server package, versions [3.0.0,5.0.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-COMVAADIN-1252643
  • published21 Apr 2021
  • disclosed19 Apr 2021
  • creditUnknown

Introduced: 19 Apr 2021

CVE-2021-31406  (opens in a new tab)
CWE-208  (opens in a new tab)

How to fix?

Upgrade com.vaadin:flow-server to version 5.0.4 or higher.

Overview

Affected versions of this package are vulnerable to Timing Attack. Non-constant-time comparison of CSRF tokens in endpoint request handler allows an attacker to guess a security token for Fusion endpoints via timing attack.

CVSS Scores

version 3.1