CVE-2021-31403: Timing side channel vulnerability in Vaadin 7 and 8

com.vaadin:vaadin-bom Updated 02 Oct 2025

Summary

19/04/2021
Yes i
Moderate
4.0

CVE-2021-31403: Timing side channel vulnerability in UIDL request handler in Vaadin 7 and 8. Affects com.vaadin:vaadin-bom across 2 version ranges.

>= 7.0.0, < 7.7.24 >= 8.0.0, < 8.12.3

Fixed in 7.7.24 or 8.12.3, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Vaadin is an open-source Java framework used for building modern web applications. It provides a set of user interface components and tools for creating responsive and interactive web interfaces. The Vaadin framework includes several modules, including the vaadin-server module, which handles server-side processing and communication with the client-side UI.

This vulnerability affects versions 7.0.0 through 7.7.23 (Vaadin 7) and 8.0.0 through 8.12.2 (Vaadin 8) of the com.vaadin:vaadin-server package. The vulnerability arises from a non-constant-time comparison of CSRF tokens in the UIDL (UI Description Language) request handler. An attacker can exploit this vulnerability to guess a security token via a timing attack.

Vulnerability Detail

The vulnerability in the UIDL request handler of Vaadin 7 and 8 arises from a non-constant-time comparison of CSRF tokens. This means that the comparison operation takes different amounts of time depending on the input, allowing an attacker to guess the security token via a timing attack.

By carefully measuring the time it takes for the comparison operation to complete, an attacker can infer information about the CSRF token and potentially bypass the security measures in place.

This vulnerability has a CVSS score of 4.0, indicating a moderate severity level.

How To Fix

Latest published version: 25.3.3 as of 23 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 7.0.0, < 7.7.24 7.7.24
  • >= 8.0.0, < 8.12.3 8.12.3

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no specific workaround provided for this vulnerability. It is recommended to follow the steps mentioned in the 'how_to_fix' section to upgrade to a fixed version of the com.vaadin:vaadin-server package and implement proper CSRF protection measures.

Conclusion

The timing side channel vulnerability in Vaadin 7 and 8 can allow an attacker to guess a security token via a timing attack. To mitigate this vulnerability, it is crucial to upgrade to a fixed version of the com.vaadin:vaadin-server package and implement proper CSRF protection measures. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for com.vaadin:vaadin-bom →

Share this vulnerability

FAQ

Vaadin is an open-source Java framework for building web applications with a rich user interface.

The com.vaadin:vaadin-server package is a module of the Vaadin framework that handles server-side processing and communication with the client-side UI.

A timing attack is a type of side-channel attack where an attacker measures the time it takes for certain operations to complete in order to gain information about sensitive data.

A CSRF token is a security measure used to protect against cross-site request forgery (CSRF) attacks. It is a unique token generated for each user session and included in requests to verify the authenticity of the request.

The CVSS score of this vulnerability is 4.0, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for com.vaadin:vaadin-bom.

How To Fix

Latest published version: 25.3.3 as of 23 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 7.0.0, < 7.7.24 7.7.24
  • >= 8.0.0, < 8.12.3 8.12.3

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback