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

Published Apr 23, 2021
·
Updated

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 Software

4 affected components
Vaadin flow>=5.0.0<6.0.0
Vaadin flow>=6.0.0<6.0.5
Vaadin Vaadin>=19.0.0<19.0.4
Vaadin Vaadin=18.0.0

Event History

Apr 23, 2021
CVE Published
via MITRE·04:07 PM
Data Sourced
via MITRE·04:07 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-31408?

CVE-2021-31408 has been rated as a medium severity vulnerability due to the potential for local attackers to exploit it.

2

How do I fix CVE-2021-31408?

To mitigate CVE-2021-31408, upgrade to Vaadin Flow versions 6.0.0 or later, or ensure you are using Vaadin Vaadin 19.0.4 or later.

3

What versions are affected by CVE-2021-31408?

CVE-2021-31408 affects Vaadin Flow versions 5.0.0 to 6.0.0 and versions 6.0.0 through 6.0.4, along with Vaadin Vaadin versions 19.0.0 through 19.0.3 and 18.0.0.

4

What is the impact of CVE-2021-31408?

The impact of CVE-2021-31408 can allow local attackers to bypass Spring Security CSRF protection and access unauthorized resources.

5

Is there a workaround for CVE-2021-31408?

While upgrading is the recommended solution, implementing additional security measures such as reviewing access permissions may serve as a temporary workaround for CVE-2021-31408.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203