PT-2022-20474 · Pjsip+3 · Pjsip+3
Cossack9989
·
Published
2022-06-07
·
Updated
2026-05-05
·
CVE-2022-31031
CVSS v3.1
9.8
Critical
| Vector | AV: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.Exploit
Fix
Buffer Overflow
Memory Corruption
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Linuxmint
Pjsip
Ubuntu