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 crcittstringarray core function for calculating a CRC hash for To tags. (An additional error is present in the checkviaaddress core function: this function also misses input validation.) This could result in denial of service and potentially the execution of arbitrary code.
{ "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-autheph-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-autheph-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-berkeley-bin" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-berkeley-bin-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-berkeley-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-berkeley-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-carrierroute-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-carrierroute-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-cnxcc-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-cnxcc-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-cpl-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-cpl-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-dbg" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-dnssec-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-dnssec-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-erlang-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-erlang-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-extra-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-extra-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-geoip-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-geoip-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-ims-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-ims-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-java-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-java-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-json-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-json-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-kazoo-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-kazoo-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-ldap-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-ldap-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-lua-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-lua-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-memcached-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-memcached-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-mono-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-mono-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-mysql-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-mysql-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-outbound-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-outbound-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-perl-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-perl-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-postgres-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-postgres-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-presence-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-presence-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-purple-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-purple-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-python-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-python-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-radius-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-radius-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-redis-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-redis-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-sctp-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-sctp-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-snmpstats-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-snmpstats-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-sqlite-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-sqlite-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-tls-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-tls-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-unixodbc-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-unixodbc-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-utils-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-utils-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-websocket-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-websocket-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-xml-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-xml-modules-dbgsym" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-xmpp-modules" }, { "binary_version": "4.3.4-1.1ubuntu2.1+esm1", "binary_name": "kamailio-xmpp-modules-dbgsym" } ] }
{ "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-autheph-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-autheph-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-berkeley-bin" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-berkeley-bin-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-berkeley-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-berkeley-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-carrierroute-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-carrierroute-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-cnxcc-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-cnxcc-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-cpl-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-cpl-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-erlang-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-erlang-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-extra-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-extra-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-geoip-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-geoip-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-geoip2-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-geoip2-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-ims-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-ims-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-json-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-json-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-kazoo-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-kazoo-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-ldap-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-ldap-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-lua-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-lua-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-memcached-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-memcached-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-mongodb-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-mongodb-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-mono-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-mono-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-mysql-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-mysql-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-outbound-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-outbound-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-perl-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-perl-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-phonenum-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-phonenum-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-postgres-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-postgres-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-presence-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-presence-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-python-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-python-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-rabbitmq-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-rabbitmq-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-radius-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-radius-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-redis-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-redis-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-sctp-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-sctp-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-snmpstats-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-snmpstats-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-sqlite-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-sqlite-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-systemd-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-systemd-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-tls-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-tls-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-unixodbc-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-unixodbc-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-utils-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-utils-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-websocket-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-websocket-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-xml-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-xml-modules-dbgsym" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-xmpp-modules" }, { "binary_version": "5.1.2-1ubuntu2+esm1", "binary_name": "kamailio-xmpp-modules-dbgsym" } ] }