Buffer overflow in Pjsip Pjproject
CVE-2022-24793
PJSIP is a free and open source multimedia communication library written in C. A buffer overflow vulnerability in versions 2.12 and prior affects applications that use PJSIP DNS resolution. It doesn't affect PJSIP users who utilize an external resolver. This vulnerability is related to CVE-2023-27585. The difference is that this issue is in parsing the query record `parse_rr()`, while the issue in CVE-2023-27585 is in `parse_query()`. A patch is available in the `master` branch of the `pjsip/pjproject` GitHub repository. A workaround is to disable DNS resolution in PJSIP config (by setting `nameserver_count` to zero) or use an external resolver instead.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.022, 82.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Pjsip Pjproject — versions <= 2.12
- Pjsip
- Debian Linux — versions 9.0, 10.0, 11.0
Weakness classification (CWE)
References
- github.com/pjsip/pjproject/security/advisories/GHSA-p6g5-v97c-w5q4 (Patch, Third Party Advisory)
- github.com/pjsip/pjproject/commit/9fae8f43accef8ea65d4a8ae9cdf297c46cfe29a (Patch, Third Party Advisory)
- [debian-lts-announce] 20220531 [SECURITY] [DLA 3036-1] pjproject security update (mailing-list, Mailing List, Third Party Advisory)
- GLSA-202210-37 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20221117 [SECURITY] [DLA 3194-1] asterisk security update (mailing-list, Mailing List, Third Party Advisory)
- DSA-5285 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20230829 [SECURITY] [DLA 3549-1] ring security update (mailing-list)
- lists.debian.org/debian-lts-announce/2024/09/msg00030.html