CVE-2018-16657

Critical

Description

In Kamailio before 5.0.7 and 5.1.x before 5.1.4, a crafted SIP message with an invalid Via header causes a segmentation fault and crashes Kamailio. The reason is missing input validation in the crcitt_string_array core function for calculating a CRC hash for To tags. (An additional error is present in the check_via_address core function: this function also misses input validation.) This could result in denial of service and potentially the execution of arbitrary code.

SeverityCritical
CVSS9.8
Exploit probability—
ProductKamailio
PublishedSep 7, 2018
First seenSep 7, 2018

How to fix

Update
  • kamailio kamailio5.0.7, 5.1.4 or later

Affected products

ProductAffected versionsFixed in
kamailio kamailiov < 5.0.7, 5.1.0 ≤ v < 5.1.45.0.7, 5.1.4
debian debian_linux8.0, 9.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.