问题所在
"build_res_buf_from_sip_req" 核心功能中缺乏输入验证,导致带有双重 "To" 头和空 "To" 标签的精心设计的 SIP 消息引发段错误和崩溃。攻击者可利用此缺陷导致拒绝服务并可能执行任意代码。
影响范围
这影响 5.0.7 之前的 Kamailio 版本以及 5.1.4 之前的 5.1.x 版本。
应对措施
将 Kamailio 升级至 5.0.7 或 5.1.4 版本。
原始描述
In Kamailio before 5.0.7 and 5.1.x before 5.1.4, a crafted SIP message with a double "To" header and an empty "To" tag causes a segmentation fault and crash. The reason is missing input validation in the "build_res_buf_from_sip_req" core function. This could result in denial of service and potentially the execution of arbitrary code.
受影响的软件
- Kamailio ≥ 5.1.0 < 5.1.4< 5.0.7 修复版本: 5.1.4, 5.0.7 精确匹配
详情
- 发布日期
- 2018-07-31
- 最后修改
- 2026-06-17
- CVSS 向量
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-20
- EPSS(30 天内被利用概率)
- 29.30% (百分位 98)
参考资料
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。