Descrizione
In OCaml before 4.14.3 and 5.x before 5.4.1, a buffer over-read in Marshal deserialization (runtime/intern.c) enables remote code execution through a multi-phase attack chain. The vulnerability stems from missing bounds validation in the readblock() function, which performs unbounded memcpy() operations using attacker-controlled lengths from crafted Marshal data.
Tipo di vulnerabilità
CWE-126
Buffer Over-read
The product reads from a buffer using buffer access mechanisms such as indexes or pointers that reference memory locations after the targeted buffer.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza |
Leggere la memoria |
| Riservatezza |
Aggirare i meccanismi di protezione |
| Disponibilità, Integrità |
Interruzione del servizio: arresto o riavvio |
Tutte le 369 CVE di tipo CWE-126, con andamento e prevenzione