Vulnerability · Published Jul 23, 2021 · Assigned by GitHub_M

CVE-2021-32686Denial of Service in PJSIP

Medium 5.9

In plain English

A medium-severity race condition in pjproject from pjsip. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 81% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)2.1%top 18.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20pjproject2.11.1-r0ALPINE-CVE-2021-32686
Alpine:v3.21pjproject2.11.1-r0ALPINE-CVE-2021-32686
Alpine:v3.22pjproject2.11.1-r0ALPINE-CVE-2021-32686
Alpine:v3.23pjproject2.11.1-r0ALPINE-CVE-2021-32686
Alpine:v3.24pjproject2.11.1-r0ALPINE-CVE-2021-32686
Debian:14asterisk1:16.16.1~dfsg-2DEBIAN-CVE-2021-32686
Debian:12ring20230206.0~ds1-1DEBIAN-CVE-2021-32686

Affected products (as reported)

VendorProductVersions
pjsip pjproject < 2.11.1

Weakness: CWE-362 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

References