BreachSpiderVerified, not vibes

CVE-2021-31403 in Vaadin

Low 2.5 Fix available

Non-constant-time comparison of CSRF tokens in UIDL request handler in com.vaadin:vaadin-server versions 7.0.0 through 7.7.23 (Vaadin 7.0.0 through 7.7.23), and 8.0.0 through 8.12.2 (Vaadin 8.0.0 through 8.12.2) allows attacker to guess a security token via timing attack

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.12.5
EPSS0.3%
EPSS percentile16th
FixAvailable

Requires local access, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Vaadin Vaadin ≥ 7.0.0, < 7.7.24 ≥ 8.0.0, < 8.12.3

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Non-constant-time comparison of CSRF tokens in UIDL request handler in com.vaadin:vaadin-server versions 7.0.0 through 7.7.23 (Vaadin 7.0.0 through 7.7.23), and 8.0.0 through 8.12.2 (Vaadin 8.0.0 through 8.12.2) allows attacker to guess a security token via timing attack

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-31403
BreachSpider IDBS-2021-GLOBAL-079430-L
CVSS vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Published2021-04-23
Last modified2024-11-21
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-203: CWE-203

CWE-208: CWE-208

Related attack patterns (CAPEC)

CAPEC-462 Cross-Domain Search Timing via CWE-208

CAPEC-189 Black Box Reverse Engineering via CWE-203

CAPEC-541 Application Fingerprinting via CWE-208

CAPEC-580 System Footprinting via CWE-208

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A non-constant-time comparison of CSRF tokens in the UIDL request handler in com.vaadin:vaadin-server versions 7.0.0 through 7.7.23 and 8.0.0 through 8.12.2 allows attackers to guess a security token via a timing attack.

The vulnerability arises from the non-constant-time comparison of CSRF tokens, which can be exploited by attackers to infer the correct token through timing analysis. This can lead to unauthorized actions being performed on behalf of the user.

Questions

What is CVE-2021-31403?

A non-constant-time comparison of CSRF tokens in the UIDL request handler in com.vaadin:vaadin-server versions 7.0.0 through 7.7.23 and 8.0.0 through 8.12.2 allows attackers to guess a security token via a timing attack.

What is the CVSS score for CVE-2021-31403?

CVE-2021-31403 has CVSS 2.5 (Low). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N. EPSS: 0.3%.

Is CVE-2021-31403 actively exploited?

No confirmed active exploitation of CVE-2021-31403 as of 2026-05-30.

How do I remediate CVE-2021-31403?

Priority: MEDIUM. Advisory: https://vaadin.com/security/cve-2021-31403 PSIRT: [email protected]

What systems are affected by CVE-2021-31403?

CVE-2021-31403 affects Vaadin Vaadin.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Vaadin","product":"Vaadin","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.