CVE-2021-31411: Insecure temporary directory usage in frontend build functionality of Vaadin 14 and 15-19

Published May 5, 2021
·
Updated

Insecure temporary directory usage in frontend build functionality of com.vaadin:flow-server versions 2.0.9 through 2.5.2 (Vaadin 14.0.3 through Vaadin 14.5.2), 3.0 prior to 6.0 (Vaadin 15 prior to 19), and 6.0.0 through 6.0.5 (Vaadin 19.0.0 through 19.0.4) allows local users to inject malicious code into frontend resources during application rebuilds.

Affected Software

5 affected components
Vaadin flow>=2.0.9<2.5.3
Vaadin flow>=3.0.0<=5.0.0
Vaadin flow>=6.0.0<=6.0.6
Vaadin Vaadin>=14.0.3<14.5.3
Vaadin Vaadin>=15.0.0<19.0.5

Event History

May 5, 2021
CVE Published
via MITRE·06:15 PM
Data Sourced
via MITRE·06:15 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-31411?

CVE-2021-31411 has been classified as a medium severity vulnerability due to insecure temporary directory usage.

2

How do I fix CVE-2021-31411?

To fix CVE-2021-31411, update Vaadin Flow server to version 2.5.3 or later, 3.0.0 or later, and 6.0.6 or later.

3

Who is affected by CVE-2021-31411?

CVE-2021-31411 affects Vaadin Flow server versions from 2.0.9 to 2.5.2, 3.0 prior to 6.0, and 6.0.0 to 6.0.5, as well as specific versions of Vaadin 14 and Vaadin 15.

4

What impact does CVE-2021-31411 have?

The impact of CVE-2021-31411 allows local users to inject code through insecure handling of temporary directories.

5

Is CVE-2021-31411 publicly known?

Yes, CVE-2021-31411 was publicly disclosed and listed in the Common Vulnerabilities and Exposures database.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203