中危 Sinatra路径遍历漏洞(CVE-2022-29970)
CVE编号
CVE-2022-29970利用情况
暂无补丁情况
官方补丁披露时间
2022-05-02漏洞描述
sinatra是一种DSL,用于在Ruby中轻松创建Web应用程序。 Sinatra 2.2.0之前版本存在安全漏洞,该漏洞源于在提供静态文件时不验证扩展路径是否与public_dir匹配。解决建议
目前厂商已发布升级补丁以修复漏洞,补丁获取链接:https://github.com/sinatra/sinatra/pull/1683/commits/462c3ca1db53ed3cfc394cf5948e9c948ad1c10e
参考链接 |
|
---|---|
https://github.com/sinatra/sinatra/pull/1683/commits/462c3ca1db53ed3cfc394cf5... | |
https://lists.debian.org/debian-lts-announce/2022/10/msg00034.html |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | sinatrarb | sinatra | * | Up to (excluding) 2.2.0 | |||||
运行在以下环境 | |||||||||
系统 | centos_8 | rubygem-http-cookie | * | Up to (excluding) 0.1.3-9.el8sat | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | ruby-sinatra | * | Up to (excluding) 2.0.5-4+deb10u1 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | ruby-sinatra | * | Up to (including) 2.0.8.1-2 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | ruby-sinatra | * | Up to (excluding) 2.2.2-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_9 | ruby-sinatra | * | Up to (including) 1.4.7-5 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | ruby-sinatra | * | Up to (excluding) 2.2.2-1 | |||||
运行在以下环境 | |||||||||
系统 | oracle_8 | oraclelinux-release | * | Up to (excluding) 0.10.12-6.0.1.el8_6.1 | |||||
运行在以下环境 | |||||||||
系统 | oracle_9 | oraclelinux-release | * | Up to (excluding) 0.11.1-10.el9_0.1 | |||||
运行在以下环境 | |||||||||
系统 | redhat_8 | rubygem-http-cookie | * | Up to (excluding) 0.1.3-9.el8sat | |||||
运行在以下环境 | |||||||||
系统 | unionos_a | pcs | * | Up to (excluding) 0.10.11-1.uelc20.11 | |||||
- 攻击路径 远程
- 攻击复杂度 复杂
- 权限要求 无需权限
- 影响范围 有限影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 数据泄露
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-22 | 对路径名的限制不恰当(路径遍历) |
Exp相关链接

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