CVE-2021-31405
HIGH 7.5CVSS 3.1Regular expression denial of service (ReDoS) in EmailField component in Vaadin 14 and 15-17
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.
- Published
- 23 Apr 2021
- Last modified
- 17 Jun 2026
- Assigned by
- security@vaadin.com
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-2wqp-jmcc-mc77
- Sources
- NVDJSONOSV GHSA-2wqp-jmcc-mc77JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@vaadin.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vaadin | flowcpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:* |
>= 2.0.4, < 2.3.3 | 2.3.3 |
| NVD | vaadin | flowcpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:* |
>= 3.0.0, < 4.0.3 | 4.0.3 |
| NVD | vaadin | vaadincpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:* |
>= 14.0.6, < 14.4.4 | 14.4.4 |
| NVD | vaadin | vaadincpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:* |
>= 15.0.0, < 17.0.11 | 17.0.11 |
| OSV | Maven | com.vaadin:vaadin-bom | >= 14.0.6, < 14.4.4 | 14.4.4 |
| OSV | Maven | com.vaadin:vaadin-bom | >= 15.0.0, < 17.0.11 | 17.0.11 |
References
- https://github.com/vaadin/flow-components/pull/442 · Patch, Third Party Advisory, WEB
- https://vaadin.com/security/cve-2021-31405 · Vendor Advisory, WEB
- https://github.com/vaadin/platform/security/advisories/GHSA-2wqp-jmcc-mc77 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-31405 · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 23 Apr 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 19 Apr 2021)