5.3medium
Possible route enumeration in production mode via RouteNotFoundError view in Vaadin 10, 11-14, and 15-19
- Severity
- 5.3medium CVSS:3.1 by Vaadin
- Exploit likelihood
- 1.32% (higher than 71% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Vaadin
- Also known as
- GHSA-qrg9-f472-qwfm
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
| Product or package | Versions | Reported by |
|---|---|---|
| Vaadin Vaadin | from 10.0.0 before unspecified, from unspecified up to 10.0.18, from 11.0.0 before unspecified, from unspecified before 14.0.0, from 14.0.0 before unspecified, from unspecified up to 14.6.1, from 15.0.0 before unspecified, from unspecified up to 19.0.8 and 5 more | CVE List, NVD |
| Vaadin flow-server | from 1.0.0 before unspecified, from unspecified up to 1.0.14, from 1.1.0 before unspecified, from unspecified before 2.0.0, from 2.0.0 before unspecified, from unspecified up to 2.6.1, from 3.0.0 before unspecified, from unspecified up to 6.0.9 | CVE List |
| com.vaadin:vaadin-bom (Maven) | from 10.0.0 before 10.0.19, from 11.0.0 before 14.6.2, from 15.0.0 before 19.0.9 | GitHub Advisory Database |
| vaadin flow | from 1.0.0 up to 1.0.14, from 1.1.0 up to 1.4.0, from 2.0.0 up to 2.6.1, from 3.0.0 up to 5.0.0, from 6.0.0 up to 6.0.9 | NVD |
All scores
| Vaadin | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Un saneamiento inapropiado de la ruta en la vista RouteNotFoundError predeterminada en com.vaadin:flow-server versiones 1.0.0 hasta 1.0.14 (Vaadin versiones 10.0.0 hasta 10.0.18), versiones 1.1.0 anteriores a 2.0.0 (Vaadin versiones 11 anterior a 14), versiones 2.0.0 hasta 2.6.1 (Vaadin versiones 14.0.0 hasta 14. 6.1), y versiones 3.0.0 hasta 6.0.9 (Vaadin versiones 15.0.0 hasta 19.0.8) permite a un atacante de red enumerar todas las rutas disponibles por medio de una petición HTTP diseñada cuando la aplicación se ejecuta en modo de producción y un controlador personalizado para o NotFoundException es proporcionado
References
| https://vaadin.com/security/cve-2021-31412 | vendor-advisory, web | |
| https://github.com/vaadin/flow/pull/11107 | patch, third-party-advisory, web | |
| https://github.com/vaadin/platform/security/advisories/GHSA-qrg9-f472-qwfm | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-31412 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-31412 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qrg9-f472-qwfm changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-31412 changed 2026-06-17 | Public domain |