CVE-2021-31412

MEDIUM

com.vaadin:flow-server <2.6.1 - Path Traversal

Title source: llm
STIX 2.1

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.

References (2)

Core 2
Core References
Vendor Advisory x_refsource_confirm
https://vaadin.com/security/cve-2021-31412
Patch, Third Party Advisory x_refsource_confirm
https://github.com/vaadin/flow/pull/11107

Scores

CVSS v3 5.3
EPSS 0.0132
EPSS Percentile 67.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Details

CWE
CWE-1295 CWE-20
Status published
Products (3)
com.vaadin/vaadin-bom 10.0.0 - 10.0.19Maven
vaadin/flow 1.0.0 - 1.0.14
vaadin/vaadin 10.0.0 - 10.0.18
Published Jun 24, 2021
Tracked Since Feb 18, 2026