{"id":"CVE-2018-16657","state":"PUBLISHED","title":"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 vali","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.","publishedAt":"2018-09-07T14:00:00.000Z","updatedAt":"2024-08-05T10:32:53.033Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://www.debian.org/security/2018/dsa-4292","https://lists.debian.org/debian-lts-announce/2018/09/msg00013.html","https://skalatan.de/blog/advisory-hw-2018-06"],"weaknesses":[],"ingestedAt":"2026-10-29T19:44:25.237Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/16xxx/CVE-2018-16657.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-16657","state":"PUBLISHED","datePublished":"2018-09-07T14:00:00.000Z","dateUpdated":"2024-08-05T10:32:53.033Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2018-09-07T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://www.debian.org/security/2018/dsa-4292","name":"DSA-4292","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/09/msg00013.html","name":"[debian-lts-announce] 20180912 [SECURITY] [DLA 1503-1] kamailio security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://skalatan.de/blog/advisory-hw-2018-06","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-09-13T09:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2018-09-07T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-16657","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"DSA-4292","refsource":"DEBIAN","url":"https://www.debian.org/security/2018/dsa-4292"},{"name":"[debian-lts-announce] 20180912 [SECURITY] [DLA 1503-1] kamailio security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2018/09/msg00013.html"},{"name":"https://skalatan.de/blog/advisory-hw-2018-06","refsource":"MISC","url":"https://skalatan.de/blog/advisory-hw-2018-06"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.debian.org/security/2018/dsa-4292","name":"DSA-4292","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/09/msg00013.html","name":"[debian-lts-announce] 20180912 [SECURITY] [DLA 1503-1] kamailio security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://skalatan.de/blog/advisory-hw-2018-06","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T10:32:53.033Z"}}]}}}