CVE编号
CVE-2021-21305利用情况
暂无补丁情况
官方补丁披露时间
2021-02-09漏洞描述
CarrierWave is an open-source RubyGem which provides a simple and flexible way to upload files from Ruby applications. In CarrierWave before versions 1.3.2 and 2.1.1, there is a code injection vulnerability. The "#manipulate!" method inappropriately evals the content of mutation option(:read/:write), allowing attackers to craft a string that can be executed as a Ruby code. If an application developer supplies untrusted inputs to the option, it will lead to remote code execution(RCE). This is fixed in versions 1.3.2 and 2.1.1.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://github.com/carrierwaveuploader/carrierwave/blob/master/CHANGELOG.md#1... | |
https://github.com/carrierwaveuploader/carrierwave/blob/master/CHANGELOG.md#2... | |
https://github.com/carrierwaveuploader/carrierwave/commit/387116f5c72efa42bc3... | |
https://github.com/carrierwaveuploader/carrierwave/security/advisories/GHSA-c... | |
https://rubygems.org/gems/carrierwave |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | carrierwave_project | carrierwave | * |
Up to (excluding) 1.3.2 |
|||||
运行在以下环境 | |||||||||
应用 | carrierwave_project | carrierwave | * |
From (including) 2.0.1 |
Up to (excluding) 2.1.1 |
||||
运行在以下环境 | |||||||||
系统 | debian_10 | ruby-carrierwave | * |
Up to (excluding) 1.3.1-2 |
|||||
运行在以下环境 | |||||||||
系统 | debian_11 | ruby-carrierwave | * |
Up to (excluding) 1.3.1-2 |
|||||
运行在以下环境 | |||||||||
系统 | debian_12 | ruby-carrierwave | * |
Up to (excluding) 1.3.2-2 |
|||||
运行在以下环境 | |||||||||
系统 | debian_9 | ruby-carrierwave | * |
Up to (excluding) 0.10.0+gh-4 |
|||||
运行在以下环境 | |||||||||
系统 | debian_sid | ruby-carrierwave | * |
Up to (excluding) 1.3.2-2 |
|||||
- 攻击路径 远程
- 攻击复杂度 容易
- 权限要求 无需权限
- 影响范围 越权影响
- EXP成熟度 N/A
- 补丁情况 官方补丁
- 数据保密性 数据泄露
- 数据完整性 无影响
- 服务器危害 服务器失陷
- 全网数量 N/A
还没有评论,来说两句吧...