Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.vaadin/flow-server
  4. ›
  5. CVE-2021-31406

CVE-2021-31406: Information Exposure Through Discrepancy

April 23, 2021 (updated April 30, 2021)

Non-constant-time comparison of CSRF tokens in endpoint request handler in com.vaadin:flow-server allows attacker to guess a security token for Fusion endpoints via timing attack.

References

  • nvd.nist.gov/vuln/detail/CVE-2021-31406
  • vaadin.com/security/cve-2021-31406

Code Behaviors & Features

Detect and mitigate CVE-2021-31406 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.0.0 through 5.0.3

Fixed versions

  • 5.0.4

Solution

Upgrade to version 5.0.4 or above.

Impact 2.5 LOW

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

Learn more about CVSS

Weakness

  • CWE-203: Observable Discrepancy

Source file

maven/com.vaadin/flow-server/CVE-2021-31406.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:30 +0000.