UBUNTU-CVE-2018-16657
Dashboard / Vulnerabilities / UBUNTU-CVE-2018-16657
UBUNTU-CVE-2018-16657
Summary:
Details: 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.
References: https://ubuntu.com/security/CVE-2018-16657, https://skalatan.de/blog/advisory-hw-2018-06, https://github.com/kamailio/kamailio/commit/ad68e402ece8089f133c10de6ce319f9e28c0692, https://github.com/kamailio/kamailio/commit/d67b2f9874ca23bd69f18df71b8f53b1b6151f6d, https://github.com/kamailio/kamailio/commit/f07dabffef98c7088cdbc2bd695a4ae7a241b159, https://ubuntu.com/security/notices/USN-6022-1, https://www.cve.org/CVERecord?id=CVE-2018-16657
Affected packages
Package
Name: kamailio
Purl: pkg:deb/ubuntu/[email protected]+esm1?arch=source&distro=esm-apps/xenial
Affected ranges
Type: ECOSYSTEM
Events:
