Name | CVE-2022-24793 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3036-1, DLA-3194-1, DLA-3549-1, DLA-3887-1, DSA-5285-1 |
Debian Bugs | 1014976, 1014998 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
asterisk (PTS) | jessie, jessie (lts) | 1:11.13.1~dfsg-2+deb8u8 | vulnerable |
stretch (security) | 1:13.14.1~dfsg-2+deb9u6 | fixed | |
stretch (lts), stretch | 1:13.14.1~dfsg-2+deb9u10 | fixed | |
buster, buster (lts) | 1:16.28.0~dfsg-0+deb10u5 | fixed | |
buster (security) | 1:16.28.0~dfsg-0+deb10u4 | fixed | |
bullseye | 1:16.28.0~dfsg-0+deb11u4 | fixed | |
bullseye (security) | 1:16.28.0~dfsg-0+deb11u5 | fixed | |
sid | 1:22.1.0~dfsg+~cs6.14.60671435-1 | fixed | |
pjproject (PTS) | jessie, jessie (lts) | 2.1.0.0.ast20130823-1+deb8u1 | vulnerable |
stretch (security) | 2.5.5~dfsg-6+deb9u5 | fixed | |
stretch (lts), stretch | 2.5.5~dfsg-6+deb9u9 | fixed | |
ring (PTS) | stretch (security), stretch (lts), stretch | 20161221.2.7bd7d91~dfsg1-1+deb9u1 | vulnerable |
buster (security), buster, buster (lts) | 20190215.1.f152c98~ds1-1+deb10u2 | fixed | |
bullseye | 20210112.2.b757bac~ds1-1 | vulnerable | |
bullseye (security) | 20210112.2.b757bac~ds1-1+deb11u1 | fixed | |
bookworm | 20230206.0~ds2-1.1 | fixed | |
sid | 20231201.0~ds1-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
asterisk | source | jessie | (unfixed) | end-of-life | ||
asterisk | source | stretch | (not affected) | |||
asterisk | source | buster | 1:16.28.0~dfsg-0+deb10u1 | DLA-3194-1 | ||
asterisk | source | bullseye | 1:16.28.0~dfsg-0+deb11u1 | DSA-5285-1 | ||
asterisk | source | (unstable) | 1:18.14.0~~rc1~dfsg+~cs6.12.40431414-1 | 1014976 | ||
pjproject | source | jessie | (unfixed) | end-of-life | ||
pjproject | source | stretch | 2.5.5~dfsg-6+deb9u5 | DLA-3036-1 | ||
pjproject | source | (unstable) | (unfixed) | |||
ring | source | stretch | (unfixed) | end-of-life | ||
ring | source | buster | 20190215.1.f152c98~ds1-1+deb10u2 | DLA-3549-1 | ||
ring | source | bullseye | 20210112.2.b757bac~ds1-1+deb11u1 | DLA-3887-1 | ||
ring | source | (unstable) | 20230206.0~ds1-1 | 1014998 |
[stretch] - asterisk <not-affected> (Vulnerable code not present)
[bookworm] - ring <no-dsa> (Minor issue)
https://github.com/pjsip/pjproject/security/advisories/GHSA-p6g5-v97c-w5q4
https://github.com/pjsip/pjproject/commit/9fae8f43accef8ea65d4a8ae9cdf297c46cfe29a