Vulnerability Details : 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_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.
Vulnerability category: Memory CorruptionDenial of service
Threat overview for CVE-2018-16657
Top countries where our scanners detected CVE-2018-16657
Top open port discovered on systems with this issue
5060
IPs affected by CVE-2018-16657 161
Threat actors abusing to this issue?
Yes
Find out if you* are
affected by CVE-2018-16657!
*Directly or indirectly through your vendors, service providers and 3rd parties.
Powered by
attack surface intelligence
from SecurityScorecard.
Exploit prediction scoring system (EPSS) score for CVE-2018-16657
Probability of exploitation activity in the next 30 days: 1.14%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 84 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2018-16657
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST |
9.8
|
CRITICAL | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2018-16657
-
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.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-16657
-
https://skalatan.de/blog/advisory-hw-2018-06
Advisory HW-2018-06 | skalatan.deExploit;Patch;Third Party Advisory
-
https://www.debian.org/security/2018/dsa-4292
Debian -- Security Information -- DSA-4292-1 kamailioThird Party Advisory
-
https://lists.debian.org/debian-lts-announce/2018/09/msg00013.html
[SECURITY] [DLA 1503-1] kamailio security updateMailing List;Third Party Advisory
Products affected by CVE-2018-16657
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:a:kamailio:kamailio:*:*:*:*:*:*:*:*
- cpe:2.3:a:kamailio:kamailio:*:*:*:*:*:*:*:*