CVE-2023-27585
asterisk - security update
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.5
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.
- Record
CVE-2023-27585- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-122, CWE-120
- Updated
- 2026-11-02
EUVDEUVD-2023-31328
7.5
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.
- Record
EUVD-2023-31328- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
NVD
7.5
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.
- Record
CVE-2023-27585- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-120, CWE-122
- Updated
- 2026-11-02
OSVALPINE-CVE-2023-27585
7.5
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.
- Record
ALPINE-CVE-2023-27585- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
7.5
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.
- Record
CVE-2023-27585- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-120, CWE-122
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2023-27585
7.5
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.
- Record
DEBIAN-CVE-2023-27585- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2023-27585
7.5
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.
- Record
UBUNTU-CVE-2023-27585- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUSN-6422-1 No score
ring vulnerabilities
It was discovered that Ring incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to execute arbitrary code. (CVE-2021-37706)
It was discovered that Ring incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2021-43299, CVE-2021-43300, CVE-2021-43301, CVE-2021-43302, CVE-2021-43303, CVE-2021-43804, CVE-2021-43845, CVE-2022-21723, CVE-2022-23537, CVE-2022-23547, CVE-2022-23608, CVE-2022-24754, CVE-2022-24763, CVE-2022-24764, CVE-2022-24793, CVE-2022-31031, CVE-2022-39244)
It was discovered that Ring incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 20.04 LTS. (CVE-2022-21722)
It was discovered that Ring incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. (CVE-2023-27585)
- Record
USN-6422-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
pjprojectAlpine:v3.18 |
before 2.13.1-r0 | 2.13.1-r0 |
pjprojectAlpine:v3.19 |
before 2.13.1-r0 | 2.13.1-r0 |
pjprojectAlpine:v3.20 |
before 2.13.1-r0 | 2.13.1-r0 |
pjprojectAlpine:v3.21 |
before 2.13.1-r0 | 2.13.1-r0 |
pjprojectAlpine:v3.22 |
before 2.13.1-r0 | 2.13.1-r0 |
pjprojectAlpine:v3.23 |
before 2.13.1-r0 | 2.13.1-r0 |
pjprojectAlpine:v3.24 |
before 2.13.1-r0 | 2.13.1-r0 |
asteriskDebian:14 |
before 1:20.4.0~dfsg+~cs6.13.40431414-1, plus listed versions 0.1.11-30.1.11-3woody11:1.0.5-21:1.0.5-41:1.0.6-1 Show 45 moreShow less1:1.0.6-21:1.0.7-11:1.0.7.dfsg.1-11:1.0.7.dfsg.1-21:1.0.7.dfsg.1-2sarge11:1.0.7.dfsg.1-2sarge21:1.0.7.dfsg.1-2sarge31:1.0.7.dfsg.1-2sarge41:1.0.7.dfsg.1-2sarge51:1.0.7.dfsg.1-2sarge61:1.0.9.dfsg-11:1.0.9.dfsg-31:1.0.9.dfsg-41:1.0.9.dfsg-51:1.0.9.dfsg-61:1.2.0-beta1.dfsg-11:1.2.0-beta2.dfsg-11:1.2.0-beta2.dfsg-21:1.2.0-beta2.dfsg-31:1.2.0-rc1.dfsg-11:1.2.0-rc2.dfsg-11:1.2.0.dfsg-11:1.2.0.dfsg-21:1.2.0.dfsg-31:1.2.0.dfsg-41:1.2.0.dfsg-51:1.2.0.dfsg-61:1.2.1.dfsg-11:1.2.1.dfsg-21:1.2.1.dfsg-31:1.2.10.dfsg-11:1.2.10.dfsg-1bpo11:1.2.10.dfsg-21:1.2.10.dfsg-31:1.2.11.dfsg-11:1.2.12.1.dfsg-11:1.2.13~dfsg-11:1.2.13~dfsg-21:1.2.13~dfsg-2etch11:1.2.13~dfsg-2etch21:1.2.13~dfsg-2etch31:1.2.13~dfsg-2etch41:1.2.14~dfsg-11:1.2.14~dfsg-21:1.2.14~dfsg-3 |
1:20.4.0~dfsg+~cs6.13.40431414-1 |
ringDebian:12 |
before 20230206.0~ds2-1.1+deb12u1, plus listed versions 20230206.0~ds2-1.1 |
20230206.0~ds2-1.1+deb12u1 |
asteriskDebian:10 |
before 1:16.28.0~dfsg-0+deb10u3, plus listed versions 1:16.10.0~dfsg-11:16.12.0~dfsg-11:16.15.0~dfsg-11:16.15.1~dfsg-11:16.16.1~dfsg+~2.10-1 Show 16 moreShow less1:16.16.1~dfsg+~2.10-21:16.16.1~dfsg-11:16.16.1~dfsg-1~bpo10+11:16.16.1~dfsg-21:16.16.1~dfsg-31:16.16.1~dfsg-41:16.2.1~dfsg-11:16.2.1~dfsg-1+deb10u11:16.2.1~dfsg-1+deb10u21:16.2.1~dfsg-21:16.23.0~dfsg+~2.10-11:16.23.0~dfsg+~cs6.10.20220309-11:16.23.0~dfsg+~cs6.10.20220309-21:16.23.0~dfsg+~cs6.10.40431411-11:16.28.0~dfsg-0+deb10u11:16.28.0~dfsg-0+deb10u2 |
1:16.28.0~dfsg-0+deb10u3 |
Show 9 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ringDebian:10 From an advisory covering 20 CVEs |
before 20190215.1.f152c98~ds1-1+deb10u2, plus listed versions 20190215.1.f152c98~ds1-120190215.1.f152c98~ds1-1+deb10u1 |
20190215.1.f152c98~ds1-1+deb10u2 |
ringDebian:11 From an advisory covering 21 CVEs |
before 20210112.2.b757bac~ds1-1+deb11u1, plus listed versions 20210112.2.b757bac~ds1-1 |
20210112.2.b757bac~ds1-1+deb11u1 |
asteriskDebian:11 |
before 1:16.28.0~dfsg-0+deb11u3, plus listed versions 1:16.16.1~dfsg+~2.10-11:16.16.1~dfsg+~2.10-21:16.16.1~dfsg-11:16.16.1~dfsg-1+deb11u11:16.16.1~dfsg-1+deb11u1~bpo10+1 Show 9 moreShow less1:16.16.1~dfsg-21:16.16.1~dfsg-31:16.16.1~dfsg-41:16.23.0~dfsg+~2.10-11:16.23.0~dfsg+~cs6.10.20220309-11:16.23.0~dfsg+~cs6.10.20220309-21:16.23.0~dfsg+~cs6.10.40431411-11:16.28.0~dfsg-0+deb11u11:16.28.0~dfsg-0+deb11u2 |
1:16.28.0~dfsg-0+deb11u3 |
pjprojectUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 2.1.0.0.ast20130823-12.1.0.0.ast20130823-1+deb8u1build0.16.04.12.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1 |
None known |
pjprojectUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 2.6~dfsg-22.7~dfsg-12.7.1~dfsg-12.7.1~dfsg-1build12.7.2~dfsg-12.7.2~dfsg-1ubuntu0.1~esm1 |
None known |
ringUbuntu:Pro:18.04:LTS |
before 20180228.1.503da2b~ds1-1ubuntu0.1~esm1, plus listed versions 20170803.2.5fcfe3f~dfsg1-120171024.1.eadbdeb~ds1-120171129.2.cf5bbff~ds1-120171129.2.cf5bbff~ds1-220180119.1.9e06f94~ds1-1 Show 4 moreShow less20180119.1.9e06f94~ds1-320180222.1.7bffde2~ds2-220180228.1.503da2b~ds1-120180228.1.503da2b~ds1-1build1 |
20180228.1.503da2b~ds1-1ubuntu0.1~esm1 |
ringUbuntu:20.04:LTS |
before 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1, plus listed versions 20190215.1.f152c98~ds1-120190215.1.f152c98~ds1-1build120190215.1.f152c98~ds1-1build2 |
20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 |
ringUbuntu:Pro:18.04:LTS From an advisory covering 20 CVEs |
before 20180228.1.503da2b~ds1-1ubuntu0.1~esm1, plus listed versions 20170803.2.5fcfe3f~dfsg1-120171024.1.eadbdeb~ds1-120171129.2.cf5bbff~ds1-120171129.2.cf5bbff~ds1-220180119.1.9e06f94~ds1-1 Show 4 moreShow less20180119.1.9e06f94~ds1-320180222.1.7bffde2~ds2-220180228.1.503da2b~ds1-120180228.1.503da2b~ds1-1build1 |
20180228.1.503da2b~ds1-1ubuntu0.1~esm1 |
ringUbuntu:20.04:LTS From an advisory covering 20 CVEs |
before 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1, plus listed versions 20190215.1.f152c98~ds1-120190215.1.f152c98~ds1-1build120190215.1.f152c98~ds1-1build2 |
20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-27585 is a high vulnerability (CVSS 7.5) in Teluu Pjsip, published March 14, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.31%, the 83rd percentile. Fixed in pjproject 2.13.1-r0.
References
github.com/pjsip/pjproject/security/advisories/GHSA-q9cp-8wcq-7pfr
github.com/pjsip/pjproject/security/advisories/GHSA-p6g5-v97c-w5q4
github.com/pjsip/pjproject/commit/d1c5e4da5bae7f220bc30719888bb389c905c0c5
pjsip.org/pjlib-util/docs/html/group__PJ__DNS__RESOLVER.htm
lists.debian.org/debian-lts-announce/2023/04/msg00020.html
debian.org/security/2023/dsa-5438
Show 29 moreShow less
lists.debian.org/debian-lts-announce/2023/08/msg00038.html
lists.debian.org/debian-lts-announce/2024/09/msg00030.html
security.alpinelinux.org/vuln/CVE-2023-27585
github.com/CVEProject/cvelistV5/tree/main/cves/2023/27xxx/CVE-2023-27585.json
nvd.nist.gov/vuln/detail/CVE-2023-27585
security-tracker.debian.org/tracker/CVE-2023-27585
ubuntu.com/security/CVE-2023-27585
ubuntu.com/security/notices/USN-6422-1
ubuntu.com/security/notices/USN-6422-2
cve.org/CVERecord?id=CVE-2023-27585
ubuntu.com/security/CVE-2021-37706
ubuntu.com/security/CVE-2021-43299
ubuntu.com/security/CVE-2021-43300
ubuntu.com/security/CVE-2021-43301
ubuntu.com/security/CVE-2021-43302
ubuntu.com/security/CVE-2021-43303
ubuntu.com/security/CVE-2021-43804
ubuntu.com/security/CVE-2021-43845
ubuntu.com/security/CVE-2022-21722
ubuntu.com/security/CVE-2022-21723
ubuntu.com/security/CVE-2022-23537
ubuntu.com/security/CVE-2022-23547
ubuntu.com/security/CVE-2022-23608
ubuntu.com/security/CVE-2022-24754
ubuntu.com/security/CVE-2022-24763
ubuntu.com/security/CVE-2022-24764
ubuntu.com/security/CVE-2022-24793
ubuntu.com/security/CVE-2022-31031
ubuntu.com/security/CVE-2022-39244
Left out here: 215 versions. The JSON record has them.