中危 openssl openssl os命令中使用的特殊元素转义处理不恰当(os命令注入)

CVE编号

CVE-2022-2068

利用情况

暂无

补丁情况

官方补丁

披露时间

2022-06-21
漏洞描述
In addition to the c_rehash shell command injection identified in CVE-2022-1292, further circumstances where the c_rehash script does not properly sanitise shell metacharacters to prevent command injection were found by code review. When the CVE-2022-1292 was fixed it was not discovered that there are other places in the script where the file names of certificates being hashed were possibly passed to a command executed through the shell. This script is distributed by some operating systems in a manner where it is automatically executed. On such operating systems, an attacker could execute arbitrary commands with the privileges of the script. Use of the c_rehash script is considered obsolete and should be replaced by the OpenSSL rehash command line tool. Fixed in OpenSSL 3.0.4 (Affected 3.0.0,3.0.1,3.0.2,3.0.3). Fixed in OpenSSL 1.1.1p (Affected 1.1.1-1.1.1o). Fixed in OpenSSL 1.0.2zf (Affected 1.0.2-1.0.2ze).
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 openssl openssl * From
(including)
1.0.2
Up to
(excluding)
1.0.2zf
运行在以下环境
应用 openssl openssl * From
(including)
1.1.1
Up to
(excluding)
1.1.1p
运行在以下环境
应用 openssl openssl * From
(including)
3.0.0
Up to
(excluding)
3.0.4
运行在以下环境
系统 amazon_2 edk2 * Up to
(excluding)
1.0.2k-24.amzn2.0.4
运行在以下环境
系统 amazon_2022 edk2 * Up to
(excluding)
3.0.3-1.amzn2022.0.2
运行在以下环境
系统 amazon_AMI edk2 * Up to
(excluding)
1.0.2k-16.159.amzn1
运行在以下环境
系统 centos_8 edk2 * Up to
(excluding)
1.1.1k-7.el8_6
运行在以下环境
系统 debian_10 edk2 * Up to
(excluding)
1.1.1n-0+deb10u3
运行在以下环境
系统 debian_11 edk2 * Up to
(excluding)
1.1.1n-0+deb11u3
运行在以下环境
系统 debian_12 edk2 * Up to
(including)
3.0.3-8
运行在以下环境
系统 debian_9 edk2 * Up to
(including)
1.1.0l-1~deb9u1
运行在以下环境
系统 debian_sid edk2 * Up to
(including)
3.0.4-1
运行在以下环境
系统 fedora_35 edk2 * Up to
(excluding)
1.1.1p-1.fc35
运行在以下环境
系统 fedora_36 edk2 * Up to
(excluding)
1.1.1p-1.fc36
运行在以下环境
系统 fedora_37 edk2 * Up to
(excluding)
1.1.1p-1.fc37
运行在以下环境
系统 fedora_EPEL_7 edk2 * Up to
(excluding)
1.1.1k-4.el7
运行在以下环境
系统 fedora_EPEL_8 edk2 * Up to
(excluding)
3.0.1-41.el8.1
运行在以下环境
系统 redhat_8 edk2 * Up to
(excluding)
1.1.1k-7.el8_6
运行在以下环境
系统 suse_12_SP5 edk2 * Up to
(excluding)
1.1.1d-2.66.1
运行在以下环境
系统 ubuntu_16.04 edk2 * Up to
(excluding)
1.0.2g-1ubuntu4.20+esm5
运行在以下环境
系统 ubuntu_18.04 edk2 * Up to
(excluding)
1.0.2n-1ubuntu5.10
运行在以下环境
系统 ubuntu_20.04 edk2 * Up to
(excluding)
1.1.1f-1ubuntu2.15
运行在以下环境
系统 ubuntu_21.10 edk2 * Up to
(excluding)
1.1.1l-1ubuntu1.5
运行在以下环境
系统 ubuntu_22.04 edk2 * Up to
(excluding)
3.0.2-0ubuntu1.5
阿里云评分
4.3
  • 攻击路径
    本地
  • 攻击复杂度
    困难
  • 权限要求
    普通权限
  • 影响范围
    全局影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    数据泄露
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-78 OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
阿里云安全产品覆盖情况