CVE-2021-31405

Regular expression denial of service (ReDoS) in EmailField component in Vaadin 14 and 15-17

HIGH
7.5
CVSS Score
Published: April 23, 2021 at 04:05 PM UTC
Updated: June 17, 2026 at 03:51 AM UTC
3 products affected across 1 vendorVaadinFlowVaadin Text Field Flow

Using Vaadin by Vaadin?

Get instant alerts when new vulnerabilities affect Vaadin - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 1%

Description

Unsafe validation RegEx in EmailField component in com.vaadin:vaadin-text-field-flow versions 2.0.4 through 2.3.2 (Vaadin 14.0.6 through 14.4.3), and 3.0.0 through 4.0.2 (Vaadin 15.0.0 through 17.0.10) allows attackers to cause uncontrolled resource consumption by submitting malicious email addresses.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.0.4 ≤ v < 2.3.33.0.0 ≤ v < 4.0.3
Affected range stops below 2.3.3, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.0.3, so it looks safe — our inference, not a vendor statement
v ≥ 14.0.614.0.6 ≤ v < 14.4.415.0.0 ≤ v < 17.0.1114.0.6
Affected range stops below 14.4.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 17.0.11, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (2)

x_refsource_MISCPatchThird Party Advisory
https://github.com/vaadin/flow-components/pull/442

CVSS

7.5HIGHVaadin
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-400

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card