What’s Vulnerable › Vulnerabilities

CVE-2021-31408: Server session is not invalidated when logout() helper method of Authentication module is used in Vaadin 18-19

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 products

How to fix

Upgrade to a fixed version: vaadin flow 6.0.0, 6.0.5; Vaadin 19.0.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-31408 or the next vulnerability affects your stack