Descrizione
In function read_yin_leaf() in libyang <= v1.0.225, it doesn't check whether the value of retval->ext[r] is NULL. In some cases, it can be NULL, which leads to the operation of retval->ext[r]->flags that results in a crash.
In function read_yin_leaf() in libyang <= v1.0.225, it doesn't check whether the value of retval->ext[r] is NULL. In some cases, it can be NULL, which leads to the operation of retval->ext[r]->flags that results in a crash.
| Fornitore | Prodotto | Versione | Piattaforma |
|---|---|---|---|
| cesnet | libyang | <= 1.0.225 | – |
CWE-252 Unchecked Return Value
The product does not check the return value from a method or function.
| Ambito | Impatto |
|---|---|
| Disponibilità, Integrità | Stato imprevisto, Dipende dal contesto, Interruzione del servizio: arresto o riavvio |
| Controllo degli accessi | Aggirare i meccanismi di protezione |
Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.
Tutte le 200 CVE di tipo CWE-252, con andamento e prevenzione
Fonte: catalogo CWE del MITRE · cwe.mitre.org