
CVE catalog
CVE-2023-27585
ring: CVE-2023-27585
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.31% · Oct 25, 2026
PJSIP is a free and open source multimedia communication library written in C. A buffer overflow vulnerability in versions 2.13 and prior affects applications that use PJSIP DNS resolver. It doesn't affect PJSIP users who do not utilise PJSIP DNS resolver. This vulnerability is related to CVE-2022-24793. The difference is that this issue is in parsing the query record `parse_query()`, while the issue in CVE-2022-24793 is in `parse_rr()`. A patch is available as commit `d1c5e4d` in the `master` branch. A workaround is to disable DNS resolution in PJSIP config (by setting `nameserver_count` to zero) or use an external resolver implementation instead.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ring | bookworm | 20230206.0~ds2-1.1+deb12u1 | fixed |
| Debian | ring | bookworm-security | 20230206.0~ds2-1.1+deb12u1 | fixed |
| Alpine | pjproject | 3.18 | 2.13.1-r0 | fixed |
| Alpine | pjproject | 3.19 | 2.13.1-r0 | fixed |
| Alpine | pjproject | 3.20 | 2.13.1-r0 | fixed |
| Alpine | pjproject | 3.21 | 2.13.1-r0 | fixed |
| Alpine | pjproject | 3.22 | 2.13.1-r0 | fixed |
| Alpine | pjproject | 3.23 | 2.13.1-r0 | fixed |
| Alpine | pjproject | 3.24 | 2.13.1-r0 | fixed |
| Ubuntu | pjproject | pro | 2.6~dfsg-2 | vulnerable |
| Ubuntu | pjproject | pro | 2.7~dfsg-1 | vulnerable |
| Ubuntu | pjproject | pro | 2.7.1~dfsg-1 | vulnerable |
| Ubuntu | pjproject | pro | 2.7.1~dfsg-1build1 | vulnerable |
| Ubuntu | pjproject | pro | 2.7.2~dfsg-1 | vulnerable |
| Ubuntu | pjproject | pro | 2.7.2~dfsg-1ubuntu0.1~esm1 | vulnerable |
| Ubuntu | ring | pro | 20170803.2.5fcfe3f~dfsg1-1 | vulnerable |
| Ubuntu | ring | pro | 20171024.1.eadbdeb~ds1-1 | vulnerable |
| Ubuntu | ring | pro | 20171129.2.cf5bbff~ds1-1 | vulnerable |
| Ubuntu | ring | pro | 20171129.2.cf5bbff~ds1-2 | vulnerable |
| Ubuntu | ring | pro | 20180119.1.9e06f94~ds1-1 | vulnerable |
| Ubuntu | ring | pro | 20180119.1.9e06f94~ds1-3 | vulnerable |
| Ubuntu | ring | pro | 20180222.1.7bffde2~ds2-2 | vulnerable |
| Ubuntu | ring | pro | 20180228.1.503da2b~ds1-1 | vulnerable |
| Ubuntu | ring | pro | 20180228.1.503da2b~ds1-1build1 | vulnerable |
| Ubuntu | ring | pro | 20180228.1.503da2b~ds1-1ubuntu0.1~esm1 | fixed |
| Ubuntu | ring | 20.04 | 20190215.1.f152c98~ds1-1 | vulnerable |
| Ubuntu | ring | 20.04 | 20190215.1.f152c98~ds1-1build1 | vulnerable |
| Ubuntu | ring | 20.04 | 20190215.1.f152c98~ds1-1build2 | vulnerable |
| Ubuntu | ring | 20.04 | 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ring | source | bookworm | 20230206.0~ds2-1.1+deb12u1 | not yet assigned | Not reported | Not reported |
| Alpine | pjproject | apk | 3.18 | 2.13.1-r0 | Not reported | ALPINE-CVE-2023-27585 | Not reported |
| Alpine | pjproject | apk | 3.19 | 2.13.1-r0 | Not reported | ALPINE-CVE-2023-27585 | Not reported |
| Alpine | pjproject | apk | 3.20 | 2.13.1-r0 | Not reported | ALPINE-CVE-2023-27585 | Not reported |
| Alpine | pjproject | apk | 3.21 | 2.13.1-r0 | Not reported | ALPINE-CVE-2023-27585 | Not reported |
| Alpine | pjproject | apk | 3.22 | 2.13.1-r0 | Not reported | ALPINE-CVE-2023-27585 | Not reported |
| Alpine | pjproject | apk | 3.23 | 2.13.1-r0 | Not reported | ALPINE-CVE-2023-27585 | Not reported |
| Alpine | pjproject | apk | 3.24 | 2.13.1-r0 | Not reported | ALPINE-CVE-2023-27585 | Not reported |
| Ubuntu | ring | deb | pro | 20180228.1.503da2b~ds1-1ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2023-27585 | Not reported |
| Ubuntu | ring | deb | 20.04 | 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 | Not reported | UBUNTU-CVE-2023-27585 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://osv.dev/vulnerability/ALPINE-CVE-2023-27585]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-27585]
- [https://osv.dev/vulnerability/DLA-3394-1]
- [https://osv.dev/vulnerability/DSA-5438-1]
- [https://osv.dev/vulnerability/DSA-5956-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2023-27585]
- [https://security-tracker.debian.org/tracker/CVE-2023-27585]
- [https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-27585.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]