低危 Ruby openssl gem安全绕过

CVE编号

CVE-2016-7798

利用情况

暂无

补丁情况

官方补丁

披露时间

2017-01-31
漏洞描述
当在密钥之前设置IV时,Ruby的openssl gem在GCM模式(aes - * - gcm)中使用相同的初始化向量(IV),这使得依赖于上下文的攻击者更容易绕过加密保护机制。

解决建议
目前厂商已经发布了升级补丁以修复此安全问题,详情请关注厂商主页:

http://www.ruby-lang.org/zh_cn/
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 ruby-lang openssl * Up to
(excluding)
2.0.0
运行在以下环境
系统 amazon_AMI ruby23 * Up to
(excluding)
2.5.2-1.15.amzn1
运行在以下环境
系统 debian DPKG * Up to
(excluding)
3.0.1-2
运行在以下环境
系统 debian_10 ruby-encryptor * Up to
(excluding)
3.0.0-1
运行在以下环境
系统 debian_11 ruby-attr-encrypted * Up to
(excluding)
3.0.1-2
运行在以下环境
系统 debian_12 ruby-attr-encrypted * Up to
(excluding)
3.0.1-2
运行在以下环境
系统 fedora_24 rubygem-did_you_mean-1.0.0-62.fc24.armv7hl.rpm ( * Up to
(excluding)
2.3.3-62.fc24
运行在以下环境
系统 fedora_25 rubygem-json-1.8.3-62.fc25.armv7hl.rpm ( * Up to
(excluding)
2.3.3-62.fc25
运行在以下环境
系统 suse_12 libruby2_1-2_1 * Up to
(excluding)
2.1.9-19.3
运行在以下环境
系统 suse_12_SP4 ruby2.1 * Up to
(excluding)
2.1.9-19.3.2
运行在以下环境
系统 suse_12_SP5 ruby2.1 * Up to
(excluding)
2.1.9-19.3.2
运行在以下环境
系统 ubuntu_14.04 ruby2.0 * Up to
(excluding)
1.9.3.484-2ubuntu1.3
运行在以下环境
系统 ubuntu_14.04.6_lts ruby1.9.1 * Up to
(excluding)
1.9.3.484-2ubuntu1.3
运行在以下环境
系统 ubuntu_16.04 ruby-attr-encrypted * Up to
(excluding)
2.3.1-2~16.04.2
运行在以下环境
系统 ubuntu_16.04.7_lts ruby2.3 * Up to
(excluding)
2.3.1-2~16.04.2
阿里云评分
3.1
  • 攻击路径
    远程
  • 攻击复杂度
    复杂
  • 权限要求
    无需权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    100
CWE-ID 漏洞类型
CWE-326 不充分的加密强度
阿里云安全产品覆盖情况