Vulnerability · Published Apr 23, 2021 · Assigned by Vaadin
CVE-2021-31405Regular expression denial of service (ReDoS) in EmailField component in Vaadin 14 and 15-17
High 7.5
In plain English
A high-severity uncontrolled resource consumption in Vaadin from Vaadin. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | com.vaadin:vaadin-bom | 14.4.4 | GHSA-2wqp-jmcc-mc77 |
| Maven | com.vaadin:vaadin-bom | 17.0.11 | GHSA-2wqp-jmcc-mc77 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Vaadin | Vaadin | 14.0.6 – before * |
| Vaadin | vaadin-text-field-flow | 2.0.4 – before * |
Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://vaadin.com/security/cve-2021-31405 x_refsource_MISC
- https://github.com/vaadin/flow-components/pull/442 x_refsource_MISC