CVE-2021-31412
MEDIUM
Published Jun 24, 20215y ago · Modified Jun 17, 20262w ago
5.3 CVSS 3.1
Published Jun 24, 2021 5y ago
Last Modified Jun 17, 2026 2w ago
Description
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Low
Integrity None
Availability None
Threat Intelligence
No active exploitation signals — not in CISA KEV and no EPSS score yet.
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 2
CWE-1295
CWE-20 Improper Input Validation Validation
Affected Products 10
| Vendor | Product | Version | Range |
|---|---|---|---|
| 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 |
References 2
- github.com https://github.com/vaadin/flow/pull/11107
- vaadin.com https://vaadin.com/security/cve-2021-31412
Remediation
- github.com https://github.com/vaadin/flow/pull/11107