CVE-2021-32686

NameCVE-2021-32686
DescriptionPJSIP 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-2962-1, DSA-4999-1
NVD severitymedium
Debian Bugs991931

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
asterisk (PTS)stretch1:13.14.1~dfsg-2+deb9u4fixed
stretch (security)1:13.14.1~dfsg-2+deb9u6fixed
buster1:16.2.1~dfsg-1+deb10u2vulnerable
bullseye1:16.16.1~dfsg-1vulnerable
bullseye (security)1:16.16.1~dfsg-1+deb11u1fixed
bookworm, sid1:18.12.0~dfsg+~cs6.12.40431413-1fixed
pjproject (PTS)stretch2.5.5~dfsg-6+deb9u1vulnerable
stretch (security)2.5.5~dfsg-6+deb9u4fixed
ring (PTS)stretch20161221.2.7bd7d91~dfsg1-1vulnerable
stretch (security)20161221.2.7bd7d91~dfsg1-1+deb9u1vulnerable
buster20190215.1.f152c98~ds1-1+deb10u1vulnerable
sid, bullseye20210112.2.b757bac~ds1-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
asterisksourcestretch(not affected)
asterisksourcebullseye1:16.16.1~dfsg-1+deb11u1DSA-4999-1
asterisksource(unstable)1:16.16.1~dfsg-2991931
pjprojectsourcestretch2.5.5~dfsg-6+deb9u3DLA-2962-1
pjprojectsource(unstable)(unfixed)
ringsource(unstable)(unfixed)

Notes

[stretch] - asterisk <not-affected> (Vulnerable code not present)
https://downloads.asterisk.org/pub/security/AST-2021-009.html
https://github.com/pjsip/pjproject/security/advisories/GHSA-cv8x-p47p-99wr
https://github.com/pjsip/pjproject/commit/d5f95aa066f878b0aef6a64e60b61e8626e664cd
https://github.com/pjsip/pjproject/pull/2716

Search for package or bug name: Reporting problems