1. Archivio CVE
  2. 2024
  3. CVE-2024-32878

CVE-2024-32878

8.8 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H 8.8 – Alta

Descrizione

Llama.cpp is LLM inference in C/C++. There is a use of uninitialized heap variable vulnerability in gguf_init_from_file, the code will free this uninitialized variable later. In a simple POC, it will directly cause a crash. If the file is carefully constructed, it may be possible to control this uninitialized value and cause arbitrary address free problems. This may further lead to be exploited. Causes llama.cpp to crash (DoS) and may even lead to arbitrary code execution (RCE). This vulnerability has been patched in commit b2740.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
ggml llama.cpp >= b2715 < b2740 –
Tutte le 41 vulnerabilità di Ggml Llama.cpp

Tipo di vulnerabilità

CWE-456 Missing Initialization of a Variable

The product does not initialize critical variables.

Impatto sui sistemi

AmbitoImpatto
Integrità, Altro Stato imprevisto, Degradare la qualità, Dipende dal contesto

Come si previene

Sviluppo · Riduzione della superficie di attacco Ensure that critical variables are initialized before first use.
Requisiti · Scelta del linguaggio Choose a language that is not susceptible to these issues.

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

Tutte le 5 CVE di tipo CWE-456, con andamento e prevenzione

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