Live threats

All CVEs / Vaadin

CVE-2021-31412Vaadin Flow

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
1.3%
probability of exploitation in 30 days · percentile 71
Auth required
No
Published
Jun 24, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1295, CWE-20
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

What happens

Improper sanitization of path in default RouteNotFoundError view in com.vaadin:flow-server versions 1.0.0 through 1.0.14 (Vaadin 10.0.0 through 10.0.18), 1.1.0 prior to 2.0.0 (Vaadin 11 prior to 14), 2.0.0 through 2.6.1 (Vaadin 14.0.0 through 14.6.1), and 3.0.0 through 6.0.9 (Vaadin 15.0.0 through 19.0.8) allows network attacker to enumerate all available routes via crafted HTTP request when application is running in production mode and no custom handler for NotFoundException is provided.

Original NVD text.

What to do

  1. Apply the vendor's security update for Flow.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven com.vaadin:vaadin-bom ≥ 10.0.0 < 10.0.19 10.0.19 —
Maven com.vaadin:vaadin-bom ≥ 11.0.0 < 14.6.2 14.6.2 —
Maven com.vaadin:vaadin-bom ≥ 15.0.0 < 19.0.9 19.0.9 —

Per OSV / GitHub Advisories (GHSA-qrg9-f472-qwfm). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
vaadinflow≥ 1.0.0 ≤ 1.0.14
vaadinflow≥ 1.1.0 ≤ 1.4.0
vaadinflow≥ 2.0.0 ≤ 2.6.1
vaadinflow≥ 3.0.0 ≤ 5.0.0
vaadinflow≥ 6.0.0 ≤ 6.0.9
vaadinvaadin≥ 10.0.0 ≤ 10.0.18
vaadinvaadin≥ 11.0.0 ≤ 13.0.0
vaadinvaadin≥ 14.0.0 ≤ 14.6.1
vaadinvaadin≥ 15.0.0 ≤ 18.0.0
vaadinvaadin≥ 19.0.0 ≤ 19.0.8

Official sources

References

Links published by the sources. Open them with care.