Improper Input Validation Affecting kamailio package, versions <5.1.4-r0


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
32.42% (98th 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-ALPINE314-KAMAILIO-1306750
  • published31 Jul 2018
  • disclosed31 Jul 2018

Introduced: 31 Jul 2018

CVE-2018-14767  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Alpine:3.14 kamailio to version 5.1.4-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kamailio package and not the kamailio package as distributed by Alpine. See How to fix? for Alpine:3.14 relevant fixed versions and status.

In Kamailio before 5.0.7 and 5.1.x before 5.1.4, a crafted SIP message with a double "To" header and an empty "To" tag causes a segmentation fault and crash. The reason is missing input validation in the "build_res_buf_from_sip_req" core function. This could result in denial of service and potentially the execution of arbitrary code.