5.9medium
Denial of Service in PJSIP
- Severity
- 5.9medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 2.07% (higher than 82% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| pjsip pjproject | < 2.11.1 | CVE List |
| teluu pjsip | before 2.11.1 | NVD |
| debian debian_linux | 9.0, 11.0 | NVD |
All scores
| GitHub_M | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
PJSIP es una biblioteca de comunicación multimedia gratuita y de código abierto escrita en lenguaje C implementando protocolos basados en estándares como SIP, SDP, RTP, STUN, TURN e ICE. En PJSIP versiones anteriores a 2.11.1, se presentan un par de problemas encontrados en el socket SSL. Primero, una condición de carrera entre la devolución de llamada y la destrucción, debido a que el socket aceptado no tiene bloqueo de grupo. Segundo, el socket SSL parent/listener puede ser destruido durante el handshake. Ambos problemas fueron reportados como ocurridos intermitentemente en conexiones TLS con mucha carga. Causan un bloqueo, resultando en una denegación de servicio. Se han corregido en versión 2.11.1
References
| https://github.com/pjsip/pjproject/security/advisories/GHSA-cv8x-p47p-99wr | third-party-advisory | |
| https://github.com/pjsip/pjproject/pull/2716 | patch, third-party-advisory | |
| https://github.com/pjsip/pjproject/commit/d5f95aa066f878b0aef6a64e60b61e8626e664cd | patch, third-party-advisory | |
| https://github.com/pjsip/pjproject/releases/tag/2.11.1 | release-notes, third-party-advisory | |
| https://www.debian.org/security/2021/dsa-4999 | third-party-advisory, vendor-advisory | |
| https://lists.debian.org/debian-lts-announce/2022/03/msg00035.html | mailing-list, third-party-advisory | |
| https://security.gentoo.org/glsa/202210-37 | third-party-advisory, vendor-advisory | |
| https://lists.debian.org/debian-lts-announce/2024/09/msg00030.html | ||
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-32686 changed 2025-11-04 | CVE Terms of Use |
| NVD | CVE-2021-32686 changed 2026-06-17 | Public domain |