CVE-2021-31412Vaadin Flow
Medium 5.3 No auth needed
Follow: this CVE · Vaadin · Vaadin Flow We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Flow.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| vaadin | flow | ≥ 1.0.0 ≤ 1.0.14 |
| vaadin | flow | ≥ 1.1.0 ≤ 1.4.0 |
| vaadin | flow | ≥ 2.0.0 ≤ 2.6.1 |
| vaadin | flow | ≥ 3.0.0 ≤ 5.0.0 |
| vaadin | flow | ≥ 6.0.0 ≤ 6.0.9 |
| vaadin | vaadin | ≥ 10.0.0 ≤ 10.0.18 |
| vaadin | vaadin | ≥ 11.0.0 ≤ 13.0.0 |
| vaadin | vaadin | ≥ 14.0.0 ≤ 14.6.1 |
| vaadin | vaadin | ≥ 15.0.0 ≤ 18.0.0 |
| vaadin | vaadin | ≥ 19.0.0 ≤ 19.0.8 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- vaadin.com Vendor Advisory