CVE-2021-31412

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

MEDIUM
5.3
CVSS Score
Published: June 24, 2021 at 11:33 AM UTC
Updated: June 17, 2026 at 03:51 AM UTC
3 products affected across 1 vendorVaadinFlowFlow Server

Using Vaadin by Vaadin?

Get instant alerts when new vulnerabilities affect Vaadin - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

1.0.0 ≤ v ≤ 1.0.141.1.0 ≤ v ≤ 1.4.02.0.0 ≤ v ≤ 2.6.13.0.0 ≤ v ≤ 5.0.06.0.0 ≤ v ≤ 6.0.9
v ≥ 10.0.0v ≥ 11.0.0v ≥ 14.0.0v ≥ 15.0.0v ≤ 10.0.18v ≤ 14.6.1v ≤ 19.0.8v < 14.0.010.0.0 ≤ v ≤ 10.0.1811.0.0 ≤ v ≤ 13.0.014.0.0 ≤ v ≤ 14.6.115.0.0 ≤ v ≤ 18.0.019.0.0 ≤ v ≤ 19.0.810.0.011.0.014.0.015.0.0
Affected range stops below 14.0.0, so it looks safe — our inference, not a vendor statement
v ≥ 1.0.0v ≥ 1.1.0v ≥ 2.0.0v ≥ 3.0.0v ≤ 1.0.14v ≤ 2.6.1v ≤ 6.0.9v < 2.0.01.0.01.1.02.0.03.0.0
Affected range stops below 2.0.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (2)

x_refsource_CONFIRMPatchThird Party Advisory
https://github.com/vaadin/flow/pull/11107
x_refsource_CONFIRMVendor Advisory
https://vaadin.com/security/cve-2021-31412

CVSS

5.3MEDIUMVaadin
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-1295CWE-20

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card