Vulnerabilities / CVE-2021-37706

critical

CVE-2021-37706

PJSIP is a free and open source multimedia communication library writt ...

Published Modified CWE 191
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Ubuntu (medium).

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.

Affected packages and fixed versions

SourcePackageFixed in
alpine 3.16pjproject2.12-r0
alpine 3.17pjproject2.12-r0
alpine 3.18pjproject2.12-r0
alpine 3.19pjproject2.12-r0
alpine 3.20pjproject2.12-r0
alpine 3.21pjproject2.12-r0
alpine 3.22pjproject2.12-r0
alpine 3.23pjproject2.12-r0
alpine 3.24pjproject2.12-r0
alpine edgepjproject2.12-r0
debian 10asterisk, ring1:16.28.0~dfsg-0+deb10u1 and 1 more
debian 11asterisk, ring1:16.28.0~dfsg-0+deb11u1 and 1 more
Show all 25 entries from 22 sources
SourcePackageFixed in
alpine 3.16pjproject2.12-r0
alpine 3.17pjproject2.12-r0
alpine 3.18pjproject2.12-r0
alpine 3.19pjproject2.12-r0
alpine 3.20pjproject2.12-r0
alpine 3.21pjproject2.12-r0
alpine 3.22pjproject2.12-r0
alpine 3.23pjproject2.12-r0
alpine 3.24pjproject2.12-r0
alpine edgepjproject2.12-r0
debian 10asterisk1:16.28.0~dfsg-0+deb10u1
debian 10ring20190215.1.f152c98~ds1-1+deb10u2
debian 11asterisk1:16.28.0~dfsg-0+deb11u1
debian 11ring20210112.2.b757bac~ds1-1+deb11u1
debian 12ring20230206.0~ds1-1
debian 14asterisk1:18.10.1~dfsg+~cs6.10.40431411-1
debian 9pjproject2.5.5~dfsg-6+deb9u3
echoring20230206.0~ds1-1
ubuntu 16.04-ESMpjproject2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1
ubuntu 18.04-ESMpjproject2.7.2~dfsg-1ubuntu0.1~esm1
ubuntu 18.04-ESMring20180228.1.503da2b~ds1-1ubuntu0.1~esm1
ubuntu 20.04ring20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1
ubuntu 20.04-ESMring20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1
ubuntu 23.04ring20230206.0~ds1-5ubuntu0.1
ubuntu 23.10ring20230206.0~ds2-1.3ubuntu0.1

References

All 14 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.