1. Archivio CVE
  2. 2020
  3. CVE-2020-11080

CVE-2020-11080

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

In nghttp2 before version 1.41.0, the overly large HTTP/2 SETTINGS frame payload causes denial of service. The proof of concept attack involves a malicious client constructing a SETTINGS frame with a length of 14,400 bytes (2400 individual settings entries) over and over again. The attack causes the CPU to spike at 100%. nghttp2 v1.41.0 fixes this vulnerability. There is a workaround to this vulnerability. Implement nghttp2_on_frame_recv_callback callback, and if received frame is SETTINGS frame and the number of settings entries are large (e.g., > 32), then drop the connection.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
debian debian linux 9.0 –
debian debian linux 10.0 –
fedoraproject fedora 31 –
fedoraproject fedora 33 –
nghttp2 nghttp2 < 1.41.0 –
nodejs node.js >= 10.0.0 <= 10.12.0 –
nodejs node.js >= 10.13.0 < 10.21.0 –
nodejs node.js >= 12.0.0 <= 12.12.0 –
nodejs node.js >= 12.13.0 < 12.18.0 –
nodejs node.js >= 14.0.0 <= 14.4.0 –
opensuse leap 15.1 –
oracle banking extensibility workbench 14.3.0 –
oracle banking extensibility workbench 14.4.0 –
oracle blockchain platform < 21.1.2 –
oracle enterprise communications broker 3.1.0 –
oracle enterprise communications broker 3.2.0 –
oracle graalvm 19.3.2 –
oracle graalvm 20.1.0 –
oracle mysql >= 7.3.0 <= 7.3.30 –
oracle mysql >= 7.4.0 <= 7.4.29 –
oracle mysql >= 7.5.0 <= 7.5.19 –
oracle mysql >= 7.6.0 <= 7.6.15 –
oracle mysql >= 8.0.0 <= 8.0.21 –
Tutte le 9 vulnerabilità di Nghttp2

Tipo di vulnerabilità

CWE-400 Consumo di risorse non controllato

Il prodotto non controlla correttamente l’assegnazione e l’uso di una risorsa limitata (memoria, CPU, connessioni), che può essere esaurita fino a bloccare il servizio.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: arresto o riavvio, Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria, Interruzione del servizio: esaurimento di risorse
Controllo degli accessi, Altro Aggirare i meccanismi di protezione, Altro

Come si previene

Architettura e progettazione Design throttling mechanisms into the system architecture. The best protection is to limit the amount of resources that an unauthorized user can cause to be expended. A strong authentication and access control model will help prevent such attacks from occurring in the first place. The login application should be protected against DoS attacks as much as possible. Limiting the database access, perhaps by caching result sets, can help minimize the resources expended. To further limit the potential for a DoS attack, consider tracking the rate of requests received from users and blocking requests that exceed a defined rate threshold.
Architettura e progettazione Mitigation of resource exhaustion attacks requires that the target system either: recognizes the attack and denies that user further access for a given amount of time, or uniformly throttles all requests in order to make it more difficult to consume resources more quickly than they can again be freed. The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question. The second solution is simply difficult to effectively institute -- and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.
Architettura e progettazione Ensure that protocols have specific limits of scale placed on them.
Sviluppo Ensure that all failures in resource allocation place the system into a safe posture.

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

Tutte le 3.950 CVE di tipo CWE-400, con andamento e prevenzione

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