CVE-2021-37706
highpriority · track · 41EPSS 0.049 · 92 %ileDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.3–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (21)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2022-2108Asterisk: Mehrere SchwachstellenDeutsch2022-03-06csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann mehrere Schwachstellen in Asterisk und Digium Certified Asterisk ausnutzen, um beliebigen Programmcode auszuführen, einen Denial of Service Zustand herbeizuführen oder Informationen offenzulegen.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (38)
External citations — patches, advisories, analysis.
- http://seclists.org/fulldisclosure/2022/Mar/0cnnvd
- https://github.com/pjsip/pjproject/commit/15663e3f37091069b8c98a7fce680dc04bc8e865cnnvd
- https://github.com/pjsip/pjproject/security/advisories/GHSA-2qpg-f6wf-w984cnnvd
- https://lists.debian.org/debian-lts-announce/2022/03/msg00035.htmlcnnvd
- https://lists.debian.org/debian-lts-announce/2022/11/msg00021.htmlcnnvd
- https://lists.debian.org/debian-lts-announce/2023/08/msg00038.htmlcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-37706cnnvd
- https://packetstormsecurity.com/files/166225/Asterisk-Project-Security-Advisory-AST-2022-004.htmlcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan