SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2018-16657

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.

CRITICAL 9.8EPSS 3.58%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (3.58%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

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.

CVSS 3.0
9.8 CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
3.58% probability · 89th percentile
CISA KEV
Not listed
Weakness
CWE-476
Affected
debian/debian linux · kamailio/kamailio
Source
cve@mitre.org

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.