Every CVE Search/ Get API key

CVE-2021-31412

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

5.3 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
None
Availability
None

Exploit likelihood

1.32%Up 0.7 points since Jun 25, 2021
90%50%10%1%

What each source reports

CVE List Score used 5.3

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

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.

Record
CVE-2021-31412
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-1295
Updated
2026-11-02
EUVDEUVD-2021-1386 5.3

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.

Record
EUVD-2021-1386
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-03
GitHub AdvisoriesGHSA-qrg9-f472-qwfm 5.3

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

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.

Record
GHSA-qrg9-f472-qwfm
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-20, CWE-668, CWE-1295
Updated
2026-11-02
NVD 5.3

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.

Record
CVE-2021-31412
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:P/I:N/A:N
Weakness
CWE-1295, CWE-20
Updated
2026-11-02
OSV 5.3

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.

Record
CVE-2021-31412
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
OSVGHSA-qrg9-f472-qwfm 5.3

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

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.

Record
GHSA-qrg9-f472-qwfm
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-1295, CWE-20, CWE-668
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
com.vaadin:vaadin-bom
Maven
10.0.0 to 10.0.18
10.0.19
com.vaadin:vaadin-bom
Maven
11.0.0 up to 14.0.0
14.0.0
com.vaadin:vaadin-bom
Maven
15.0.0 to 19.0.8
19.0.9
com.vaadin:vaadin-bom
Maven
10.0.0 up to 10.0.19, plus listed versions
10.0.110.0.1010.0.1110.0.1210.0.13
Show 13 moreShow less
10.0.1410.0.1510.0.1610.0.1710.0.1810.0.210.0.310.0.410.0.510.0.610.0.710.0.810.0.9
10.0.19
com.vaadin:vaadin-bom
Maven
11.0.0 up to 14.6.2, plus listed versions
11.0.111.0.211.0.311.0.412.0.0
Show 45 moreShow less
12.0.112.0.212.0.312.0.412.0.512.0.612.0.713.0.013.0.113.0.1013.0.1113.0.1213.0.1313.0.213.0.313.0.413.0.513.0.613.0.713.0.813.0.914.0.014.0.114.0.1014.0.1114.0.1214.0.1314.0.1414.0.1514.0.214.0.314.0.414.0.514.0.614.0.714.0.814.0.914.1.014.1.114.1.1614.1.1714.1.1814.1.1914.1.214.1.20
14.6.2
com.vaadin:vaadin-bom
Maven
15.0.0 up to 19.0.9, plus listed versions
15.0.115.0.215.0.315.0.415.0.5
Show 35 moreShow less
15.0.616.0.016.0.116.0.216.0.316.0.416.0.517.0.017.0.117.0.1017.0.1117.0.217.0.317.0.417.0.617.0.717.0.817.0.918.0.018.0.118.0.218.0.318.0.418.0.518.0.618.0.719.0.019.0.119.0.219.0.319.0.419.0.519.0.619.0.719.0.8
19.0.9

History

History
RecordedChangedSources
aliases, products, publishedEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-31412 is a medium vulnerability (CVSS 5.3) in Flow Flow-server, published June 24, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.32%, the 70th percentile. Fixed in com.vaadin:vaadin-bom 10.0.19.

References

This page doesn't list everything

Left out here: 44 versions. The JSON record has them.

MoveEnter Open