Name | CVE-2021-37706 |
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 affected versions if the incoming STUN message contains an ERROR-CODE attribute, the header length is not checked before performing a subtraction operation, potentially resulting in an integer underflow scenario. This issue affects all users that use STUN. A malicious actor located within the victim’s network may forge and send a specially crafted UDP (STUN) message that could remotely execute arbitrary code on the victim’s machine. Users are advised to upgrade as soon as possible. There are no known workarounds. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2962-1, DLA-3194-1, DLA-3549-1, DLA-3887-1, DSA-5285-1 |
Debian Bugs | 1014998, 1057379 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
asterisk (PTS) | bullseye (security), bullseye | 1:16.28.0~dfsg-0+deb11u4 | fixed |
sid | 1:20.9.3~dfsg+~cs6.14.60671435-1 | fixed | |
ring (PTS) | bullseye | 20210112.2.b757bac~ds1-1 | vulnerable |
bullseye (security) | 20210112.2.b757bac~ds1-1+deb11u1 | fixed | |
bookworm | 20230206.0~ds2-1.1 | fixed | |
sid | 20231201.0~ds1-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
asterisk | source | stretch | (not affected) | |||
asterisk | source | buster | 1:16.28.0~dfsg-0+deb10u1 | DLA-3194-1 | ||
asterisk | source | bullseye | 1:16.28.0~dfsg-0+deb11u1 | DSA-5285-1 | ||
asterisk | source | (unstable) | 1:18.10.1~dfsg+~cs6.10.40431411-1 | |||
pjproject | source | stretch | 2.5.5~dfsg-6+deb9u3 | DLA-2962-1 | ||
pjproject | source | (unstable) | (unfixed) | |||
ring | source | buster | 20190215.1.f152c98~ds1-1+deb10u2 | DLA-3549-1 | ||
ring | source | bullseye | 20210112.2.b757bac~ds1-1+deb11u1 | DLA-3887-1 | ||
ring | source | (unstable) | 20230206.0~ds1-1 | 1014998, 1057379 |
[stretch] - asterisk <not-affected> (Vulnerable code not present)
https://issues.asterisk.org/jira/browse/ASTERISK-29945
https://downloads.asterisk.org/pub/security/AST-2022-004.html
https://github.com/pjsip/pjproject/security/advisories/GHSA-2qpg-f6wf-w984
Fixed by: https://github.com/pjsip/pjproject/commit/15663e3f37091069b8c98a7fce680dc04bc8e865
Superseeded by: https://github.com/savoirfairelinux/pjproject/commit/4cea72a4db91c6f0a0984b82edf2f147eda289aa