CVE-2021-31412Possible route enumeration in production mode via RouteNotFoundError view in Vaadin 10,…
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
Fixed builds are available from Maven: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Maven library | com.vaadin:vaadin-bom | Fixed | 19.0.9 | GHSA-qrg9-f472-qwfm |
What the vendor says
As published in the CVE record by Vaadin, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Vaadin: affected: 10.0.0 to before unspecified, unspecified to 10.0.18, 11.0.0 to before unspecified, unspecified to before 14.0.0, 14.0.0 to before unspecified, unspecified to 14.6.1; fixed in
14.0.0 - Vaadin flow-server: affected: 1.0.0 to before unspecified, unspecified to 1.0.14, 1.1.0 to before unspecified, unspecified to before 2.0.0, 2.0.0 to before unspecified, unspecified to 2.6.1; fixed in
2.0.0
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.