1. Archivio CVE
  2. 2021
  3. CVE-2021-26906

CVE-2021-26906

5.9 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H 5.9 – Media

Descrizione

An issue was discovered in res_pjsip_session.c in Digium Asterisk through 13.38.1; 14.x, 15.x, and 16.x through 16.16.0; 17.x through 17.9.1; and 18.x through 18.2.0, and Certified Asterisk through 16.8-cert5. An SDP negotiation vulnerability in PJSIP allows a remote server to potentially crash Asterisk by sending specific SIP responses that cause an SDP negotiation failure.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
digium asterisk >= 13.0.0 < 13.38.2 –
digium asterisk >= 16.0.0 < 16.16.1 –
digium asterisk >= 17.0.0 < 17.9.2 –
digium asterisk >= 18.0 < 18.2.1 –
digium certified asterisk 16.8 –
digium certified asterisk 16.8 cert1-rc1 –
digium certified asterisk 16.8 cert1-rc2 –
digium certified asterisk 16.8 cert1-rc3 –
digium certified asterisk 16.8 cert1-rc4 –
digium certified asterisk 16.8 cert2 –
digium certified asterisk 16.8 cert3 –
digium certified asterisk 16.8 cert4 –
digium certified asterisk 16.8 cert4-rc1 –
digium certified asterisk 16.8 cert4-rc2 –
digium certified asterisk 16.8 cert4-rc3 –
digium certified asterisk 16.8 cert4-rc4 –
digium certified asterisk 16.8 cert5 –
Tutte le 51 vulnerabilità di Digium Certified Asterisk
Tutte le 114 vulnerabilità di Digium Asterisk

Tipo di vulnerabilità

CWE-404 Chiusura o rilascio improprio di una risorsa

Il prodotto non rilascia, o rilascia in modo errato, una risorsa prima che venga resa disponibile per un nuovo uso.

Impatto sui sistemi

AmbitoImpatto
Disponibilità, Altro Interruzione del servizio: esaurimento di risorse, Dipende dal contesto
Riservatezza Leggere i dati dell’applicazione

Come si previene

Requisiti · Scelta del linguaggio Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, languages such as Java, Ruby, and Lisp perform automatic garbage collection that releases memory for objects that have been deallocated.
Sviluppo It is good practice to be responsible for freeing all resources you allocate and to be consistent with how and where you free memory in a function. If you allocate memory that you intend to free upon completion of the function, you must be sure to free the memory at all exit points for that function including error conditions.
Sviluppo Memory should be allocated/freed using matching functions such as malloc/free, new/delete, and new[]/delete[].
Sviluppo When releasing a complex object or structure, ensure that you properly dispose of all of its member components, not just the object itself.

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

Tutte le 739 CVE di tipo CWE-404, con andamento e prevenzione

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