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

VectorAV: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 👾

Weakness Enumeration

Related Identifiers

BDU:2022-03172
CVE-2022-24793
DLA-3036-1
DLA-3194-1
DLA-3394-1
DLA-3549-1
DLA-3887-1
DSA-5285-1
DSA-5438-1
GHSA-P6G5-V97C-W5Q4
GHSA-Q9CP-8WCQ-7PFR
USN-6422-1

Affected Products

Linuxmint
Pjsip
Red Os
Ubuntu