CVE-2021-31412: Possible route enumeration in production mode via RouteNotFoundError view in Vaadin 10, 11-14, and 15-19

Published Jun 24, 2021
·
Updated

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 Software

10 affected components
Vaadin flow>=1.0.0<=1.0.14
Vaadin flow>=1.1.0<=1.4.0
Vaadin flow>=2.0.0<=2.6.1
Vaadin flow>=3.0.0<=5.0.0
Vaadin flow>=6.0.0<=6.0.9
Vaadin Vaadin>=10.0.0<=10.0.18
Vaadin Vaadin>=11.0.0<=13.0.0
Vaadin Vaadin>=14.0.0<=14.6.1
Vaadin Vaadin>=15.0.0<=18.0.0
Vaadin Vaadin>=19.0.0<=19.0.8

Event History

Jun 24, 2021
CVE Published
via MITRE·11:33 AM
Data Sourced
via MITRE·11:33 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-31412?

CVE-2021-31412 is a vulnerability that involves improper sanitization of a path in the default RouteNotFoundError view in com.vaadin:flow-server versions.

2

What is the severity of CVE-2021-31412?

CVE-2021-31412 has a severity level of medium with a CVSS score of 5.3.

3

Which software versions are affected by CVE-2021-31412?

CVE-2021-31412 affects 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).

4

How can CVE-2021-31412 be fixed?

To fix CVE-2021-31412, ensure that you are using a patched version of com.vaadin:flow-server, such as versions newer than 1.0.14, 2.0.0, 6.0.9, and so on.

5

Where can I find more information about CVE-2021-31412?

You can find more information about CVE-2021-31412 in the following references: [GitHub Pull Request](https://github.com/vaadin/flow/pull/11107) and [Vaadin Security Page](https://vaadin.com/security/cve-2021-31412).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203