CVE-2021-31411

Insecure temporary directory usage in frontend build functionality of Vaadin 14 and 15-19

HIGH
7.8
CVSS Score
Published: May 5, 2021 at 06:15 PM UTC
Updated: June 17, 2026 at 03:51 AM UTC
3 products affected across 1 vendorVaadinFlowFlow Server

Using Vaadin by Vaadin?

Get instant alerts when new vulnerabilities affect Vaadin - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.0.9 ≤ v < 2.5.33.0.0 ≤ v ≤ 5.0.06.0.0 ≤ v ≤ 6.0.6
Affected range stops below 2.5.3, so it looks safe — our inference, not a vendor statement
v ≥ 14.0.314.0.3 ≤ v < 14.5.315.0.0 ≤ v < 19.0.514.0.3
Affected range stops below 14.5.3, so it looks safe — our inference, not a vendor statement
Affected range stops below 19.0.5, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (2)

x_refsource_CONFIRMPatchThird Party Advisory
https://github.com/vaadin/flow/pull/10640
x_refsource_CONFIRMVendor Advisory
https://vaadin.com/security/cve-2021-31411

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-379NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card