VDB
Sign up
MEDIUM6.3

GHSA-mr8h-j9cv-4m8h

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

Quick fix

GHSA-mr8h-j9cv-4m8h — com.vaadin:vaadin-bom: upgrade to the fixed version with the command below.

# pom.xml: bump <version>19.0.4</version> for com.vaadin:vaadin-bom

Details

`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.

- https://vaadin.com/security/cve-2021-31408

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/com.vaadin:vaadin-bom
Introduced in: 18.0.0Fixed in: 19.0.4
Fix# pom.xml: bump <version>19.0.4</version> for com.vaadin:vaadin-bom

References