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

CVE-2022-2639

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

An integer coercion error was found in the openvswitch kernel module. Given a sufficiently large number of actions, while copying and reserving memory for a new action of a new flow, the reserve_sfa_size() function does not return -EMSGSIZE as expected, potentially leading to an out-of-bounds write access. This flaw allows a local user to crash or potentially escalate their privileges on the system.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
linux linux kernel >= 3.18.139 < 3.19 –
linux linux kernel >= 4.4.179 < 4.5 –
linux linux kernel >= 4.9.169 < 4.9.312 –
linux linux kernel >= 4.14.112 < 4.14.277 –
linux linux kernel >= 4.19.35 < 4.19.240 –
linux linux kernel >= 5.0.8 < 5.4.191 –
linux linux kernel >= 5.5 < 5.10.113 –
linux linux kernel >= 5.11 < 5.15.36 –
linux linux kernel >= 5.16 < 5.17.5 –
redhat enterprise linux 8.0 –
redhat enterprise linux 9.0 –
Tutte le 24.085 vulnerabilità di Linux Kernel

Tipo di vulnerabilità

CWE-681 Incorrect Conversion between Numeric Types

When converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values. If the resulting values are used in a sensitive context, then dangerous behaviors may occur.

Impatto sui sistemi

AmbitoImpatto
Altro, Integrità Stato imprevisto, Degradare la qualità

Come si previene

Sviluppo Avoid making conversion between numeric types. Always check for the allowed ranges.

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

Tutte le 123 CVE di tipo CWE-681, con andamento e prevenzione

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