CVE-2022-24793
published high CVSS 3.1 · 7.5Potential heap buffer overflow when parsing DNS packets in PJSIP
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pjsip | — | pjproject<= 2.12 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | pjproject | Fixed | 2.12.1-r0 | Package fix record |
| Debian | stretch | pjproject | Advisory build | 2.5.5~dfsg-6+deb9u5 | DLA-3036-1 |
| Ubuntu | bionic | ring | Advisory build | 20180228.1.503da2b~ds1-1ubuntu0.1~esm1 | USN-6422-1 |
| Alpine Linux | v3.16 | pjproject | Fixed | 2.12.1-r0 | Package fix record |
| Alpine Linux | v3.17 | pjproject | Fixed | 2.12.1-r0 | Package fix record |
| Alpine Linux | v3.18 | pjproject | Fixed | 2.12.1-r0 | Package fix record |
| Alpine Linux | v3.19 | pjproject | Fixed | 2.12.1-r0 | Package fix record |
Show 14 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.20 | pjproject | Fixed | 2.12.1-r0 | Package fix record |
| Alpine Linux | v3.21 | pjproject | Fixed | 2.12.1-r0 | Package fix record |
| Alpine Linux | v3.22 | pjproject | Fixed | 2.12.1-r0 | Package fix record |
| Alpine Linux | v3.23 | pjproject | Fixed | 2.12.1-r0 | Package fix record |
| Alpine Linux | v3.24 | pjproject | Fixed | 2.12.1-r0 | Package fix record |
| Debian | bullseye | asterisk | Advisory build | 1:16.28.0~dfsg-0+deb11u1 | DSA-5285-1 |
| Debian | bullseye | ring | Advisory build | 20210112.2.b757bac~ds1-1+deb11u1 | DLA-3887-1 |
| Debian | buster | asterisk | Advisory build | 1:16.28.0~dfsg-0+deb10u1 | DLA-3194-1 |
| Debian | buster | ring | Advisory build | 20190215.1.f152c98~ds1-1+deb10u2 | DLA-3549-1 |
| Ubuntu | bionic | ring-daemon | Advisory build | 20180228.1.503da2b~ds1-1ubuntu0.1~esm1 | USN-6422-1 |
| Ubuntu | focal | jami | Advisory build | 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 | USN-6422-1 |
| Ubuntu | focal | jami-daemon | Advisory build | 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 | USN-6422-1 |
| Ubuntu | focal | ring | Advisory build | 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 | USN-6422-1 |
| Ubuntu | focal | ring-daemon | Advisory build | 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 | USN-6422-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pjsip | pjproject | <= 2.12 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-120 CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
References
8- https://github.com/pjsip/pjproject/commit/9fae8f43accef8ea65d4a8ae9cdf297c46cfe29a
- https://github.com/pjsip/pjproject/security/advisories/GHSA-p6g5-v97c-w5q4
- [debian-lts-announce] 20220531 [SECURITY] [DLA 3036-1] pjproject security update https://lists.debian.org/debian-lts-announce/2022/05/msg00047.html
- [debian-lts-announce] 20221117 [SECURITY] [DLA 3194-1] asterisk security update https://lists.debian.org/debian-lts-announce/2022/11/msg00021.html
- [debian-lts-announce] 20230829 [SECURITY] [DLA 3549-1] ring security update https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html
- https://lists.debian.org/debian-lts-announce/2024/09/msg00030.html
- GLSA-202210-37 https://security.gentoo.org/glsa/202210-37
- DSA-5285 https://www.debian.org/security/2022/dsa-5285
Provider assertions
3GitHub_M · cna
Potential heap buffer overflow when parsing DNS packets in PJSIP
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 004d4afc63140adabc04f40a1866692d67073cc95bdde7cc28011cc2e44b81df
- Ingested
- 23 Sep 2026, 07:58:57 UTC
- Source record
- Official CVE record