CVE-2018-16657 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...
CriticalCVSS 9.8
EPSS 3.6%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/kamailio(Debian:12) | < 5.1.4-1 | 5.1.4-1 |
| debian/kamailio(Debian:13) | < 5.1.4-1 | 5.1.4-1 |
| debian/kamailio(Debian:14) | < 5.1.4-1 | 5.1.4-1 |
| debian linux | = 8.0 | No fix listed |
| debian linux | = 9.0 | No fix listed |
| kamailio | < 5.0.7 | 5.0.7 |
| kamailio | >= 5.1.0, < 5.1.4 | 5.1.4 |
References
- Debian Security Tracker CVE-2018-16657 vendor-advisory
- [debian-lts-announce] 20180912 [SECURITY] [DLA 1503-1] kamailio security update mailing-list third-party-advisory
- skalatan.de exploit patch third-party-advisory
- DSA-4292 third-party-advisory vendor-advisory
- bugs.debian.org issue-tracking