{"id":"ALPINE-CVE-2023-27585","details":"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.","modified":"2026-03-09T01:23:28.397680Z","published":"2023-03-14T17:15:19.587Z","upstream":["CVE-2023-27585"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2023-27585"}],"affected":[{"package":{"name":"pjproject","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/pjproject?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.13.1-r0"}]}],"versions":["1.0.1-r0","1.10-r0","1.4-r0","1.4-r1","1.6-r0","1.6-r1","1.6-r2","2.0-r0","2.1-r0","2.11-r0","2.11.1-r0","2.11.1-r1","2.11.1-r2","2.12-r0","2.12.1-r0","2.12.1-r1","2.12.1-r2","2.12.1-r3","2.13-r0","2.13-r1","2.13-r2","2.2-r0","2.2.1-r0","2.3-r0","2.4-r0","2.4.5-r0","2.5.5-r0","2.5.5-r1","2.5.5-r2","2.5.5-r3","2.5.5-r4","2.7.2-r0","2.7.2-r1","2.7.2-r2","2.7.2-r3","2.7.2-r4","2.8-r0","2.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2023-27585.json"}},{"package":{"name":"pjproject","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/pjproject?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.13.1-r0"}]}],"versions":["1.0.1-r0","1.10-r0","1.4-r0","1.4-r1","1.6-r0","1.6-r1","1.6-r2","2.0-r0","2.1-r0","2.11-r0","2.11.1-r0","2.11.1-r1","2.11.1-r2","2.12-r0","2.12.1-r0","2.12.1-r1","2.12.1-r2","2.12.1-r3","2.13-r0","2.13-r1","2.13-r2","2.13-r3","2.2-r0","2.2.1-r0","2.3-r0","2.4-r0","2.4.5-r0","2.5.5-r0","2.5.5-r1","2.5.5-r2","2.5.5-r3","2.5.5-r4","2.7.2-r0","2.7.2-r1","2.7.2-r2","2.7.2-r3","2.7.2-r4","2.8-r0","2.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2023-27585.json"}},{"package":{"name":"pjproject","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/pjproject?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.13.1-r0"}]}],"versions":["1.0.1-r0","1.10-r0","1.4-r0","1.4-r1","1.6-r0","1.6-r1","1.6-r2","2.0-r0","2.1-r0","2.11-r0","2.11.1-r0","2.11.1-r1","2.11.1-r2","2.12-r0","2.12.1-r0","2.12.1-r1","2.12.1-r2","2.12.1-r3","2.13-r0","2.13-r1","2.13-r2","2.13-r3","2.2-r0","2.2.1-r0","2.3-r0","2.4-r0","2.4.5-r0","2.5.5-r0","2.5.5-r1","2.5.5-r2","2.5.5-r3","2.5.5-r4","2.7.2-r0","2.7.2-r1","2.7.2-r2","2.7.2-r3","2.7.2-r4","2.8-r0","2.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2023-27585.json"}},{"package":{"name":"pjproject","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/pjproject?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.13.1-r0"}]}],"versions":["1.0.1-r0","1.10-r0","1.4-r0","1.4-r1","1.6-r0","1.6-r1","1.6-r2","2.0-r0","2.1-r0","2.11-r0","2.11.1-r0","2.11.1-r1","2.11.1-r2","2.12-r0","2.12.1-r0","2.12.1-r1","2.12.1-r2","2.12.1-r3","2.13-r0","2.13-r1","2.13-r2","2.13-r3","2.2-r0","2.2.1-r0","2.3-r0","2.4-r0","2.4.5-r0","2.5.5-r0","2.5.5-r1","2.5.5-r2","2.5.5-r3","2.5.5-r4","2.7.2-r0","2.7.2-r1","2.7.2-r2","2.7.2-r3","2.7.2-r4","2.8-r0","2.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2023-27585.json"}},{"package":{"name":"pjproject","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/pjproject?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.13.1-r0"}]}],"versions":["1.0.1-r0","1.10-r0","1.4-r0","1.4-r1","1.6-r0","1.6-r1","1.6-r2","2.0-r0","2.1-r0","2.11-r0","2.11.1-r0","2.11.1-r1","2.11.1-r2","2.12-r0","2.12.1-r0","2.12.1-r1","2.12.1-r2","2.12.1-r3","2.13-r0","2.13-r1","2.13-r2","2.13-r3","2.2-r0","2.2.1-r0","2.3-r0","2.4-r0","2.4.5-r0","2.5.5-r0","2.5.5-r1","2.5.5-r2","2.5.5-r3","2.5.5-r4","2.7.2-r0","2.7.2-r1","2.7.2-r2","2.7.2-r3","2.7.2-r4","2.8-r0","2.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2023-27585.json"}},{"package":{"name":"pjproject","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/pjproject?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.13.1-r0"}]}],"versions":["1.0.1-r0","1.10-r0","1.4-r0","1.4-r1","1.6-r0","1.6-r1","1.6-r2","2.0-r0","2.1-r0","2.11-r0","2.11.1-r0","2.11.1-r1","2.11.1-r2","2.12-r0","2.12.1-r0","2.12.1-r1","2.12.1-r2","2.12.1-r3","2.13-r0","2.13-r1","2.13-r2","2.13-r3","2.2-r0","2.2.1-r0","2.3-r0","2.4-r0","2.4.5-r0","2.5.5-r0","2.5.5-r1","2.5.5-r2","2.5.5-r3","2.5.5-r4","2.7.2-r0","2.7.2-r1","2.7.2-r2","2.7.2-r3","2.7.2-r4","2.8-r0","2.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2023-27585.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}