PT-2022-20474
CVE-2022-31031
·
Published
2022-06-07
·
Updated
2026-10-31
Description by
CVSS 3.1
9.8
CriticalMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
PJSIP versions prior to and including 2.12.1
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. A stack buffer overflow vulnerability affects PJSIP users that use STUN in their applications, either by setting a STUN server in their account/media config in PJSUA/PJSUA2 level, or directly using
pjlib-util/stun simple API.Recommendations
For versions prior to and including 2.12.1, apply the patch available in commit 450baca to resolve the issue. As a temporary workaround, consider disabling the use of STUN in applications until the patch is applied. Restrict access to the
pjlib-util/stun simple API to minimize the risk of exploitation. Avoid setting a STUN server in account/media config in PJSUA/PJSUA2 level until the issue is resolved.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾