PT-2022-2678 · Pjsip+4 · Pjsip+4

Cossack9989

·

Published

2022-03-08

·

Updated

2024-11-25

·

CVE-2022-24754

CVSS v3.1

9.8

Critical

VectorAV: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
Description The issue is a stack-buffer overflow vulnerability in the PJSIP library, which only impacts users who accept hashed digest credentials with data type PJSIP CRED DATA DIGEST. This vulnerability can be exploited by a remote attacker to cause a denial of service or execute arbitrary code. The vulnerability is related to the pjsip auth create digest() function and can lead to memory damage.
Recommendations For versions prior to and including 2.12, users should check that the hashed digest data length is equal to PJSIP MD5STRLEN before passing it to PJSIP. As a temporary workaround, consider adding a length check for the hashed digest data to prevent the stack-buffer overflow. Users should upgrade to a newer version once it is available, as the issue has been patched in the master branch of the PJSIP repository.

Exploit

Fix

Memory Corruption

Buffer Overflow

Weakness Enumeration

Related Identifiers

ALT-PU-2024-15954
ALT-PU-2024-16030
BDU:2022-03168
CVE-2022-24754
DLA-2962-1
DLA-3549-1
DLA-3887-1
GHSA-73F7-48M9-W662
USN-6422-1

Affected Products

Alt Linux
Linuxmint
Pjsip
Red Os
Ubuntu