CVE-2023-27585 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 a...
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
Description
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.
Upgrade path
14 packages: 11 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/pjproject(Ubuntu Pro 16.04) | = 2.1.0.0.ast20130823-1; = 2.1.0.0.ast20130823-1+deb8u1build0.16.04.1; = 2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1; All versions | No fix listed | No fix yet |
| ubuntu/pjproject(Ubuntu Pro 18.04) | = 2.6~dfsg-2; = 2.7.1~dfsg-1; = 2.7.1~dfsg-1build1; = 2.7.2~dfsg-1 +3 more | No fix listed | No fix yet |
| alpine/pjproject(Alpine v3.18) | < 2.13.1-r0 | 2.13.1-r0 | Fixed |
| alpine/pjproject(Alpine v3.19) | < 2.13.1-r0 | 2.13.1-r0 | Fixed |
| alpine/pjproject(Alpine v3.20) | < 2.13.1-r0 | 2.13.1-r0 | Fixed |
| alpine/pjproject(Alpine v3.21) | < 2.13.1-r0 | 2.13.1-r0 | Fixed |
| alpine/pjproject(Alpine v3.22) | < 2.13.1-r0 | 2.13.1-r0 | Fixed |
| alpine/pjproject(Alpine v3.23) | < 2.13.1-r0 | 2.13.1-r0 | Fixed |
| alpine/pjproject(Alpine v3.24) | < 2.13.1-r0 | 2.13.1-r0 | Fixed |
| debian/ring(Debian 12) | < 20230206.0~ds2-1.1+deb12u1; = 20230206.0~ds2-1.1 | 20230206.0~ds2-1.1+deb12u1 | Fixed |
| teluu pjsip | < 2.13 | 2.13 | Fixed |
| ubuntu/ring(Ubuntu 20.04) | < 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1; = 20190215.1.f152c98~ds1-1; = 20190215.1.f152c98~ds1-1build1; = 20190215.1.f152c98~ds1-1build2 | 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 | Fixed |
| ubuntu/ring(Ubuntu Pro 18.04) | < 20180228.1.503da2b~ds1-1ubuntu0.1~esm1; = 20170803.2.5fcfe3f~dfsg1-1; = 20171024.1.eadbdeb~ds1-1; = 20171129.2.cf5bbff~ds1-1 +6 more | 20180228.1.503da2b~ds1-1ubuntu0.1~esm1 | Fixed |
| pjsip pjproject | = <= 2.13 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pjsip pjproject | = <= 2.13 | No fix listed |
| teluu pjsip | < 2.13 | 2.13 |
| alpine/pjproject(Alpine:v3.18) | < 2.13.1-r0 | 2.13.1-r0 |
| alpine/pjproject(Alpine:v3.19) | < 2.13.1-r0 | 2.13.1-r0 |
| alpine/pjproject(Alpine:v3.20) | < 2.13.1-r0 | 2.13.1-r0 |
| alpine/pjproject(Alpine:v3.21) | < 2.13.1-r0 | 2.13.1-r0 |
| alpine/pjproject(Alpine:v3.22) | < 2.13.1-r0 | 2.13.1-r0 |
| alpine/pjproject(Alpine:v3.23) | < 2.13.1-r0 | 2.13.1-r0 |
| alpine/pjproject(Alpine:v3.24) | < 2.13.1-r0 | 2.13.1-r0 |
| debian/ring(Debian:12) | < 20230206.0~ds2-1.1+deb12u1 | 20230206.0~ds2-1.1+deb12u1 |
| debian/ring(Debian:12) | = 20230206.0~ds2-1.1 | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:16.04) | All versions | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:16.04) | = 2.1.0.0.ast20130823-1 | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:16.04) | = 2.1.0.0.ast20130823-1+deb8u1build0.16.04.1 | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:16.04) | = 2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1 | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:18.04) | All versions | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:18.04) | = 2.6~dfsg-2 | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:18.04) | = 2.7~dfsg-1 | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:18.04) | = 2.7.1~dfsg-1 | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:18.04) | = 2.7.1~dfsg-1build1 | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:18.04) | = 2.7.2~dfsg-1 | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:18.04) | = 2.7.2~dfsg-1ubuntu0.1~esm1 | No fix listed |
| ubuntu/ring(Ubuntu:Pro:18.04) | < 20180228.1.503da2b~ds1-1ubuntu0.1~esm1 | 20180228.1.503da2b~ds1-1ubuntu0.1~esm1 |
| ubuntu/ring(Ubuntu:Pro:18.04) | = 20170803.2.5fcfe3f~dfsg1-1 | No fix listed |
| ubuntu/ring(Ubuntu:Pro:18.04) | = 20171024.1.eadbdeb~ds1-1 | No fix listed |
Show 11 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/ring(Ubuntu:Pro:18.04) | = 20171129.2.cf5bbff~ds1-1 | No fix listed |
| ubuntu/ring(Ubuntu:Pro:18.04) | = 20171129.2.cf5bbff~ds1-2 | No fix listed |
| ubuntu/ring(Ubuntu:Pro:18.04) | = 20180119.1.9e06f94~ds1-1 | No fix listed |
| ubuntu/ring(Ubuntu:Pro:18.04) | = 20180119.1.9e06f94~ds1-3 | No fix listed |
| ubuntu/ring(Ubuntu:Pro:18.04) | = 20180222.1.7bffde2~ds2-2 | No fix listed |
| ubuntu/ring(Ubuntu:Pro:18.04) | = 20180228.1.503da2b~ds1-1 | No fix listed |
| ubuntu/ring(Ubuntu:Pro:18.04) | = 20180228.1.503da2b~ds1-1build1 | No fix listed |
| ubuntu/ring(Ubuntu:20.04) | < 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 | 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 |
| ubuntu/ring(Ubuntu:20.04) | = 20190215.1.f152c98~ds1-1 | No fix listed |
| ubuntu/ring(Ubuntu:20.04) | = 20190215.1.f152c98~ds1-1build1 | No fix listed |
| ubuntu/ring(Ubuntu:20.04) | = 20190215.1.f152c98~ds1-1build2 | No fix listed |
References
- Debian Security Tracker CVE-2023-27585 vendor-advisory
- github.com issue-tracking patch vendor-advisory
- github.com issue-tracking vendor-advisory
- github.com issue-tracking patch
- www.pjsip.org issue-tracking product
- [debian-lts-announce] 20230418 [SECURITY] [DLA 3394-1] asterisk security update mailing-list
- DSA-5438 vendor-advisory
- [debian-lts-announce] 20230829 [SECURITY] [DLA 3549-1] ring security update mailing-list
- lists.debian.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking