Buffer overflow in Digium Asterisk
CVE-2016-9937
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.026, 85.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Digium Asterisk — versions 13.12, 13.13, 14.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.securityfocus.com/bid/94792 (Third Party Advisory, VDB Entry, vdb-entry)
- downloads.asterisk.org/pub/security/AST-2016-008-14.diff (Patch, Vendor Advisory)
- issues.asterisk.org/jira/browse/ASTERISK-26579 (Patch, Vendor Advisory)
- downloads.asterisk.org/pub/security/AST-2016-008.html (Patch, Vendor Advisory)
- downloads.asterisk.org/pub/security/AST-2016-008-13.diff (Patch, Vendor Advisory)
- www.securitytracker.com/id/1037407 (vdb-entry)