[3.5] kamailio: A Buffer Overflow (CVE-2018-8828)
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.
References:
https://github.com/EnableSecurity/advisories/tree/master/ES2018-05-kamailio-heap-overflow
https://nvd.nist.gov/vuln/detail/CVE-2018-8828
Patch:
https://github.com/kamailio/kamailio/commit/e1d8008a09d9390ebaf698abe8909e10dfec4097
(from redmine: issue id 8720, created on 2018-03-23, closed on 2018-03-23)
- Relations:
- copied_to #8718 (closed)
- parent #8718 (closed)
- Changesets:
- Revision 611011ce on 2018-03-23T13:17:36Z:
main/kamailio: add secinfo
Fixes #8720