{"id":"CVE-2021-31405","published":"2021-04-23T16:05:41Z","modified":"2024-09-17T02:32:47Z","title":"Regular expression denial of service (ReDoS) in EmailField component in Vaadin 14 and 15-17","vendor":"Vaadin","product":"Vaadin","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01127,"percentile":0.66031,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://vaadin.com/security/cve-2021-31405","tags":["x_refsource_MISC"]},{"url":"https://github.com/vaadin/flow-components/pull/442","tags":["x_refsource_MISC"]}],"priority":{"score":18.5,"factors":[{"name":"EPSS percentile","points":13.21},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"vaadin","affectedVersions":[{"vendor":"Vaadin","product":"Vaadin","versions":[">= 14.0.6"]},{"vendor":"Vaadin","product":"vaadin-text-field-flow","versions":[">= 2.0.4"]}],"affected":[{"ecosystem":"Maven","package":"com.vaadin:vaadin-bom","vulnerableRanges":[">=14.0.6, <14.4.4",">=15.0.0, <17.0.11"],"patched":["14.4.4","17.0.11"],"from":["GHSA-2wqp-jmcc-mc77"],"provenance":"source"}],"summary":{"text":"The EmailField component in Vaadin (specifically the com.vaadin:vaadin-text-field-flow package across Vaadin 14 and Vaadin 15 to 17 release lines) contains an unsafe validation regular expression that causes uncontrolled resource consumption. An unauthenticated remote attacker, with no user interaction required, can exhaust server resources by submitting a crafted email address to the affected field, with no special configuration needed beyond the component being in use.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:09Z"},"euvd":{"id":"EUVD-2021-0740","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-25028","published":"2021-04-23","fixed":"8.8.5","kev":false},{"cve":"CVE-2021-31403","published":"2021-04-23","fixed":"8.12.3","kev":false},{"cve":"CVE-2021-33611","published":"2021-11-02","fixed":"14.4.5","kev":false,"link":{"from":"CVE-2021-31405","to":"CVE-2021-33611","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.vaadin:vaadin-bom","fromFixed":"14.4.4","toFixed":"14.4.5","daysApart":193}]}},{"cve":"CVE-2021-31405","published":"2021-04-23","fixed":"17.0.11","kev":false},{"cve":"CVE-2021-31408","published":"2021-04-23","fixed":"19.0.4","kev":false},{"cve":"CVE-2021-31411","published":"2021-05-05","fixed":"19.0.5","kev":false},{"cve":"CVE-2021-31412","published":"2021-06-24","fixed":"19.0.9","kev":false}],"package":"Maven:com.vaadin:vaadin-bom"}}