SB2016121203 - Buffer overflow in Asterisk
Published: December 12, 2016 Updated: July 28, 2020
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Buffer overflow (CVE-ID: CVE-2016-9937)
The vulnerability allows a remote non-authenticated attacker to perform a denial of service (DoS) attack.
An issue was discovered in Asterisk Open Source 13.12.x and 13.13.x before 13.13.1 and 14.x before 14.2.1. If an SDP offer or answer is received with the Opus codec and with the format parameters separated using a space the code responsible for parsing will recursively call itself until it crashes. This occurs as the code does not properly handle spaces separating the parameters. This does NOT require the endpoint to have Opus configured in Asterisk. This also does not require the endpoint to be authenticated. If guest is enabled for chan_sip or anonymous in chan_pjsip an SDP offer or answer is still processed and the crash occurs.
Remediation
Install update from vendor's website.
References
- http://downloads.asterisk.org/pub/security/AST-2016-008.html
- http://downloads.asterisk.org/pub/security/AST-2016-008-13.diff
- http://downloads.asterisk.org/pub/security/AST-2016-008-14.diff
- http://www.securityfocus.com/bid/94792
- http://www.securitytracker.com/id/1037407
- https://issues.asterisk.org/jira/browse/ASTERISK-26579