Out-of-Bounds Affecting asterisk package, versions [,13.13.1)[14.2.0,14.2.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.85% (89th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-ASTERISK-2371582
  • published26 Jan 2022
  • disclosed12 Dec 2016
  • creditUnknown

Introduced: 12 Dec 2016

CVE-2016-9937  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade asterisk to version 13.13.1, 14.2.1 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. 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.

CVSS Scores

version 3.1