Vulnerability · Published May 5, 2021 · Assigned by Vaadin
CVE-2021-31411Insecure temporary directory usage in frontend build functionality of Vaadin 14 and 15-19
Medium 6.3
In plain English
A medium-severity security flaw in flow-server from Vaadin. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | com.vaadin:vaadin-bom | 14.5.3 | GHSA-p826-8vhq-h439 |
| Maven | com.vaadin:vaadin-bom | 19.0.5 | GHSA-p826-8vhq-h439 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Vaadin | Vaadin | 14.0.3 – before * |
| Vaadin | flow-server | 2.0.9 – before * |
Weakness: CWE-379 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
References
- https://vaadin.com/security/cve-2021-31411 x_refsource_CONFIRM
- https://github.com/vaadin/flow/pull/10640 x_refsource_CONFIRM