{"api_version":"1","generated_at":"2026-05-13T00:06:30+00:00","cve":"CVE-2021-31403","urls":{"html":"https://cve.report/CVE-2021-31403","api":"https://cve.report/api/cve/CVE-2021-31403.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-31403","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-31403"},"summary":{"title":"CVE-2021-31403","description":"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","state":"PUBLIC","assigner":"security@vaadin.com","published_at":"2021-04-23 16:15:00","updated_at":"2021-04-30 19:00:00"},"problem_types":["CWE-203"],"metrics":[],"references":[{"url":"https://vaadin.com/security/cve-2021-31403","name":"N/A","refsource":"CONFIRM","tags":[],"title":"CVE-2021-31403: Timing side channel vulnerability in UIDL request handler in Vaadin 7 and 8","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/vaadin/framework/pull/12190","name":"N/A","refsource":"CONFIRM","tags":[],"title":"fix: use time-constant comparison for CSRF tokens by TatuLund · Pull Request #12190 · vaadin/framework · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/vaadin/framework/pull/12188","name":"N/A","refsource":"CONFIRM","tags":[],"title":"fix: use time-constant comparison for CSRF tokens by TatuLund · Pull Request #12188 · vaadin/framework · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-31403","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31403","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"This issue was discovered and responsibly reported by Xhelal Likaj.","lang":""}],"nvd_cpes":[{"cve_year":"2021","cve_id":"31403","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"vaadin","cpe5":"vaadin","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-31403","qid":"982692","title":"Java (maven) Security Update for com.vaadin:vaadin-server (GHSA-75xc-qvxh-27f8)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","generator":{"engine":"Vulnogram 0.0.9"},"CVE_data_meta":{"ID":"CVE-2021-31403","ASSIGNER":"security@vaadin.com","DATE_PUBLIC":"2021-02-12T09:17:00.000Z","TITLE":"Timing side channel vulnerability in UIDL request handler in Vaadin 7 and 8","AKA":"","STATE":"PUBLIC"},"source":{"defect":[],"advisory":"","discovery":"EXTERNAL"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"Vaadin","product":{"product_data":[{"product_name":"Vaadin","version":{"version_data":[{"version_name":"","version_affected":">=","version_value":"7.0.0","platform":""},{"version_name":"","version_affected":"<=","version_value":"7.7.23","platform":""},{"version_name":"","version_affected":">=","version_value":"8.0.0","platform":""},{"version_name":"","version_affected":"<=","version_value":"8.12.2","platform":""}]}},{"product_name":"vaadin-server","version":{"version_data":[{"version_name":"","version_affected":">=","version_value":"7.0.0","platform":""},{"version_name":"","version_affected":"<=","version_value":"7.7.21","platform":""},{"version_name":"","version_affected":">=","version_value":"8.0.0","platform":""},{"version_name":"","version_affected":"<=","version_value":"8.12.2","platform":""}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-208 Information Exposure Through Timing Discrepancy"}]}]},"description":{"description_data":[{"lang":"eng","value":"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"}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://vaadin.com/security/cve-2021-31403","name":"https://vaadin.com/security/cve-2021-31403"},{"refsource":"MISC","url":"https://github.com/vaadin/framework/pull/12190","name":"https://github.com/vaadin/framework/pull/12190"},{"refsource":"MISC","url":"https://github.com/vaadin/framework/pull/12188","name":"https://github.com/vaadin/framework/pull/12188"}]},"configuration":[],"impact":{"cvss":{"version":"3.1","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","baseScore":4,"baseSeverity":"MEDIUM"}},"exploit":[],"work_around":[],"solution":[],"credit":[{"lang":"eng","value":"This issue was discovered and responsibly reported by Xhelal Likaj."}]},"nvd":{"publishedDate":"2021-04-23 16:15:00","lastModifiedDate":"2021-04-30 19:00:00","problem_types":["CWE-203"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":2.5,"baseSeverity":"LOW"},"exploitabilityScore":1,"impactScore":1.4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:P/I:N/A:N","accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":1.9},"severity":"LOW","exploitabilityScore":3.4,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0.0","versionEndExcluding":"7.7.24","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:*","versionStartIncluding":"8.0.0","versionEndExcluding":"8.12.3","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"31403","Ordinal":"206690","Title":"CVE-2021-31403","CVE":"CVE-2021-31403","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"31403","Ordinal":"1","NoteData":"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","Type":"Description","Title":null},{"CveYear":"2021","CveId":"31403","Ordinal":"2","NoteData":"2021-04-23","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"31403","Ordinal":"3","NoteData":"2021-04-23","Type":"Other","Title":"Modified"}]}}}