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
| 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
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
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Linuxmint
Pjsip
Red Os
Ubuntu