1. Archivio CVE
  2. 2018
  3. CVE-2018-17204

CVE-2018-17204

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

Descrizione

An issue was discovered in Open vSwitch (OvS) 2.7.x through 2.7.6, affecting parse_group_prop_ntr_selection_method in lib/ofp-util.c. When decoding a group mod, it validates the group type and command after the whole group mod has been decoded. The OF1.5 decoder, however, tries to use the type and command earlier, when it might still be invalid. This causes an assertion failure (via OVS_NOT_REACHED). ovs-vswitchd does not enable support for OpenFlow 1.5 by default.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
canonical ubuntu linux 16.04 –
canonical ubuntu linux 18.04 –
debian debian linux 9.0 –
openvswitch openvswitch >= 2.7.0 <= 2.7.6 –
redhat openstack 10 –
redhat openstack 13 –
Tutte le 265 vulnerabilità di Redhat Openstack

Tipo di vulnerabilità

CWE-617 Asserzione raggiungibile

Il prodotto contiene un assert() o un’istruzione simile che un attaccante può far scattare, causando la chiusura dell’applicazione o un comportamento più grave del necessario.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: arresto o riavvio

Come si previene

Sviluppo If the assertion statement is required (e.g., for security or reliability), change the invoking code to avoid the conditions that trigger the assertion.
Sviluppo Consider changing the assertion to some other less fatal error. This might not be easy to implement, since other code may be needed to handle the error.
Sviluppo Make sensitive open/close operations non-reachable from directly user-controlled data (e.g. open/close resources)
Sviluppo · Validazione dell’input Perform input validation on user data.

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

Tutte le 926 CVE di tipo CWE-617, con andamento e prevenzione

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