VDB
Sign up
MEDIUM5.3

GHSA-qrg9-f472-qwfm

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

Quick fix

GHSA-qrg9-f472-qwfm — com.vaadin:vaadin-bom: upgrade to the fixed version with the command below.

# pom.xml: bump <version>10.0.19</version> for com.vaadin:vaadin-bom

Details

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.

- https://vaadin.com/security/cve-2021-31412

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/com.vaadin:vaadin-bom
Introduced in: 10.0.0Fixed in: 10.0.19
Fix# pom.xml: bump <version>10.0.19</version> for com.vaadin:vaadin-bom
Maven/com.vaadin:vaadin-bom
Introduced in: 11.0.0Fixed in: 14.6.2
Fix# pom.xml: bump <version>14.6.2</version> for com.vaadin:vaadin-bom
Maven/com.vaadin:vaadin-bom
Introduced in: 15.0.0Fixed in: 19.0.9
Fix# pom.xml: bump <version>19.0.9</version> for com.vaadin:vaadin-bom

References