CVE-2022-21723
published critical CVSS 3.1 · 9.1Out-of-bounds read in multipart parsing 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 2.11.1 and prior, parsing an incoming SIP message that contains a malformed multipart can potentially cause out-of-bound read access. This issue affects all PJSIP users that accept SIP multipart. The patch is available as commit in the `master` branch. There are no known workarounds.
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
- 9.1 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/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-125 CWE-125: Out-of-bounds Read
References
10- http://packetstormsecurity.com/files/166227/Asterisk-Project-Security-Advisory-AST-2022-006.html
- 20220304 AST-2022-006: pjproject: unconstrained malformed multipart SIP message http://seclists.org/fulldisclosure/2022/Mar/2
- https://github.com/pjsip/pjproject/commit/077b465c33f0aec05a49cd2ca456f9a1b112e896
- https://github.com/pjsip/pjproject/security/advisories/GHSA-7fw8-54cv-r7pm
- [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] 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
Out-of-bounds read in multipart parsing in PJSIP
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4fdee604cb26df4cca33c6a820ac2a8c93fb62729284317afa33c5514f363523
- Ingested
- 23 Sep 2026, 07:58:18 UTC
- Source record
- Official CVE record