CVE-2021-31404: Timing side channel vulnerability in UIDL request handler in Vaadin 10, 11-14, and 15-18
4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.13888%
CWE
Published
4/19/2021
Updated
2/1/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
com.vaadin:flow-server | maven | >= 1.0.0, < 1.0.14 | 1.0.14 |
com.vaadin:flow-server | maven | >= 1.1.0, < 2.4.7 | 2.4.7 |
com.vaadin:flow-server | maven | >= 3.0.0, < 5.0.3 | 5.0.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability manifests in security token comparisons using String.equals()
which leaks timing information. The patches explicitly modify three comparison points across different handlers (CSRF, push ID, and upload security) to use constant-time MessageDigest.isEqual
. The original unpatched versions of these functions would appear in runtime profiles during token validation when processing malicious requests. Each identified function
directly handles security-critical comparisons and shows clear evidence of insecure pre-patch implementations in the provided diffs.