Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2021-37706— Potential integer underflow upon receiving STUN message in PJSIP

Quick assessment

Affected
pjsip pjproject
Exploitation
High exploitation probability; assess promptly
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

PJSIP是一个免费和开源的多媒体通信库,用C语言编写,实现基于标准的协议,如SIP, SDP, RTP, STUN, TURN,和ICE。 PJSIP 存在数字错误漏洞,该漏洞源于传入的 STUN 消息包含 ERROR-CODE 属性,则在执行减法运算之前不会检查标头长度,这可能会导致整数下溢情况。 此问题会影响所有使用 STUN 的用户。 位于受害者网络中的恶意行为者可能会伪造并发送特制的 UDP (STUN) 消息,该消息可以在受害者的机器上远程执行任意代码。

CVSS 7.3 · High EPSS 4.58% · P91
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-37706

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Potential integer underflow upon receiving STUN message in PJSIP
Source: CVE Program / CVE List V5
Vulnerability 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 Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
整数下溢(超界折返)
Source: CVE Program / CVE List V5
Vulnerability Title
PJSIP 数字错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
PJSIP是一个免费和开源的多媒体通信库,用C语言编写,实现基于标准的协议,如SIP, SDP, RTP, STUN, TURN,和ICE。 PJSIP 存在数字错误漏洞,该漏洞源于传入的 STUN 消息包含 ERROR-CODE 属性,则在执行减法运算之前不会检查标头长度,这可能会导致整数下溢情况。 此问题会影响所有使用 STUN 的用户。 位于受害者网络中的恶意行为者可能会伪造并发送特制的 UDP (STUN) 消息,该消息可以在受害者的机器上远程执行任意代码。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
pjsip pjproject <= 2.11.1 -

II. Public POCs for CVE-2021-37706

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-37706

请登录查看更多情报信息。

Patches & Fixes for CVE-2021-37706 (1)

Vendor Advisories for CVE-2021-37706 (3)

Exploits & Public PoCs for CVE-2021-37706 (1)

Mailing List Discussions for CVE-2021-37706 (4)

IV. Related Vulnerabilities

V. Comments for CVE-2021-37706

No comments yet


Leave a comment