Out-of-bounds Write Affecting kamailio package, versions [,4.4.7)[5.0.0,5.0.6)[5.1.0,5.1.2)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
3.29% (87th 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-KAMAILIO-2381914
  • published26 Jan 2022
  • disclosed20 Mar 2018
  • creditUnknown

Introduced: 20 Mar 2018

CVE-2018-8828  (opens in a new tab)
CWE-193  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade kamailio to version 4.4.7, 5.0.6, 5.1.2 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. A Buffer Overflow issue was discovered in Kamailio before 4.4.7, 5.0.x before 5.0.6, and 5.1.x before 5.1.2. A specially crafted REGISTER message with a malformed branch or From tag triggers an off-by-one heap-based buffer overflow in the tmx_check_pretran function in modules/tmx/tmx_pretran.c.

CVSS Base Scores

version 3.1