1. Archivio CVE
  2. 2021
  3. CVE-2021-31411

CVE-2021-31411

7.8 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 7.8 – Alta

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
vaadin flow >= 2.0.9 < 2.5.3 –
vaadin flow >= 3.0.0 <= 5.0.0 –
vaadin flow >= 6.0.0 <= 6.0.6 –
vaadin vaadin >= 14.0.3 < 14.5.3 –
vaadin vaadin >= 15.0.0 < 19.0.5 –
Tutte le 14 vulnerabilità di Vaadin Flow
Tutte le 33 vulnerabilità di Vaadin

Tipo di vulnerabilità

CWE-379 Creation of Temporary File in Directory with Insecure Permissions

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.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere i dati dell’applicazione

Come si previene

Requisiti Many contemporary languages have functions which properly handle this condition. Older C temp file functions are especially susceptible.
Sviluppo Try to store sensitive tempfiles in a directory which is not world readable -- i.e., per-user directories.
Sviluppo Avoid using vulnerable temp file functions.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 45 CVE di tipo CWE-379, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org