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.
A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Debian_linux | Debian | 8.0 (including) | 8.0 (including) |
Debian_linux | Debian | 9.0 (including) | 9.0 (including) |
Kamailio | Ubuntu | bionic | * |
Kamailio | Ubuntu | cosmic | * |
Kamailio | Ubuntu | esm-apps/bionic | * |
Kamailio | Ubuntu | esm-apps/xenial | * |
Kamailio | Ubuntu | trusty | * |
Kamailio | Ubuntu | upstream | * |
Kamailio | Ubuntu | xenial | * |