1. Archivio CVE
  2. 2019
  3. CVE-2019-9930

CVE-2019-9930

9.8 Gravità critica CVSS v3.0 · fonte NVD CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 9.8 – Critica

Descrizione

Various Lexmark products have an Integer Overflow.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
lexmark 6500e firmware <= lhs60.jr.p705 –
lexmark c734 firmware <= lr.sk.p815 –
lexmark c736 firmware <= lr.ske.p815 –
lexmark c746 firmware <= lhs60.cm2.p705 –
lexmark c748 firmware <= lhs60.cm4.p705 –
lexmark c792 firmware <= lhs60.hc.p705 –
lexmark c925 firmware <= lhs60.hv.p705 –
lexmark c950 firmware <= lhs60.tp.p705 –
lexmark cs31x firmware <= lw71.vyl.p230 –
lexmark cs41x firmware <= lw71.vy2.p230 –
lexmark cs748 firmware <= lhs60.cm4.p705 –
lexmark cs796 firmware <= lhs60.hc.p705 –
lexmark cx310 firmware <= lw71.gm2.p230 –
lexmark e46x firmware <= lr.lbh.p815 –
lexmark m1140 firmware <= lw71.prl.p230 –
lexmark m1145 firmware <= lw71.pr2.p230 –
lexmark m3150dn firmware <= lw71.pr2.p230 –
lexmark m5155 firmware <= lw71.dn4.p230 –
lexmark m5163 firmware <= lw71.dn4.p230 –
lexmark m5163dn firmware <= lw71.dn2.p230 –
lexmark m5170 firmware <= lw71.dn7.p230 –
lexmark ms310 firmware <= lw71.prl.p230 –
lexmark ms312 firmware <= lw71.prl.p230 –
lexmark ms315 firmware <= lw71.tl2.p230 –
lexmark ms317 firmware <= lw71.prl.p230 –
lexmark ms410 firmware <= lw71.prl.p230 –
lexmark ms415 firmware <= lw71.tl2.p230 –
lexmark ms417 firmware <= lw71.tl2.p230 –
lexmark ms51x firmware <= lw71.pr2.p230 –
lexmark ms610dn firmware <= lw71.pr2.p230 –
lexmark ms617 firmware <= lw71.pr2.p230 –
lexmark ms71x firmware <= lw71.dn2.p230 –
lexmark ms810 firmware <= lw71.dn2.p230 –
lexmark ms810de firmware <= lw71.dn4.p230 –
lexmark ms811 firmware <= lw71.dn2.p230 –
lexmark ms812 firmware <= lw71.dn2.p230 –
lexmark ms812de firmware <= lw71.dn7.p230 –
lexmark ms817 firmware <= lw71.dn2.p230 –
lexmark ms818 firmware <= lw71.dn2.p230 –
lexmark ms91x firmware <= lw71.sa.p230 –
lexmark mx31x firmware <= lw71.sb2.p230 –
lexmark mx410 firmware <= lw71.sb4.p230 –
lexmark mx510 firmware <= lw71.sb4.p230 –
lexmark mx511 firmware <= lw71.sb4.p230 –
lexmark mx610 firmware <= lw71.sb7.p230 –
lexmark mx611 firmware <= lw71.sb7.p230 –
lexmark mx6500e firmware <= lw71.jd.p230 –
lexmark mx71x firmware <= lw71.tu.p230 –
lexmark mx81x firmware <= lw71.tu.p230 –
lexmark mx91x firmware <= lw71.mg.p230 –
lexmark t65x firmware <= lr.jp.p815 –
lexmark w850 firmware <= lp.jb.p815 –
lexmark x46x firmware <= lr.bs.p815 –
lexmark x548 firmware <= lhs60.vk.p705 –
lexmark x65x firmware <= lr.mn.p815 –
lexmark x73x firmware <= lr.fl.p815 –
lexmark x74x firmware <= lhs60.ny.p705 –
lexmark x792 firmware <= lhs60.mr.p705 –
lexmark x86x firmware <= lp.sp.p815 –
lexmark x925 firmware <= lhs60.hk.p705 –
lexmark x95x firmware <= lhs60.tq.p705 –
lexmark xm1135 firmware <= lw71.sb2.p230 –
lexmark xm3150 firmware <= lw71.sb7.p230 –
lexmark xm51xx firmware <= lw71.tu.p230 –
lexmark xm71xx firmware <= lw71.tu.p230 –
lexmark xm91x firmware <= lw71.mg.p230 –
lexmark xs548 firmware <= lhs60.vk.p705 –
lexmark xs748 firmware <= lhs60.ny.p705 –
lexmark xs79x firmware <= lhs60.mr.p705 –
lexmark xs925 firmware <= lhs60.hk.p705 –
lexmark xs95x firmware <= lhs60.tq.p705 –
Tutte le 18 vulnerabilità di Lexmark M3150dn Firmware

Tipo di vulnerabilità

CWE-190 Integer overflow o wraparound

Il prodotto esegue un calcolo che può superare il valore massimo rappresentabile da un intero, mentre la logica presume che il risultato sia sempre più grande del valore iniziale. In quel caso il valore può diventare molto piccolo o negativo.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: arresto o riavvio, Interruzione del servizio: esaurimento della memoria, Interruzione del servizio: instabilità
Integrità Modificare la memoria
Riservatezza, Disponibilità, Controllo degli accessi Eseguire codice o comandi non autorizzati, Aggirare i meccanismi di protezione
Disponibilità, Altro Alterare la logica di esecuzione, Interruzione del servizio: arresto o riavvio, Interruzione del servizio: esaurimento della CPU
Controllo degli accessi Aggirare i meccanismi di protezione
Controllo degli accessi Aggirare i meccanismi di protezione, Interruzione del servizio: arresto o riavvio

Come si previene

Requisiti Ensure that all protocols are strictly defined, such that all out-of-bounds behavior can be identified simply, and require strict conformance to the protocol.
Requisiti · Scelta del linguaggio Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. If possible, choose a language or compiler that performs automatic bounds checking.
Architettura e progettazione · Librerie o framework Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Use libraries or frameworks that make it easier to handle numbers without unexpected consequences. Examples include safe integer handling packages such as SafeInt (C++) or IntegerLib (C or C++).
Sviluppo · Validazione dell’input Perform input validation on any numeric input by ensuring that it is within the expected range. Enforce that the input meets both the minimum and maximum requirements for the expected range. Use unsigned integers where possible. This makes it easier to perform validation for integer overflows. When signed integers are required, ensure that the range check includes minimum values as well as maximum values.
Sviluppo Understand the programming language's underlying representation and how it interacts with numeric calculation (CWE-681). Pay close attention to byte size discrepancies, precision, signed/unsigned distinctions, truncation, conversion and casting between types, not-a-number calculations, and how the language handles numbers that are too large or too small for its underlying representation. Also be careful to account for 32-bit, 64-bit, and other potential differences that may affect the numeric representation.
Architettura e progettazione Per ogni controllo di sicurezza eseguito lato client, ripeti lo stesso controllo lato server, per evitare CWE-602: un attaccante può aggirare i controlli del client modificando i valori dopo il controllo o eliminando del tutto i controlli dal client, e inviare poi al server i valori modificati.
Sviluppo · Hardening della compilazione Examine compiler warnings closely and eliminate problems with potential security implications, such as signed / unsigned mismatch in memory operations, or use of uninitialized variables. Even if the weakness is rarely exploitable, a single failure may lead to the compromise of the entire system.

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

Tutte le 3.545 CVE di tipo CWE-190, con andamento e prevenzione

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