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...
CriticalCVSS 9.8
EPSS 30.4%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/kamailio(Debian:12) | < 5.1.2-1 | 5.1.2-1 |
| debian/kamailio(Debian:13) | < 5.1.2-1 | 5.1.2-1 |
| debian/kamailio(Debian:14) | < 5.1.2-1 | 5.1.2-1 |
| kamailio | < 4.4.7 | 4.4.7 |
| kamailio | >= 5.0.0, < 5.0.6 | 5.0.6 |
| kamailio | >= 5.1.0, < 5.1.2 | 5.1.2 |
| debian linux | = 8.0 | No fix listed |
| debian linux | = 9.0 | No fix listed |
| alpine/kamailio(Alpine:v3.4) | >= 5.0.0, < 4.4.0-r2 | 4.4.0-r2 |
| alpine/kamailio(Alpine:v3.5) | >= 5.0.0, < 4.4.5-r1 | 4.4.5-r1 |
| alpine/kamailio(Alpine:v3.6) | >= 5.0.0, < 5.0.2-r2 | 5.0.2-r2 |
References
- Debian Security Tracker CVE-2018-8828 vendor-advisory
- github.com third-party-advisory
- github.com patch third-party-advisory
- USN-4240-1 vendor-advisory
- DSA-4148 third-party-advisory vendor-advisory
- security.alpinelinux.org vendor-advisory