CVE-2018-16657

CVSS V2 High 7.5 CVSS V3 Critical 9.8
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.
Overview
  • CVE ID
  • CVE-2018-16657
  • Assigner
  • cve@mitre.org
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2018-09-07T14:29:03
  • Last Modified Date
  • 2020-08-24T17:37:01
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:kamailio:kamailio:*:*:*:*:*:*:*:* 1 OR 5.0.7
cpe:2.3:a:kamailio:kamailio:*:*:*:*:*:*:*:* 1 OR 5.1.0 5.1.4
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:L/Au:N/C:P/I:P/A:P
  • Access Vector
  • NETWORK
  • Access Compatibility
  • LOW
  • Authentication
  • NONE
  • Confidentiality Impact
  • PARTIAL
  • Integrity Impact
  • PARTIAL
  • Availability Impact
  • PARTIAL
  • Base Score
  • 7.5
  • Severity
  • HIGH
  • Exploitability Score
  • 10
  • Impact Score
  • 6.4
CVSS Version 3
  • Version
  • 3.0
  • Vector String
  • CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • HIGH
  • Availability Impact
  • HIGH
  • Base Score
  • 9.8
  • Base Severity
  • CRITICAL
  • Exploitability Score
  • 3.9
  • Impact Score
  • 5.9
References
Reference URL Reference Tags
https://skalatan.de/blog/advisory-hw-2018-06 Exploit Patch Third Party Advisory
https://www.debian.org/security/2018/dsa-4292 Third Party Advisory
https://lists.debian.org/debian-lts-announce/2018/09/msg00013.html Mailing List Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 16:30:12 Added to TrackCVE
2022-12-03 11:53:48 2018-09-07T14:29Z 2018-09-07T14:29:03 CVE Published Date updated
2022-12-03 11:53:49 2020-08-24T17:37:01 CVE Modified Date updated
2022-12-03 11:53:49 Analyzed Vulnerability Status updated