CVE-2021-31412
MEDIUM 5.3CVSS 3.1Possible route enumeration in production mode via RouteNotFoundError view in Vaadin 10, 11-14, and 15-19
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.
- Published
- 24 Jun 2021
- Last modified
- 17 Jun 2026
- Assigned by
- security@vaadin.com
- NVD status
- Modified
- Weakness
- CWE-1295CWE-20CWE-668
- Also known as
- GHSA-qrg9-f472-qwfm
- Sources
- NVDJSONOSV GHSA-qrg9-f472-qwfmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@vaadin.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vaadin | flowcpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:* |
>= 1.0.0, <= 1.0.14 | |
| NVD | vaadin | flowcpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:* |
>= 1.1.0, <= 1.4.0 | |
| NVD | vaadin | flowcpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:* |
>= 2.0.0, <= 2.6.1 | |
| NVD | vaadin | flowcpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:* |
>= 3.0.0, <= 5.0.0 | |
| NVD | vaadin | flowcpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:* |
>= 6.0.0, <= 6.0.9 | |
| NVD | vaadin | vaadincpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:* |
>= 10.0.0, <= 10.0.18 | |
| NVD | vaadin | vaadincpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:* |
>= 11.0.0, <= 13.0.0 | |
| NVD | vaadin | vaadincpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:* |
>= 14.0.0, <= 14.6.1 | |
| NVD | vaadin | vaadincpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:* |
>= 15.0.0, <= 18.0.0 | |
| NVD | vaadin | vaadincpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:* |
>= 19.0.0, <= 19.0.8 | |
| OSV | Maven | com.vaadin:vaadin-bom | >= 10.0.0, < 10.0.19 | 10.0.19 |
| OSV | Maven | com.vaadin:vaadin-bom | >= 11.0.0, < 14.6.2 | 14.6.2 |
| OSV | Maven | com.vaadin:vaadin-bom | >= 15.0.0, < 19.0.9 | 19.0.9 |
References
- https://github.com/vaadin/flow/pull/11107 · Patch, Third Party Advisory, WEB
- https://vaadin.com/security/cve-2021-31412 · Vendor Advisory, WEB
- https://github.com/vaadin/platform/security/advisories/GHSA-qrg9-f472-qwfm · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-31412 · ADVISORY
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 24 Jun 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 28 Jun 2021)