{"id":"CVE-2021-31403","aliases":["CVE-2021-31403","GHSA-75xc-qvxh-27f8"],"related":[],"kind":"vulnerability","state":"published","title":"Timing side channel vulnerability in UIDL request handler in Vaadin 7 and 8","summary":"Non-constant-time comparison of CSRF tokens in UIDL request handler in com.vaadin:vaadin-server versions 7.0.0 through 7.7.23 (Vaadin 7.0.0 through 7.7.23), and 8.0.0 through 8.12.2 (Vaadin 8.0.0 through 8.12.2) allows attacker to guess a security token via timing attack","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Non-constant-time comparison of CSRF tokens in UIDL request handler in com.vaadin:vaadin-server versions 7.0.0 through 7.7.23 (Vaadin 7.0.0 through 7.7.23), and 8.0.0 through 8.12.2 (Vaadin 8.0.0 through 8.12.2) allows attacker to guess a security token via timing attack","source":"cvelist"},{"lang":"en","text":"Non-constant-time comparison of CSRF tokens in UIDL request handler in `com.vaadin:vaadin-server` versions 7.0.0 through 7.7.23 (Vaadin 7.0.0 through 7.7.23), and 8.0.0 through 8.12.2 (Vaadin 8.0.0 through 8.12.2) allows attacker to guess a security token via timing attack\n\n- https://vaadin.com/security/cve-2021-31403","format":"markdown","source":"ghsa"},{"lang":"es","text":"La comparación non-constant-time de tokens CSRF en el controlador de peticiones UIDL en com.vaadin:vaadin-server versiones 7.0.0 hasta 7.7.23 (Vaadin versiones 7.0.0 hasta 7.7.23) y versiones 8.0.0 hasta 8.12.2 (Vaadin versiones 8.0.0 hasta 8.12.2), permite al atacante adivinar un token de seguridad por medio de un ataque de sincronización","source":"nvd"}],"published":"2021-04-19T14:51:06.000Z","modified":"2026-06-17T03:51:42.837Z","severity":{"scorer":"Vaadin","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4,"rating":"MEDIUM"},"severities":[{"scorer":"Vaadin","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","score":2.5,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:M/Au:N/C:P/I:N/A:N","score":1.9,"rating":"LOW"}],"cwes":["CWE-203","CWE-208"],"affected":[{"ranges":[{"type":"custom","introduced":"7.0.0","fixed":"*","status":"affected"}],"vendor":"Vaadin","product":"Vaadin","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"7.0.0","fixed":"*","status":"affected"}],"vendor":"Vaadin","product":"vaadin-server","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"7.0.0","status":"affected","fixed":"7.7.24"}],"ecosystem":"Maven","package":"com.vaadin:vaadin-bom","purl":"pkg:maven/com.vaadin/vaadin-bom","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"8.0.0","status":"affected","fixed":"8.12.3"}],"ecosystem":"Maven","package":"com.vaadin:vaadin-bom","purl":"pkg:maven/com.vaadin/vaadin-bom","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"7.0.0","status":"affected","fixed":"7.7.24"}],"ecosystem":"Maven","package":"com.vaadin:vaadin-server","purl":"pkg:maven/com.vaadin/vaadin-server","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"8.0.0","status":"affected","fixed":"8.12.3"}],"ecosystem":"Maven","package":"com.vaadin:vaadin-server","purl":"pkg:maven/com.vaadin/vaadin-server","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"7.0.0","fixed":"7.7.24"},{"status":"affected","introduced":"8.0.0","fixed":"8.12.3"}],"vendor":"vaadin","product":"vaadin","cpe":"cpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://vaadin.com/security/cve-2021-31403","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/vaadin/framework/pull/12190","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/vaadin/framework/pull/12188","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/vaadin/framework/security/advisories/GHSA-75xc-qvxh-27f8","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31403","tags":["advisory"],"sources":["ghsa"]}],"credits":["This issue was discovered and responsibly reported by Xhelal Likaj."],"assigner":"Vaadin","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-31403","url":"https://www.cve.org/CVERecord?id=CVE-2021-31403","licence":"CVE Terms of Use","modified":"2024-09-16T22:08:44.800Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-75xc-qvxh-27f8","url":"https://github.com/advisories/GHSA-75xc-qvxh-27f8","licence":"CC-BY-4.0","modified":"2023-11-08T04:05:48.098Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-31403","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31403","licence":"Public domain","modified":"2026-06-17T03:51:42.837Z"}],"updatedAt":"2026-11-25T22:58:01.015Z","epss":{"score":0.00306,"percentile":0.25169,"date":"2026-12-01T12:00:22.000Z"}}