6.3medium
Server session is not invalidated when logout() helper method of Authentication module is used in Vaadin 18-19
- Severity
- 6.3medium CVSS:3.1 by Vaadin
- Exploit likelihood
- 0.32% (higher than 27% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Vaadin
- Also known as
- GHSA-mr8h-j9cv-4m8h
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Vaadin Vaadin | from 18.0.0 before *, from 19.0.0 before 19.0.4, 18.0.0 | CVE List, NVD |
| Vaadin flow-client | from 5.0.0 before * | CVE List |
| com.vaadin:vaadin-bom (Maven) | from 18.0.0 before 19.0.4 | GitHub Advisory Database |
| vaadin flow | from 5.0.0 before 6.0.0, from 6.0.0 before 6.0.5 | NVD |
All scores
| Vaadin | 6.3medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
| GitHub | 6.3medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| NVD | 3.3low CVSS:2.0 | AV:L/AC:M/Au:N/C:P/I:P/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
El asistente Authentication.logout() en com.vaadin:flow-client versiones 5.0.0 anteriores a 6.0.0 (Vaadin 18) y versiones 6.0.0 hasta 6.0.4 (versiones Vaadin 19.0.0 hasta 19.0.3) usan un método HTTP incorrecto , que, en combinación con la protección CSRF de Spring Security, permite a atacantes locales acceder a endpoints de Fusion después de que el usuario intenta cerrar la sesión
References
| https://vaadin.com/security/cve-2021-31408 | vendor-advisory, web | |
| https://github.com/vaadin/flow/pull/10577 | patch, third-party-advisory, web | |
| https://github.com/vaadin/platform/security/advisories/GHSA-mr8h-j9cv-4m8h | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-31408 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-31408 changed 2024-09-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mr8h-j9cv-4m8h changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-31408 changed 2026-06-17 | Public domain |