{"id":"CVE-2021-31404","published":"2021-04-23T16:05:41Z","modified":"2024-09-16T23:46:26Z","title":"Timing side channel vulnerability in UIDL request handler in Vaadin 10, 11-14, and 15-18","vendor":"Vaadin","product":"Vaadin","tier":"tail","description":{"text":"Non-constant-time comparison of CSRF tokens in UIDL request handler in com.vaadin:flow-server versions 1.0.0 through 1.0.13 (Vaadin 10.0.0 through 10.0.16), 1.1.0 prior to 2.0.0 (Vaadin 11 prior to 14), 2.0.0 through 2.4.6 (Vaadin 14.0.0 through 14.4.6), 3.0.0 prior to 5.0.0 (Vaadin 15 prior to 18), and 5.0.0 through 5.0.2 (Vaadin 18.0.0 through 18.0.5) allows attacker to guess a security token via timing attack.","provenance":"source","from":"CVE.org"},"cvss":{"score":4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00233,"percentile":0.08526,"provenance":"source"},"cwes":[{"id":"CWE-208","name":"Observable Timing Discrepancy"}],"references":[{"url":"https://vaadin.com/security/cve-2021-31404","tags":["x_refsource_MISC"]},{"url":"https://github.com/vaadin/flow/pull/9875","tags":["x_refsource_MISC"]}],"priority":{"score":4.5,"factors":[{"name":"EPSS percentile","points":1.71},{"name":"CVSS severity","points":2.8}]},"vendorSlug":"vaadin","affectedVersions":[{"vendor":"Vaadin","product":"Vaadin","versions":[">= 10.0.0"]},{"vendor":"Vaadin","product":"flow-server","versions":[">= 1.0.0"]}],"fixedVersions":[{"vendor":"Vaadin","product":"Vaadin","versions":["14.0.0","18.0.0"]},{"vendor":"Vaadin","product":"flow-server","versions":["2.0.0","5.0.0"]}],"affected":[{"ecosystem":"Maven","package":"com.vaadin:flow-server","vulnerableRanges":[">=1.0.0, <1.0.14",">=1.1.0, <2.4.7",">=3.0.0, <5.0.3"],"patched":["1.0.14","2.4.7","5.0.3"],"from":["GHSA-xwg3-qrcg-w9x6"],"provenance":"source"}],"summary":{"text":"The flaw is a non-constant-time comparison of CSRF tokens in the UIDL request handler of Vaadin's flow-server component, affecting Vaadin 10, 11 through 14, 15 through 18, and the listed earlier releases. Because the comparison leaks timing information, an attacker with local access and no privileges, and with no user interaction required, can guess a security token through a timing attack, with high attack complexity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:57Z"},"euvd":{"id":"EUVD-2021-0890","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-vaadin-cve-2021-31404","packageHistory":[{"cve":"CVE-2019-25027","published":"2021-04-23","fixed":"1.4.3","kev":false,"link":{"from":"CVE-2019-25027","to":"CVE-2021-31404","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.vaadin:flow-server","fromFixed":"1.0.11","toFixed":"1.0.14","daysApart":0}]}},{"cve":"CVE-2020-36319","published":"2021-04-23","fixed":"3.0.6","kev":false},{"cve":"CVE-2020-36321","published":"2021-04-23","fixed":"5.0.0","kev":false,"link":{"from":"CVE-2020-36321","to":"CVE-2021-31404","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.vaadin:flow-server","fromFixed":"2.4.2","toFixed":"2.4.7","daysApart":0},{"kind":"version-step","provenance":"source","package":"Maven:com.vaadin:flow-server","fromFixed":"5.0.0","toFixed":"5.0.3","daysApart":0}]}},{"cve":"CVE-2021-31404","published":"2021-04-23","fixed":"5.0.3","kev":false},{"cve":"CVE-2021-31406","published":"2021-04-23","fixed":"6.0.1","kev":false,"link":{"from":"CVE-2021-31404","to":"CVE-2021-31406","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.vaadin:flow-server","fromFixed":"5.0.3","toFixed":"5.0.4","daysApart":0},{"kind":"similar","provenance":"machine","score":0.71,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2021-31407","published":"2021-04-23","fixed":"6.0.1","kev":false,"link":{"from":"CVE-2021-31404","to":"CVE-2021-31407","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.vaadin:flow-server","fromFixed":"2.4.7","toFixed":"2.4.8","daysApart":0}]}},{"cve":"CVE-2023-25499","published":"2023-06-22","fixed":"24.1.0","kev":false}],"package":"Maven:com.vaadin:flow-server"}}