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

CVE-2024-53427

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

Descrizione

decNumberCopy in decNumber.c in jq through 1.7.1 does not properly consider that NaN is interpreted as numeric, which has a resultant stack-based buffer overflow and out-of-bounds write, as demonstrated by use of --slurp with subtraction, such as a filter of .-. when the input has a certain form of digit string with NaN (e.g., "1 NaN123" immediately followed by many more digits).

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
jqlang jq <= 1.7.1 –
Tutte le 24 vulnerabilità di Jqlang Jq

Tipo di vulnerabilità

CWE-843 Type confusion: accesso a una risorsa con un tipo incompatibile

Il prodotto crea una risorsa (puntatore, oggetto o variabile) di un certo tipo, ma in seguito vi accede come se fosse di un tipo incompatibile.

Impatto sui sistemi

AmbitoImpatto
Altro Dipende dal contesto
Disponibilità, Integrità, Riservatezza Leggere la memoria, Modificare la memoria, Eseguire codice o comandi non autorizzati, Interruzione del servizio: arresto o riavvio

Tutte le 929 CVE di tipo CWE-843, con andamento e prevenzione

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