Improper Input Validation Affecting kamailio package, versions <5.1.2-1ubuntu2+esm2


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
29.3% (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-UBUNTU1804-KAMAILIO-456484
  • 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 Ubuntu:18.04 kamailio to version 5.1.2-1ubuntu2+esm2 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 Ubuntu. See How to fix? for Ubuntu:18.04 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.