CVE Vulnerabilities

CVE-2018-8828

Off-by-one Error

Published: Mar 20, 2018 | Modified: Aug 24, 2020
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
HIGH

A Buffer Overflow issue was discovered in Kamailio before 4.4.7, 5.0.x before 5.0.6, and 5.1.x before 5.1.2. A specially crafted REGISTER message with a malformed branch or From tag triggers an off-by-one heap-based buffer overflow in the tmx_check_pretran function in modules/tmx/tmx_pretran.c.

Weakness

A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.

Affected Software

Name Vendor Start Version End Version
Kamailio Kamailio * 4.4.7 (excluding)
Kamailio Kamailio 5.0.0 (including) 5.0.6 (excluding)
Kamailio Kamailio 5.1.0 (including) 5.1.2 (excluding)
Kamailio Ubuntu artful *
Kamailio Ubuntu trusty *
Kamailio Ubuntu upstream *
Kamailio Ubuntu xenial *

Potential Mitigations

References