Access Restriction Bypass Affecting com.vaadin:flow-server package, versions [5.0.0,6.0.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-COMVAADIN-1255583
  • published26 Apr 2021
  • disclosed22 Apr 2021
  • creditUnknown

Introduced: 22 Apr 2021

CVE-2021-31408  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade com.vaadin:flow-server to version 6.0.5 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass. Authentication.logout() helper 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.

CVSS Scores

version 3.1