1. Archivio CVE
  2. 2022
  3. CVE-2022-44570

CVE-2022-44570

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

Descrizione

A denial of service vulnerability in the Range header parsing component of Rack >= 1.5.0. A Carefully crafted input can cause the Range header parsing component in Rack to take an unexpected amount of time, possibly resulting in a denial of service attack vector. Any applications that deal with Range requests (such as streaming applications, or applications that serve files) may be impacted.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
rack rack >= 1.5.0 < 2.0.9.2 ruby
rack rack >= 2.1.0 < 2.1.4.2 ruby
rack rack >= 2.2.0 < 2.2.6.1 ruby
rack rack >= 3.0.0 < 3.0.4.1 ruby
Tutte le 41 vulnerabilità di Rack

Tipo di vulnerabilità

CWE-1333 Espressione regolare inefficiente (ReDoS)

Il prodotto usa un’espressione regolare che nel caso peggiore ha una complessità di calcolo molto alta, anche esponenziale: un input costruito ad arte può bloccare il servizio.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: esaurimento della CPU

Come si previene

Architettura e progettazione Use regular expressions that do not support backtracking, e.g. by removing nested quantifiers.
Configurazione del sistema Set backtracking limits in the configuration of the regular expression implementation, such as PHP's pcre.backtrack_limit. Also consider limits on execution time for the process.
Sviluppo Do not use regular expressions with untrusted input. If regular expressions must be used, avoid using backtracking in the expression.
Sviluppo Limit the length of the input that the regular expression will process.

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

Tutte le 533 CVE di tipo CWE-1333, con andamento e prevenzione

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