CVE-2021-32686
published medium CVSS 3.1 · 5.9Denial of Service 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.11.1-r0 | Package fix record |
| Debian | stretch | pjproject | Advisory build | 2.5.5~dfsg-6+deb9u3 | DLA-2962-1 |
| Ubuntu | bionic | pjproject | Advisory build | 2.7.2~dfsg-1ubuntu0.1~esm1 | USN-8122-1 |
| Alpine Linux | v3.14 | pjproject | Fixed | 2.11.1-r0 | Package fix record |
| Alpine Linux | v3.15 | pjproject | Fixed | 2.11.1-r0 | Package fix record |
| Alpine Linux | v3.16 | pjproject | Fixed | 2.11.1-r0 | Package fix record |
| Alpine Linux | v3.17 | pjproject | Fixed | 2.11.1-r0 | Package fix record |
Show 22 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.18 | pjproject | Fixed | 2.11.1-r0 | Package fix record |
| Alpine Linux | v3.19 | pjproject | Fixed | 2.11.1-r0 | Package fix record |
| Alpine Linux | v3.20 | pjproject | Fixed | 2.11.1-r0 | Package fix record |
| Alpine Linux | v3.21 | pjproject | Fixed | 2.11.1-r0 | Package fix record |
| Alpine Linux | v3.22 | pjproject | Fixed | 2.11.1-r0 | Package fix record |
| Alpine Linux | v3.23 | pjproject | Fixed | 2.11.1-r0 | Package fix record |
| Alpine Linux | v3.24 | pjproject | Fixed | 2.11.1-r0 | Package fix record |
| Debian | bullseye | asterisk | Advisory build | 1:16.16.1~dfsg-1+deb11u1 | DSA-4999-1 |
| Debian | bullseye | ring | Advisory build | 20210112.2.b757bac~ds1-1+deb11u1 | DLA-3887-1 |
| Ubuntu | bionic | libpj2 | Advisory build | 2.7.2~dfsg-1ubuntu0.1~esm1 | USN-8122-1 |
| Ubuntu | bionic | libpjlib-util2 | Advisory build | 2.7.2~dfsg-1ubuntu0.1~esm1 | USN-8122-1 |
| Ubuntu | bionic | libpjmedia-audiodev2 | Advisory build | 2.7.2~dfsg-1ubuntu0.1~esm1 | USN-8122-1 |
| Ubuntu | bionic | libpjmedia-codec2 | Advisory build | 2.7.2~dfsg-1ubuntu0.1~esm1 | USN-8122-1 |
| Ubuntu | bionic | libpjmedia-videodev2 | Advisory build | 2.7.2~dfsg-1ubuntu0.1~esm1 | USN-8122-1 |
| Ubuntu | bionic | libpjmedia2 | Advisory build | 2.7.2~dfsg-1ubuntu0.1~esm1 | USN-8122-1 |
| Ubuntu | bionic | libpjnath2 | Advisory build | 2.7.2~dfsg-1ubuntu0.1~esm1 | USN-8122-1 |
| Ubuntu | bionic | libpjsip-simple2 | Advisory build | 2.7.2~dfsg-1ubuntu0.1~esm1 | USN-8122-1 |
| Ubuntu | bionic | libpjsip-ua2 | Advisory build | 2.7.2~dfsg-1ubuntu0.1~esm1 | USN-8122-1 |
| Ubuntu | bionic | libpjsip2 | Advisory build | 2.7.2~dfsg-1ubuntu0.1~esm1 | USN-8122-1 |
| Ubuntu | bionic | libpjsua2 | Advisory build | 2.7.2~dfsg-1ubuntu0.1~esm1 | USN-8122-1 |
| Ubuntu | bionic | libpjsua2-2v5 | Advisory build | 2.7.2~dfsg-1ubuntu0.1~esm1 | USN-8122-1 |
| Ubuntu | bionic | python-pjproject | Advisory build | 2.7.2~dfsg-1ubuntu0.1~esm1 | USN-8122-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 PJSIP before version 2.11.1, there are a couple of issues found in the SSL socket. First, a race condition between callback and destroy, due to the accepted socket having no group lock. Second, the SSL socket parent/listener may get destroyed during handshake. Both issues were reported to happen intermittently in heavy load TLS connections. They cause a crash, resulting in a denial of service. These are fixed in version 2.11.1.
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
- 5.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/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-362 CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
References
8- https://github.com/pjsip/pjproject/commit/d5f95aa066f878b0aef6a64e60b61e8626e664cd
- https://github.com/pjsip/pjproject/pull/2716
- https://github.com/pjsip/pjproject/releases/tag/2.11.1
- https://github.com/pjsip/pjproject/security/advisories/GHSA-cv8x-p47p-99wr
- [debian-lts-announce] 20220328 [SECURITY] [DLA 2962-1] pjproject security update https://lists.debian.org/debian-lts-announce/2022/03/msg00035.html
- https://lists.debian.org/debian-lts-announce/2024/09/msg00030.html
- GLSA-202210-37 https://security.gentoo.org/glsa/202210-37
- DSA-4999 https://www.debian.org/security/2021/dsa-4999
Provider assertions
2GitHub_M · cna
Denial of Service in PJSIP
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b331dfee8dc555d51951b0b43c5a191a9b305be473b157b4a60f7c65f989d07a
- Ingested
- 23 Sep 2026, 07:54:29 UTC
- Source record
- Official CVE record