DSA-5438: -1 asterisk -- security update
A flaw was found in Asterisk, an Open Source Private Branch Exchange. A buffer overflow vulnerability affects users that use PJSIP DNS resolver. This vulnerability is related to CVE-2022-24793. The difference is that this issue is in parsing the query record parsequery(), while the issue in CVE-2022-24793 is in parserr(). A workaround is to disable DNS resolution in PJSIP config (by setting nameservercount to zero) or use an external resolver implementation instead.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/asteriskto a version that resolves this vulnerability.Fixed in 1:16.28.0~dfsg-0+deb11u3 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch DSA-5438-1 - Configuration
Disable DNS resolution in the PJSIP configuration by setting nameserver_count to zero; alternatively, use an external resolver.
Asterisk PJSIP nameserver_count = 0
Event History
Frequently Asked Questions
Which deployments are exposed to this buffer overflow?
The issue affects Asterisk users that use the PJSIP DNS resolver. Deployments not using that resolver are not identified as affected by the provided advisory.
What can be done if the security update cannot be installed immediately?
Disable DNS resolution in the PJSIP configuration by setting nameserver_count to zero, or use an external resolver implementation instead.