Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Vaadin | Flow | >= 1.0.0, <= 1.0.14 |
| Vaadin | Vaadin | >= 10.0.0, <= 10.0.18 |
Related Weaknesses (CWE)
References
- https://github.com/vaadin/flow/pull/11107PatchThird Party Advisory
- https://vaadin.com/security/cve-2021-31412Vendor Advisory
- https://github.com/vaadin/flow/pull/11107PatchThird Party Advisory
- https://vaadin.com/security/cve-2021-31412Vendor Advisory
FAQ
What is CVE-2021-31412?
CVE-2021-31412 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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), ...
How severe is CVE-2021-31412?
CVE-2021-31412 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-31412?
Check the references section above for vendor advisories and patch information. Affected products include: Vaadin Flow, Vaadin Vaadin.