CVE-2021-31412

MEDIUMCVSS 5.3/10EPSS 1.32%

Last modified

CVE-2021-31412 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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.. EPSS estimates a 1.32% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
5.3/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

EPSS Probability
1.32%

67.2th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
VaadinFlow>= 1.0.0, <= 1.0.14
VaadinFlow>= 1.1.0, <= 1.4.0
VaadinFlow>= 2.0.0, <= 2.6.1
VaadinFlow>= 3.0.0, <= 5.0.0
VaadinFlow>= 6.0.0, <= 6.0.9
VaadinVaadin>= 10.0.0, <= 10.0.18
VaadinVaadin>= 11.0.0, <= 13.0.0
VaadinVaadin>= 14.0.0, <= 14.6.1
VaadinVaadin>= 15.0.0, <= 18.0.0
VaadinVaadin>= 19.0.0, <= 19.0.8

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2021-31412?
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.
How severe is CVE-2021-31412?
CVE-2021-31412 has a CVSS score of 5.3/10 (MEDIUM severity). The EPSS model estimates a 1.32% probability of exploitation in the next 30 days.
How do I fix CVE-2021-31412?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-31412?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST