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

CVE-2021-3997

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

Descrizione

A flaw was found in systemd. An uncontrolled recursion in systemd-tmpfiles may lead to a denial of service at boot time when too many nested directories are created in /tmp.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
fedoraproject fedora 34 –
fedoraproject fedora 35 –
redhat enterprise linux 7.0 –
redhat enterprise linux 8.0 –
redhat enterprise linux 9.0 –
systemd project systemd >= 240 < 250.2 –
Tutte le 55 vulnerabilità di Systemd Project Systemd

Tipo di vulnerabilità

CWE-674 Ricorsione non controllata

Il prodotto non controlla la profondità della ricorsione, che può consumare risorse eccessive come la memoria o lo stack del programma.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria
Riservatezza Leggere i dati dell’applicazione

Come si previene

Sviluppo Ensure that an end condition will be reached under all logic conditions. The end condition may include checking against the depth of recursion and exiting with an error if the recursion goes too deep. The complexity of the end condition contributes to the effectiveness of this action.
Sviluppo Increase the stack size.

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

Tutte le 664 CVE di tipo CWE-674, con andamento e prevenzione

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