CVE-2021-31411 json
Insecure temporary directory usage in frontend build functionality of Vaadin 14 and 15-19
published 2021-05-05 5 y ago modified 2026-06-17 4 mo ago also GHSA-p826-8vhq-h439 , EUVD-2021-1147
- cvss
- 6.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 14%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven com.vaadin:vaadin-bom 14.5.3, 19.0.5
- Vaadin Vaadin 19.0.0
- Vaadin flow-server 6.0.0
- github.com/vaadin/flow#10640 pull request
Exploit prediction
0.23% chance of exploitation in the next 30 days, higher than 14% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.3 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 6.3 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.vaadin:vaadin-bom | >=14.0.3, <14.5.3 >=15.0.0, <19.0.5 |
14.5.3 19.0.5 |
Affected products
- Vaadin Vaadin
- Vaadin flow-server
Classification
- Weakness
-
- CWE-379 Creation of Temporary File in Directory with Insecure Permissions
References
-
github.com
/vaadin/flow/pull/10640
web, patch, third-party-advisory
-
vaadin.com
/security/cve-2021-31411
web, vendor-advisory
-
github.com
/vaadin/platform/security/advisories/GHSA-p826-8vhq-h439
web
-
nvd.nist.gov
/vuln/detail/CVE-2021-31411
advisory
Sources
- CVE List CVE-2021-31411
- GitHub Advisory GHSA-p826-8vhq-h439
- NVD CVE-2021-31411
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.