中危 未进行输入大小检查的缓冲区拷贝(传统缓冲区溢出)
CVE编号
CVE-2023-22741利用情况
暂无补丁情况
官方补丁披露时间
2023-01-20漏洞描述
Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification. In affected versions Sofia-SIP **lacks both message length and attributes length checks** when it handles STUN packets, leading to controllable heap-over-flow. For example, in stun_parse_attribute(), after we get the attribute's type and length value, the length will be used directly to copy from the heap, regardless of the message's left size. Since network users control the overflowed length, and the data is written to heap chunks later, attackers may achieve remote code execution by heap grooming or other exploitation methods. The bug was introduced 16 years ago in sofia-sip 1.12.4 (plus some patches through 12/21/2006) to in tree libs with git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3774 d0543943-73ff-0310-b7d9-9358b9ac24b2. Users are advised to upgrade. There are no known workarounds for this vulnerability.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | signalwire | sofia-sip | * | Up to (excluding) 1.13.11 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.14 | sofia-sip | * | Up to (excluding) 1.13.11-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.15 | sofia-sip | * | Up to (excluding) 1.13.11-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.16 | sofia-sip | * | Up to (excluding) 1.13.11-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.17 | sofia-sip | * | Up to (excluding) 1.13.11-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.18 | sofia-sip | * | Up to (excluding) 1.13.11-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_edge | sofia-sip | * | Up to (excluding) 1.13.11-r0 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | sofia-sip | * | Up to (excluding) 1.12.11+20110422.1-2.1+deb10u2 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | sofia-sip | * | Up to (excluding) 1.12.11+20110422.1-2.1+deb11u1 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | sofia-sip | * | Up to (excluding) 1.12.11+20110422.1+1e14eea~dfsg-4 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | sofia-sip | * | Up to (excluding) 1.12.11+20110422.1+1e14eea~dfsg-4 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_18.04 | sofia-sip | * | Up to (excluding) 1.12.11+20110422.1-2.1+deb10u3build0.18.04.1 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_20.04 | sofia-sip | * | Up to (excluding) 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_22.04 | sofia-sip | * | Up to (excluding) 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_22.10 | sofia-sip | * | Up to (excluding) 1.12.11+20110422.1+1e14eea~dfsg-3ubuntu0.1 | |||||
- 攻击路径 远程
- 攻击复杂度 容易
- 权限要求 无需权限
- 影响范围 全局影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 数据泄露
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-120 | 未进行输入大小检查的缓冲区拷贝(传统缓冲区溢出) |
CWE-787 | 跨界内存写 |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论