CVE-2022-23608 Use after free in PJSIP
A use-after-free vulnerability in PJSIP can cause an endless loop and denial of service in dialog set scenarios.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-23608?
CVE-2022-23608 is a high-severity use after free vulnerability in Debian Debian Linux, published on 22 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-416
Which versions are affected by CVE-2022-23608?
It affects 4 products.
Products include Asterisk Certified Asterisk, Debian Debian Linux, Sangoma Asterisk, Teluu Pjsip.
How do I fix CVE-2022-23608?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2022-23608 being exploited?
There is no known exploitation of CVE-2022-23608 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as ALPINE-CVE-2022-23608, DEBIAN-CVE-2022-23608, GHSA-ffff-m5fm-qm62, UBUNTU-CVE-2022-23608.