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.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
http://www.securityfocus.com/bid/94792 | vdb entry third party advisory |
http://downloads.asterisk.org/pub/security/AST-2016-008-14.diff | patch vendor advisory |
https://issues.asterisk.org/jira/browse/ASTERISK-26579 | patch vendor advisory |
http://downloads.asterisk.org/pub/security/AST-2016-008.html | patch vendor advisory |
http://downloads.asterisk.org/pub/security/AST-2016-008-13.diff | patch vendor advisory |
http://www.securitytracker.com/id/1037407 | vdb entry |