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.
A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.
Link | Tags |
---|---|
https://github.com/kamailio/kamailio/commit/e1d8008a09d9390ebaf698abe8909e10dfec4097 | third party advisory patch |
https://github.com/EnableSecurity/advisories/tree/master/ES2018-05-kamailio-heap-overflow | third party advisory |
https://www.debian.org/security/2018/dsa-4148 | third party advisory vendor advisory |
https://usn.ubuntu.com/4240-1/ | vendor advisory |