1. Archivio CVE
  2. 2022
  3. CVE-2022-23608

CVE-2022-23608

9.8 Gravità critica CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 9.8 – Critica

Descrizione

PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. In versions up to and including 2.11.1 when in a dialog set (or forking) scenario, a hash key shared by multiple UAC dialogs can potentially be prematurely freed when one of the dialogs is destroyed . The issue may cause a dialog set to be registered in the hash table multiple times (with different hash keys) leading to undefined behavior such as dialog list collision which eventually leading to endless loop. A patch is available in commit db3235953baa56d2fb0e276ca510fefca751643f which will be included in the next release. There are no known workarounds for this issue.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
asterisk certified asterisk < 16.8.0 –
asterisk certified asterisk 16.8.0 cert1 –
asterisk certified asterisk 16.8.0 cert10 –
asterisk certified asterisk 16.8.0 cert11 –
asterisk certified asterisk 16.8.0 cert12 –
asterisk certified asterisk 16.8.0 cert2 –
asterisk certified asterisk 16.8.0 cert3 –
asterisk certified asterisk 16.8.0 cert4 –
asterisk certified asterisk 16.8.0 cert5 –
asterisk certified asterisk 16.8.0 cert6 –
asterisk certified asterisk 16.8.0 cert7 –
asterisk certified asterisk 16.8.0 cert8 –
asterisk certified asterisk 16.8.0 cert9 –
debian debian linux 9.0 –
debian debian linux 10.0 –
sangoma asterisk >= 16.0.0 < 16.24.1 –
sangoma asterisk >= 18.0.0 < 18.10.1 –
sangoma asterisk >= 19.0.0 < 19.2.1 –
teluu pjsip <= 2.11.1 –
Tutte le 42 vulnerabilità di Teluu Pjsip

Tipo di vulnerabilità

CWE-416 Uso di memoria dopo la liberazione (use after free)

Il prodotto usa o fa riferimento a un’area di memoria dopo averla liberata. Nel frattempo quell’area può essere stata assegnata ad altro: ogni operazione fatta con il vecchio puntatore agisce su dati che non le appartengono più.

Impatto sui sistemi

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

Come si previene

Architettura e progettazione · Scelta del linguaggio Choose a language that provides automatic memory management.
Sviluppo · Riduzione della superficie di attacco When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.

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

Tutte le 9.638 CVE di tipo CWE-416, con andamento e prevenzione

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