{"id":"CVE-2021-31406","published":"2021-04-23T16:05:41Z","modified":"2024-09-17T00:02:31Z","title":"Timing side channel vulnerability in endpoint request handler in Vaadin 15-19","vendor":"Vaadin","product":"Vaadin","tier":"tail","description":{"text":"Non-constant-time comparison of CSRF tokens in endpoint request handler in com.vaadin:flow-server versions 3.0.0 through 5.0.3 (Vaadin 15.0.0 through 18.0.6), and com.vaadin:fusion-endpoint version 6.0.0 (Vaadin 19.0.0) allows attacker to guess a security token for Fusion endpoints 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.00234,"percentile":0.14597,"provenance":"source"},"cwes":[{"id":"CWE-208","name":"Observable Timing Discrepancy"}],"references":[{"url":"https://vaadin.com/security/cve-2021-31406","tags":["x_refsource_MISC"]},{"url":"https://github.com/vaadin/flow/pull/10157","tags":["x_refsource_MISC"]}],"priority":{"score":5.7,"factors":[{"name":"EPSS percentile","points":2.92},{"name":"CVSS severity","points":2.8}]},"vendorSlug":"vaadin","affectedVersions":[{"vendor":"Vaadin","product":"Vaadin","versions":["19.0.0",">= 15.0.0"]},{"vendor":"Vaadin","product":"flow-server","versions":["6.0.0",">= 3.0.0"]}],"affected":[{"ecosystem":"Maven","package":"com.vaadin:flow-server","vulnerableRanges":[">=3.0.0, <5.0.4",">=6.0.0, <6.0.1"],"patched":["5.0.4","6.0.1"],"from":["GHSA-p7jq-v8jp-j424"],"provenance":"source"}],"summary":{"text":"Vaadin's endpoint request handler in com.vaadin:flow-server (versions 3.0.0 through 5.0.3, corresponding to Vaadin 15.0.0 through 18.0.6) and com.vaadin:fusion-endpoint (version 6.0.0, Vaadin 19.0.0) compares CSRF tokens in a non-constant-time manner, creating an observable timing discrepancy. An attacker with local access and no privileges, who must complete the attack without any user interaction, can use timing measurements to progressively guess a security token for Fusion endpoints, with the attack considered high in complexity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:58Z"},"euvd":{"id":"EUVD-2021-0850","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-vaadin-cve-2021-31404","packageHistory":[{"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},{"cve":"CVE-2021-31404","published":"2021-04-23","fixed":"5.0.3","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-31406","published":"2021-04-23","fixed":"6.0.1","kev":false},{"cve":"CVE-2021-31407","published":"2021-04-23","fixed":"6.0.1","kev":false},{"cve":"CVE-2023-25499","published":"2023-06-22","fixed":"24.1.0","kev":false},{"cve":"CVE-2023-25500","published":"2023-06-22","fixed":"24.1.0","kev":false}],"package":"Maven:com.vaadin:flow-server"}}