CVE-2021-31411
published medium CVSS 3.1 · 6.3Insecure temporary directory usage in frontend build functionality of Vaadin 14 and 15-19
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Vaadin | — | Vaadin14.0.3 and later (affected · custom); changes: affected at 15.0.0, unaffected at 19.0.0, affected at 19.0.0 | Version-specific | Not stated | Vaadin |
| Vaadin | — | flow-server2.0.9 and later (affected · custom); changes: affected at 3.0.0, unaffected at 6.0.0, affected at 6.0.0 | Version-specific | Not stated | Vaadin |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- Vaadin · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Vaadin | Vaadin | 14.0.3 and later (affected · custom); changes: affected at 15.0.0, unaffected at 19.0.0, affected at 19.0.0 | Vaadin · cna |
| Vaadin | flow-server | 2.0.9 and later (affected · custom); changes: affected at 3.0.0, unaffected at 6.0.0, affected at 6.0.0 | Vaadin · cna |
Weaknesses
1- CWE-379 CWE-379 Creation of Temporary File in Directory with Incorrect Permissions
References
2Provider assertions
2Vaadin · cna
Insecure temporary directory usage in frontend build functionality of Vaadin 14 and 15-19
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e0f44dbeaae6089a87228302f3de68cafe217f3750e241d78c82483c2589cf29
- Ingested
- 23 Sep 2026, 07:54:21 UTC
- Source record
- Official CVE record