CVE-2022-23608
published high CVSS 3.1 · 8.1Use after free in PJSIP
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pjsip | — | pjproject<= 2.11.1 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | pjproject | Fixed | 2.12-r0 | Package fix record |
| Debian | stretch | pjproject | Advisory build | 2.5.5~dfsg-6+deb9u3 | DLA-2962-1 |
| Ubuntu | bionic | ring | Advisory build | 20180228.1.503da2b~ds1-1ubuntu0.1~esm1 | USN-6422-1 |
| Alpine Linux | v3.16 | pjproject | Fixed | 2.12-r0 | Package fix record |
| Alpine Linux | v3.17 | pjproject | Fixed | 2.12-r0 | Package fix record |
| Alpine Linux | v3.18 | pjproject | Fixed | 2.12-r0 | Package fix record |
| Alpine Linux | v3.19 | pjproject | Fixed | 2.12-r0 | Package fix record |
Show 14 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.20 | pjproject | Fixed | 2.12-r0 | Package fix record |
| Alpine Linux | v3.21 | pjproject | Fixed | 2.12-r0 | Package fix record |
| Alpine Linux | v3.22 | pjproject | Fixed | 2.12-r0 | Package fix record |
| Alpine Linux | v3.23 | pjproject | Fixed | 2.12-r0 | Package fix record |
| Alpine Linux | v3.24 | pjproject | Fixed | 2.12-r0 | Package fix record |
| Debian | bullseye | asterisk | Advisory build | 1:16.28.0~dfsg-0+deb11u1 | DSA-5285-1 |
| Debian | bullseye | ring | Advisory build | 20210112.2.b757bac~ds1-1+deb11u1 | DLA-3887-1 |
| Debian | buster | asterisk | Advisory build | 1:16.28.0~dfsg-0+deb10u1 | DLA-3194-1 |
| Debian | buster | ring | Advisory build | 20190215.1.f152c98~ds1-1+deb10u2 | DLA-3549-1 |
| Ubuntu | bionic | ring-daemon | Advisory build | 20180228.1.503da2b~ds1-1ubuntu0.1~esm1 | USN-6422-1 |
| Ubuntu | focal | jami | Advisory build | 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 | USN-6422-1 |
| Ubuntu | focal | jami-daemon | Advisory build | 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 | USN-6422-1 |
| Ubuntu | focal | ring | Advisory build | 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 | USN-6422-1 |
| Ubuntu | focal | ring-daemon | Advisory build | 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 | USN-6422-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pjsip | pjproject | <= 2.11.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-416 CWE-416: Use After Free
References
11- http://packetstormsecurity.com/files/166226/Asterisk-Project-Security-Advisory-AST-2022-005.html
- 20220304 AST-2022-005: pjproject: undefined behavior after freeing a dialog set http://seclists.org/fulldisclosure/2022/Mar/1
- https://github.com/pjsip/pjproject/commit/db3235953baa56d2fb0e276ca510fefca751643f
- https://github.com/pjsip/pjproject/security/advisories/GHSA-ffff-m5fm-qm62
- [debian-lts-announce] 20220328 [SECURITY] [DLA 2962-1] pjproject security update https://lists.debian.org/debian-lts-announce/2022/03/msg00035.html
- [debian-lts-announce] 20220331 [SECURITY] [DLA 2962-2] pjproject regression update https://lists.debian.org/debian-lts-announce/2022/03/msg00040.html
- [debian-lts-announce] 20221117 [SECURITY] [DLA 3194-1] asterisk security update https://lists.debian.org/debian-lts-announce/2022/11/msg00021.html
- [debian-lts-announce] 20230829 [SECURITY] [DLA 3549-1] ring security update https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html
- https://lists.debian.org/debian-lts-announce/2024/09/msg00030.html
- GLSA-202210-37 https://security.gentoo.org/glsa/202210-37
- DSA-5285 https://www.debian.org/security/2022/dsa-5285
Provider assertions
3GitHub_M · cna
Use after free in PJSIP
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6227662e2e4f589bd9240a22964261edcdd0b5266df459c7f636e936507e3e8e
- Ingested
- 23 Sep 2026, 07:58:41 UTC
- Source record
- Official CVE record