CVE-2022-23608: Use after free in PJSIP
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.
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is CVE-2022-23608?
CVE-2022-23608 is a vulnerability in the PJSIP multimedia communication library that allows an attacker to gain unauthorized access and potentially execute arbitrary code on affected systems.
Which software versions are affected by CVE-2022-23608?
Versions up to and including 2.11.1 of Teluu Pjsip, Asterisk Certified Asterisk 16.8.0, Sangoma Asterisk 16.0.0 to 16.24.1, Sangoma Asterisk 18.0.0 to 18.10.1, Sangoma Asterisk 19.0.0 to 19.2.1, and Debian Debian Linux 9.0 and 10.0 are affected by CVE-2022-23608.
What is the severity of CVE-2022-23608?
CVE-2022-23608 has a severity rating of 9.8 (Critical).
How does CVE-2022-23608 work?
CVE-2022-23608 allows an attacker to exploit a shared hash key used by multiple UAC dialogs in a dialog set or forking scenario, leading to unauthorized access and potential execution of arbitrary code.
How can I fix CVE-2022-23608?
To fix CVE-2022-23608, update to a fixed version of the affected software as recommended by the vendor or project maintainers.