Vulnerability · Published Jun 24, 2021 · Assigned by Vaadin

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

Medium 5.3

In plain English

A medium-severity security flaw in flow-server from Vaadin. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)1.3%top 29.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavencom.vaadin:vaadin-bom10.0.19GHSA-qrg9-f472-qwfm
Mavencom.vaadin:vaadin-bom14.6.2GHSA-qrg9-f472-qwfm
Mavencom.vaadin:vaadin-bom19.0.9GHSA-qrg9-f472-qwfm

Affected products (as reported)

VendorProductVersions
Vaadin Vaadin 10.0.0 – before unspecifiedunspecified – through 10.0.1811.0.0 – before unspecifiedunspecified – before 14.0.014.0.0 – before unspecifiedunspecified – through 14.6.115.0.0 – before unspecifiedunspecified – through 19.0.8
Vaadin flow-server 1.0.0 – before unspecifiedunspecified – through 1.0.141.1.0 – before unspecifiedunspecified – before 2.0.02.0.0 – before unspecifiedunspecified – through 2.6.13.0.0 – before unspecifiedunspecified – through 6.0.9

Weakness: CWE-1295 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References