{"id":"CVE-2021-31408","published":"2021-04-23T16:07:16Z","modified":"2024-09-17T02:06:19Z","title":"Server session is not invalidated when logout() helper method of Authentication module is used in Vaadin 18-19","vendor":"Vaadin","product":"Vaadin","tier":"tail","description":{"text":"Authentication.logout() helper in com.vaadin:flow-client versions 5.0.0 prior to 6.0.0 (Vaadin 18), and 6.0.0 through 6.0.4 (Vaadin 19.0.0 through 19.0.3) uses incorrect HTTP method, which, in combination with Spring Security CSRF protection, allows local attackers to access Fusion endpoints after the user attempted to log out.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00322,"percentile":0.25877,"provenance":"source"},"cwes":[{"id":"CWE-613","name":"DEPRECATED: Insufficient Session Expiration"}],"references":[{"url":"https://vaadin.com/security/cve-2021-31408","tags":["x_refsource_MISC"]},{"url":"https://github.com/vaadin/flow/pull/10577","tags":["x_refsource_MISC"]}],"priority":{"score":9.6,"factors":[{"name":"EPSS percentile","points":5.18},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"vaadin","affectedVersions":[{"vendor":"Vaadin","product":"Vaadin","versions":[">= 18.0.0"]},{"vendor":"Vaadin","product":"flow-client","versions":[">= 5.0.0"]}],"fixedVersions":[{"vendor":"Vaadin","product":"Vaadin","versions":["19.0.0"]},{"vendor":"Vaadin","product":"flow-client","versions":["6.0.0"]}],"affected":[{"ecosystem":"Maven","package":"com.vaadin:vaadin-bom","vulnerableRanges":[">=18.0.0, <19.0.4"],"patched":["19.0.4"],"from":["GHSA-mr8h-j9cv-4m8h"],"provenance":"source"}],"summary":{"text":"The flaw is in the Authentication.logout() helper of the Vaadin product's com.vaadin:flow-client component, which uses an incorrect HTTP method so that a user's server-side session is not invalidated on logout. Exploiting it requires local access, a user to interact with the application (such as attempting to log out), and the presence of Spring Security CSRF protection, after which an attacker can reach Fusion endpoints that should no longer be accessible.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:06:10Z"},"euvd":{"id":"EUVD-2021-0848","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-31403","published":"2021-04-23","fixed":"8.12.3","kev":false},{"cve":"CVE-2021-33611","published":"2021-11-02","fixed":"14.4.5","kev":false},{"cve":"CVE-2021-31405","published":"2021-04-23","fixed":"17.0.11","kev":false},{"cve":"CVE-2021-31408","published":"2021-04-23","fixed":"19.0.4","kev":false},{"cve":"CVE-2021-31411","published":"2021-05-05","fixed":"19.0.5","kev":false,"link":{"from":"CVE-2021-31408","to":"CVE-2021-31411","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.vaadin:vaadin-bom","fromFixed":"19.0.4","toFixed":"19.0.5","daysApart":12}]}},{"cve":"CVE-2021-31412","published":"2021-06-24","fixed":"19.0.9","kev":false},{"cve":"CVE-2021-33604","published":"2021-06-24","fixed":"19.0.9","kev":false}],"package":"Maven:com.vaadin:vaadin-bom"}}