Descrizione
Ghidra before 12.2 contains a numeric truncation vulnerability in PackedDecode::skipAttribute and skipAttributeRemaining in marshal.cc that stores 64-bit string lengths in 32-bit variables. Attackers can supply a crafted packed stream, such as a malicious .sla file, to inject attributes into the decompiler's input or crash the decompiler process.
Tipo di vulnerabilità
CWE-197
Numeric Truncation Error
Truncation errors occur when a primitive is cast to a primitive of a smaller size and data is lost in the conversion.
Impatto sui sistemi
| Ambito | Impatto |
| Integrità |
Modificare la memoria, Dipende dal contesto |
Come si previene
Sviluppo
Ensure that no casts, implicit or explicit, take place that move from a larger size primitive or a smaller size primitive.
Tutte le 76 CVE di tipo CWE-197, con andamento e prevenzione