cve.bz

CVE-2021-37706 Integer Underflow (Wrap or Wraparound)

9.8 criticalEPSS 4.9%Fix available

Critical (9.8). EPSS 4.9% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
4.9% (unchanged from 4.9% a week ago; 4.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-191 Integer Underflow (Wrap or Wraparound)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-37706 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-37706?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-37706?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-37706 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
teluu:pjsipthrough 2.11.1
asterisk:certified_asteriskbefore 16.8.0
asterisk:certified_asterisk16.8.0
asterisk:certified_asterisk16.8.0:cert1
asterisk:certified_asterisk16.8.0:cert10
asterisk:certified_asterisk16.8.0:cert11
asterisk:certified_asterisk16.8.0:cert12
asterisk:certified_asterisk16.8.0:cert2
asterisk:certified_asterisk16.8.0:cert3
asterisk:certified_asterisk16.8.0:cert4
asterisk:certified_asterisk16.8.0:cert5
asterisk:certified_asterisk16.8.0:cert6
asterisk:certified_asterisk16.8.0:cert7
asterisk:certified_asterisk16.8.0:cert8
asterisk:certified_asterisk16.8.0:cert9
sangoma:asteriskfrom 16.0.0 before 16.24.1
sangoma:asteriskfrom 18.0.0 before 18.10.1
sangoma:asteriskfrom 19.0.0 before 19.2.1
debian:debian_linux9.0
debian:debian_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9pjproject2.5.5~dfsg-6+deb9u3DLA-2962-1
Debian10asterisk1:16.28.0~dfsg-0+deb10u1DLA-3194-1
Debian10ring20190215.1.f152c98~ds1-1+deb10u2DLA-3549-1
Debian11asterisk1:16.28.0~dfsg-0+deb11u1DSA-5285-1
Debian11ring20210112.2.b757bac~ds1-1+deb11u1DLA-3887-1
Debian12ring20230206.0~ds1-1DEBIAN-CVE-2021-37706
Ubuntu20.04:LTSring20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1UBUNTU-CVE-2021-37706 USN-6422-1
UbuntuPro:16.04:LTSpjproject2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1UBUNTU-CVE-2021-37706
UbuntuPro:18.04:LTSpjproject2.7.2~dfsg-1ubuntu0.1~esm1UBUNTU-CVE-2021-37706
UbuntuPro:18.04:LTSring20180228.1.503da2b~ds1-1ubuntu0.1~esm1UBUNTU-CVE-2021-37706 USN-6422-1
Alpinev3.16, v3.17, v3.18 and 6 morepjproject2.12-r0ALPINE-CVE-2021-37706

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpine.

References

Check your stackJSON