Ruby命令注入漏洞(CVE-2021-31799)

admin 2023-12-01 13:23:48 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 Ruby命令注入漏洞(CVE-2021-31799)

CVE编号

CVE-2021-31799

利用情况

暂无

补丁情况

官方补丁

披露时间

2021-07-30
漏洞描述
Ruby是松本行弘个人开发者的一种跨平台、面向对象的动态类型编程语言。 Ruby 3.11-6.3.1版本存在命令注入漏洞。攻击者可利用该漏洞通过向应用程序传递特制数据,在目标系统上执行任意命令。 受影响系统: Ruby Ruby >= 3.11 Ruby Ruby < 6.3.1
解决建议
目前厂商已经发布了升级补丁以修复这个安全问题,补丁获取链接:https://www.ruby-lang.org/en/news/2021/05/02/os-command-injection-in-rdoc/
参考链接
https://lists.debian.org/debian-lts-announce/2021/10/msg00009.html
https://security-tracker.debian.org/tracker/CVE-2021-31799
https://security.netapp.com/advisory/ntap-20210902-0004/
https://www.oracle.com/security-alerts/cpuapr2022.html
https://www.ruby-lang.org/en/news/2021/05/02/os-command-injection-in-rdoc/
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 ruby-lang rdoc * From (including) 3.11 Up to (excluding) 6.3.1
运行在以下环境
应用 ruby-lang ruby * Up to (including) 3.0.1
运行在以下环境
系统 alpine_3.11 ruby * Up to (excluding) 2.6.8-r0
运行在以下环境
系统 alpine_3.12 ruby * Up to (excluding) 2.7.4-r0
运行在以下环境
系统 alpine_3.13 ruby * Up to (excluding) 2.7.4-r0
运行在以下环境
系统 alpine_3.14 ruby * Up to (excluding) 2.7.4-r0
运行在以下环境
系统 alpine_3.15 ruby * Up to (excluding) 2.7.4-r0
运行在以下环境
系统 alpine_3.16 ruby * Up to (excluding) 2.7.4-r0
运行在以下环境
系统 alpine_3.17 ruby * Up to (excluding) 2.7.4-r0
运行在以下环境
系统 alpine_3.18 ruby * Up to (excluding) 2.7.4-r0
运行在以下环境
系统 alpine_edge ruby * Up to (excluding) 2.7.4-r0
运行在以下环境
系统 amazon_2 ruby * Up to (excluding) 2.0.0-36.amzn2.0.2
运行在以下环境
系统 amazon_AMI ruby20 * Up to (excluding) 2.6.14.4-2.15.amzn1
运行在以下环境
系统 anolis_os_8 rubygem-xmlrpc * Up to (excluding) 1.1.1-109.0.1
运行在以下环境
系统 centos_8 rubygem-bundler * Up to (excluding) 3.3.4-137.module+el8.4.0+12025+f744ca41
运行在以下环境
系统 debian_10 ruby2.5 * Up to (excluding) 2.5.5-3+deb10u4
运行在以下环境
系统 debian_11 ruby2.7 * Up to (excluding) 2.7.4-1
运行在以下环境
系统 debian_9 ruby2.3 * Up to (excluding) 2.3.3-1+deb9u10
运行在以下环境
系统 fedora_33_Modular ruby * Up to (excluding) 2.7-3320210609104615.601d93de
运行在以下环境
系统 fedora_34 rubygem-psych-debuginfo-3.3.0-149.fc34.i686.rpm ( * Up to (excluding) 3.0.2-149.fc34
运行在以下环境
系统 fedora_34_Modular ruby * Up to (excluding) 2.7-3420210609104615.058368ca
运行在以下环境
系统 fedora_36 rubygem-rdoc-doc * Up to (excluding) 6.3.2-201.fc36
运行在以下环境
系统 kylinos_aarch64_V10SP1 ruby * Up to (excluding) 2.5.8-114.ky10
运行在以下环境
系统 kylinos_aarch64_V10SP2 ruby * Up to (excluding) 2.5.8-114.ky10
运行在以下环境
系统 kylinos_x86_64_V10SP1 ruby * Up to (excluding) 2.5.8-114.ky10
运行在以下环境
系统 kylinos_x86_64_V10SP2 ruby * Up to (excluding) 2.5.8-114.ky10
运行在以下环境
系统 opensuse_Leap_15.2 libruby2_5-2_5 * Up to (excluding) 2.5.9-lp152.2.9.1
运行在以下环境
系统 opensuse_Leap_15.3 libruby2_5-2_5 * Up to (excluding) 2.5.9-150000.4.23.1
运行在以下环境
系统 opensuse_Leap_15.4 libruby2_5-2_5 * Up to (excluding) 2.5.9-150000.4.23.1
运行在以下环境
系统 oracle_8 oraclelinux-release * Up to (excluding) 0.3.0-4.module+el8.3.0+7756+e45777e9
运行在以下环境
系统 redhat_8 rubygem-bundler * Up to (excluding) 0.5.3-1.module+el8.3.0+7192+4e3a532a
运行在以下环境
系统 suse_12_SP5 ruby2.1 * Up to (excluding) 2.1.9-19.6.1
运行在以下环境
系统 ubuntu_18.04 ruby2.5 * Up to (excluding) 2.5.1-1ubuntu1.10
运行在以下环境
系统 ubuntu_18.04.5_lts ruby2.5 * Up to (excluding) 2.5.1-1ubuntu1.10
运行在以下环境
系统 ubuntu_20.04 ruby2.7 * Up to (excluding) 2.7.0-5ubuntu1.5
运行在以下环境
系统 ubuntu_21.04 ruby2.7 * Up to (excluding) 2.7.2-4ubuntu1.2
运行在以下环境
系统 ubuntu_21.10 ruby2.7 * Up to (excluding) 2.7.4-1ubuntu1
阿里云评分 5.5
  • 攻击路径 本地
  • 攻击复杂度 复杂
  • 权限要求 无需权限
  • 影响范围 全局影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-77 在命令中使用的特殊元素转义处理不恰当(命令注入)
CWE-78 OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  0