CVE-2021-31408
JSON

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 packageVersionsReported by
Vaadin Vaadinfrom 18.0.0 before *, from 19.0.0 before 19.0.4, 18.0.0CVE List, NVD
Vaadin flow-clientfrom 5.0.0 before *CVE List
com.vaadin:vaadin-bom (Maven)from 18.0.0 before 19.0.4GitHub Advisory Database
vaadin flowfrom 5.0.0 before 6.0.0, from 6.0.0 before 6.0.5NVD

All scores

Vaadin6.3medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
GitHub6.3medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
NVD7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
NVD3.3low CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2021-31408 changed 2024-09-17CVE Terms of Use
GitHub Advisory DatabaseGHSA-mr8h-j9cv-4m8h changed 2023-11-08CC-BY-4.0
NVDCVE-2021-31408 changed 2026-06-17Public domain