CVE-2021-31412
Last modified
CVE-2021-31412 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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.. EPSS estimates a 1.32% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| 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 |
References
- https://github.com/vaadin/flow/pull/11107Patch, Third Party Advisory
- https://vaadin.com/security/cve-2021-31412Vendor Advisory
- https://github.com/vaadin/flow/pull/11107Patch, Third Party Advisory
- https://vaadin.com/security/cve-2021-31412Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-31412?
How severe is CVE-2021-31412?
How do I fix CVE-2021-31412?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-31407Vulnerability in OSGi integration in com.vaadin:flow-server …7.5
- CVE-2021-31408Authentication.logout() helper in com.vaadin:flow-client ver…7.1
- CVE-2021-31409Unsafe validation RegEx in EmailValidator component in com.v…7.5
- CVE-2021-3141In Unisys Stealth (core) before 6.0.025.0, the Keycloak pass…7.8
- CVE-2021-31410Overly relaxed configuration of frontend resources server in…7.5
- CVE-2021-31411Insecure temporary directory usage in frontend build functio…7.8
- CVE-2021-31414The unofficial vscode-rpm-spec extension before 0.3.2 for Vi…9.8
- CVE-2021-31417This vulnerability allows local attackers to disclose sensit…6.5
- CVE-2021-31418This vulnerability allows local attackers to disclose sensit…6.5
- CVE-2021-31419This vulnerability allows local attackers to disclose sensit…6.5
- CVE-2021-3142Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-31420This vulnerability allows local attackers to escalate privil…8.8
Are you affected by CVE-2021-31412?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
