Out-of-Bounds Affecting asterisk package, versions [,13.18][13.18,13.19.2)[14.0.0,14.7.6)[15.0.0,15.2.2)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Mature
EPSS
62.44% (99th 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-2371665
  • published26 Jan 2022
  • disclosed22 Feb 2018
  • creditUnknown

Introduced: 22 Feb 2018

CVE-2018-7284  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade asterisk to version 13.19.2, 14.7.6, 15.2.2 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. A Buffer Overflow issue was discovered in Asterisk through 13.19.1, 14.x through 14.7.5, and 15.x through 15.2.1, and Certified Asterisk through 13.18-cert2. When processing a SUBSCRIBE request, the res_pjsip_pubsub module stores the accepted formats present in the Accept headers of the request. This code did not limit the number of headers it processed, despite having a fixed limit of 32. If more than 32 Accept headers were present, the code would write outside of its memory and cause a crash.

CVSS Scores

version 3.1