# GHSA-CRH4-294P-VCFQ: Regular expression denial of service (ReDoS) in EmailField component in Vaadin 14 and 15-17

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2021-04-19
- Modified: 2024-12-02

## Affected versions

- com.vaadin:vaadin-text-field-flow (Maven): from 2.0.4, fixed in 2.3.3
- com.vaadin:vaadin-text-field-flow (Maven): from 3.0.0, fixed in 4.0.3

## 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.

- https://vaadin.com/security/cve-2021-31405

## References

- https://github.com/vaadin/flow-components/security/advisories/GHSA-crh4-294p-vcfq
- https://github.com/vaadin/flow-components
- https://vaadin.com/security/cve-2021-31405

Page: https://cve.now/GHSA-CRH4-294P-VCFQ

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
