Use After Free in Asterisk Certified
CVE-2022-23608
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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.040 (90.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 91st percentile — 90.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.040 · newest: 0.040 · change: 0.000
Affected products
- Asterisk Certified — versions 16.8.0
- Pjsip Pjproject — versions <= 2.11.1
- Sangoma Asterisk
- Teluu Pjsip
- Debian Linux — versions 9.0, 10.0
Weakness classification (CWE)
References
- github.com/pjsip/pjproject/security/advisories/GHSA-ffff-m5fm-qm62 (Patch, Third Party Advisory, Issue Tracking)
- github.com/pjsip/pjproject/commit/db3235953baa56d2fb0e276ca510fefca751643f (Patch, Third Party Advisory)
- seclists.org/fulldisclosure/2022/Mar/1 (mailing-list, Patch, Mailing List, Third Party Advisory)
- packetstormsecurity.com/files/166226/Asterisk-Project-Security-Advisory-AST-202… (VDB Entry, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2022/03/msg00035.html (mailing-list, Mailing List, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2022/03/msg00040.html (mailing-list, Mailing List, Third Party Advisory)
- security.gentoo.org/glsa/202210-37 (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2022/11/msg00021.html (mailing-list, Mailing List, Third Party Advisory)
- www.debian.org/security/2022/dsa-5285 (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2023/08/msg00038.html (mailing-list)
Frequently asked questions
- What is CVE-2022-23608?
- CVE-2022-23608 is a high-severity vulnerability in Asterisk Certified, classified under Use After Free. CVSS score: 8.1/10. Published 2022-02-22.
- How severe is CVE-2022-23608?
- High severity. CVSS v3 base score is 8.1 out of 10.