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.
Remediation
References
https://vaadin.com/security/cve-2021-31412
https://github.com/vaadin/flow/pull/11107
Related Vulnerabilities
CVE-2022-23619 Vulnerability in maven package org.xwiki.platform:xwiki-platform-web
CVE-2021-43861 Vulnerability in npm package mermaid
CVE-2023-40167 Vulnerability in maven package org.eclipse.jetty:jetty-http
CVE-2023-25158 Vulnerability in maven package org.geotools.jdbc:gt-jdbc-postgis
CVE-2015-0254 Vulnerability in maven package org.apache.taglibs:taglibs-standard