CVE-2021-31411
HIGH 7.8CVSS 3.1Insecure temporary directory usage in frontend build functionality of Vaadin 14 and 15-19
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.
- Published
- 5 May 2021
- Last modified
- 17 Jun 2026
- Assigned by
- security@vaadin.com
- NVD status
- Modified
- Weakness
- CWE-379
- Also known as
- GHSA-p826-8vhq-h439
- Sources
- NVDJSONOSV GHSA-p826-8vhq-h439JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | security@vaadin.com (Secondary) | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vaadin | flowcpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:* |
>= 2.0.9, < 2.5.3 | 2.5.3 |
| NVD | vaadin | flowcpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:* |
>= 3.0.0, <= 5.0.0 | |
| NVD | vaadin | flowcpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:* |
>= 6.0.0, <= 6.0.6 | |
| NVD | vaadin | vaadincpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:* |
>= 14.0.3, < 14.5.3 | 14.5.3 |
| NVD | vaadin | vaadincpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:* |
>= 15.0.0, < 19.0.5 | 19.0.5 |
| OSV | Maven | com.vaadin:vaadin-bom | >= 14.0.3, < 14.5.3 | 14.5.3 |
| OSV | Maven | com.vaadin:vaadin-bom | >= 15.0.0, < 19.0.5 | 19.0.5 |
References
- https://github.com/vaadin/flow/pull/10640 · Patch, Third Party Advisory, WEB
- https://vaadin.com/security/cve-2021-31411 · Vendor Advisory, WEB
- https://github.com/vaadin/platform/security/advisories/GHSA-p826-8vhq-h439 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-31411 · ADVISORY
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 5 May 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 6 May 2021)