PT-2022-2682 · Pjsip+3 · Pjsip+3
Cossack9989
·
Published
2022-04-06
·
Updated
2025-11-04
·
CVE-2022-24793
CVSS v2.0
7.8
High
| Vector | AV:N/AC:L/Au:N/C:N/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
PJSIP versions 2.12 and prior
Description
The issue is related to a buffer overflow vulnerability in the PJSIP library's DNS resolution implementation. This vulnerability can be exploited by a remote attacker to execute arbitrary code on the target system. The vulnerability occurs due to a lack of size checking on input data when processing DNS packets, which can lead to a heap buffer overflow.
Recommendations
For PJSIP versions 2.12 and prior, consider disabling DNS resolution in PJSIP config by setting
nameserver count to zero as a temporary workaround.
Update to a version that includes the patch available in the master branch of the pjsip/pjproject GitHub repository.
Alternatively, use an external resolver instead of the built-in PJSIP DNS resolution to minimize the risk of exploitation.Exploit
Fix
Heap Based Buffer Overflow
Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Linuxmint
Pjsip
Red Os
Ubuntu