{"id":"CVE-2021-31405","aliases":["CVE-2021-31405","GHSA-2wqp-jmcc-mc77"],"related":[],"kind":"vulnerability","state":"published","title":"Regular expression denial of service (ReDoS) in EmailField component in Vaadin 14 and 15-17","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","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.\n\n- https://vaadin.com/security/cve-2021-31405","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una comprobación no segura de RegEx en el componente EmailField en com.vaadin:vaadin-text-field-flow versiones 2.0.4 hasta 2.3.2 (Vaadin versiones 14.0.6 hasta 14.4.3) y versiones 3.0.0 hasta 4.0.2 (Vaadin versiones 15.0.0 hasta 17.0.10), permite a atacantes causar un consumo de recursos no controlado mediante el envío de direcciones de correo electrónico maliciosas","source":"nvd"}],"published":"2021-04-19T14:47:34.000Z","modified":"2026-06-17T03:51:43.170Z","severity":{"scorer":"Vaadin","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Vaadin","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"type":"custom","introduced":"14.0.6","fixed":"*","status":"affected"}],"vendor":"Vaadin","product":"Vaadin","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"2.0.4","fixed":"*","status":"affected"}],"vendor":"Vaadin","product":"vaadin-text-field-flow","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"14.0.6","status":"affected","fixed":"14.4.4"}],"ecosystem":"Maven","package":"com.vaadin:vaadin-bom","purl":"pkg:maven/com.vaadin/vaadin-bom","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"15.0.0","status":"affected","fixed":"17.0.11"}],"ecosystem":"Maven","package":"com.vaadin:vaadin-bom","purl":"pkg:maven/com.vaadin/vaadin-bom","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.0.4","fixed":"2.3.3"},{"status":"affected","introduced":"3.0.0","fixed":"4.0.3"}],"vendor":"vaadin","product":"flow","cpe":"cpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"14.0.6","fixed":"14.4.4"},{"status":"affected","introduced":"15.0.0","fixed":"17.0.11"}],"vendor":"vaadin","product":"vaadin","cpe":"cpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://vaadin.com/security/cve-2021-31405","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/vaadin/flow-components/pull/442","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/vaadin/platform/security/advisories/GHSA-2wqp-jmcc-mc77","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31405","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"Vaadin","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-31405","url":"https://www.cve.org/CVERecord?id=CVE-2021-31405","licence":"CVE Terms of Use","modified":"2024-09-17T02:32:47.630Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2wqp-jmcc-mc77","url":"https://github.com/advisories/GHSA-2wqp-jmcc-mc77","licence":"CC-BY-4.0","modified":"2023-11-08T04:05:48.221Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-31405","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31405","licence":"Public domain","modified":"2026-06-17T03:51:43.170Z"}],"updatedAt":"2026-11-25T22:58:01.016Z","epss":{"score":0.01127,"percentile":0.67263,"date":"2026-12-01T12:00:22.000Z"}}