{"id":"CVE-2021-31412","published":"2021-06-24T11:33:10Z","modified":"2024-09-16T16:18:47Z","title":"Possible route enumeration in production mode via RouteNotFoundError view in Vaadin 10, 11-14, and 15-19","vendor":"Vaadin","product":"Vaadin","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01318,"percentile":0.71516,"provenance":"source"},"cwes":[{"id":"CWE-1295","name":"Debug Messages Revealing Unnecessary Information"}],"references":[{"url":"https://vaadin.com/security/cve-2021-31412","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vaadin/flow/pull/11107","tags":["x_refsource_CONFIRM"]}],"priority":{"score":18.0,"factors":[{"name":"EPSS percentile","points":14.3},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"vaadin","affectedVersions":[{"vendor":"Vaadin","product":"Vaadin","versions":[">= 10.0.0, < unspecified",">= unspecified, <= 10.0.18",">= 11.0.0, < unspecified",">= unspecified, < 14.0.0",">= 14.0.0, < unspecified",">= unspecified, <= 14.6.1",">= 15.0.0, < unspecified",">= unspecified, <= 19.0.8"]},{"vendor":"Vaadin","product":"flow-server","versions":[">= 1.0.0, < unspecified",">= unspecified, <= 1.0.14",">= 1.1.0, < unspecified",">= unspecified, < 2.0.0",">= 2.0.0, < unspecified",">= unspecified, <= 2.6.1",">= 3.0.0, < unspecified",">= unspecified, <= 6.0.9"]}],"affected":[{"ecosystem":"Maven","package":"com.vaadin:vaadin-bom","vulnerableRanges":[">=10.0.0, <10.0.19",">=11.0.0, <14.6.2",">=15.0.0, <19.0.9"],"patched":["10.0.19","14.6.2","19.0.9"],"from":["GHSA-qrg9-f472-qwfm"],"provenance":"source"}],"summary":{"text":"The flaw is improper sanitization of the path in the default RouteNotFoundError view of Vaadin's flow-server component, which is part of the Vaadin framework across the 10, 11 to 14, and 15 to 19 release lines. An attacker with network access can send a crafted HTTP request that causes the application to reveal all of its available routes, but only when it runs in production mode and the developer has not provided a custom handler for NotFoundException. No authentication or user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:45:22Z"},"euvd":{"id":"EUVD-2021-1386","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-31405","published":"2021-04-23","fixed":"17.0.11","kev":false},{"cve":"CVE-2021-31408","published":"2021-04-23","fixed":"19.0.4","kev":false},{"cve":"CVE-2021-31411","published":"2021-05-05","fixed":"19.0.5","kev":false,"link":{"from":"CVE-2021-31411","to":"CVE-2021-31412","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.vaadin:vaadin-bom","fromFixed":"14.5.3","toFixed":"14.6.2","daysApart":50},{"kind":"version-step","provenance":"source","package":"Maven:com.vaadin:vaadin-bom","fromFixed":"19.0.5","toFixed":"19.0.9","daysApart":50}]}},{"cve":"CVE-2021-31412","published":"2021-06-24","fixed":"19.0.9","kev":false},{"cve":"CVE-2021-33604","published":"2021-06-24","fixed":"19.0.9","kev":false}],"package":"Maven:com.vaadin:vaadin-bom"}}