CVE-2018-16657 Null dereference in n/a
A crafted SIP message with an invalid Via header causes a segmentation fault in Kamailio, leading to denial of service and potential arbitrary code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-16657?
CVE-2018-16657 is a critical vulnerability in Debian Debian Linux, published on 7 Sep 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-476
Which versions are affected by CVE-2018-16657?
It affects 2 products.
Products include Debian Debian Linux, Kamailio Kamailio.
How do I fix CVE-2018-16657?
Upgrade to a fixed version.
Is CVE-2018-16657 being exploited?
There is no known exploitation of CVE-2018-16657 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2018-16657, DLA-1503-1, DSA-4292-1, GHSA-4477-4jr7-cfjq, UBUNTU-CVE-2018-16657.