Vulnerability · Published Jun 24, 2021 · Assigned by Vaadin
CVE-2021-31412Possible route enumeration in production mode via RouteNotFoundError view in Vaadin 10, 11-14, and 15-19
Medium 5.3
In plain English
A medium-severity security flaw in flow-server from Vaadin. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | com.vaadin:vaadin-bom | 10.0.19 | GHSA-qrg9-f472-qwfm |
| Maven | com.vaadin:vaadin-bom | 14.6.2 | GHSA-qrg9-f472-qwfm |
| Maven | com.vaadin:vaadin-bom | 19.0.9 | GHSA-qrg9-f472-qwfm |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Vaadin | Vaadin | 10.0.0 – before unspecifiedunspecified – through 10.0.1811.0.0 – before unspecifiedunspecified – before 14.0.014.0.0 – before unspecifiedunspecified – through 14.6.115.0.0 – before unspecifiedunspecified – through 19.0.8 |
| Vaadin | flow-server | 1.0.0 – before unspecifiedunspecified – through 1.0.141.1.0 – before unspecifiedunspecified – before 2.0.02.0.0 – before unspecifiedunspecified – through 2.6.13.0.0 – before unspecifiedunspecified – through 6.0.9 |
Weakness: CWE-1295 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
References
- https://vaadin.com/security/cve-2021-31412 x_refsource_CONFIRM
- https://github.com/vaadin/flow/pull/11107 x_refsource_CONFIRM