CVE Vulnerabilities

CVE-2021-31411

Creation of Temporary File in Directory with Insecure Permissions

Published: May 05, 2021 | Modified: Nov 21, 2024
CVSS 3.x
7.8
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
4.6 MEDIUM
AV:L/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu

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.

Weakness

The product creates a temporary file in a directory whose permissions allow unintended actors to determine the file’s existence or otherwise access that file.

Affected Software

Name Vendor Start Version End Version
Flow Vaadin 2.0.9 (including) 2.5.3 (excluding)
Flow Vaadin 3.0.0 (including) 5.0.0 (including)
Flow Vaadin 6.0.0 (including) 6.0.6 (including)
Vaadin Vaadin 14.0.3 (including) 14.5.3 (excluding)
Vaadin Vaadin 15.0.0 (including) 19.0.5 (excluding)

Potential Mitigations

References