中危 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 | openssl | * | Up to (excluding) 1.0.2k-24.amzn2.0.6 | |||||
运行在以下环境 | |||||||||
系统 | amazon_2022 | openssl | * | Up to (excluding) 3.0.3-1.amzn2022.0.2 | |||||
运行在以下环境 | |||||||||
系统 | amazon_2023 | openssl | * | Up to (excluding) 3.0.5-1.amzn2023.0.4 | |||||
运行在以下环境 | |||||||||
系统 | amazon_AMI | openssl | * | Up to (excluding) 1.0.2k-16.159.amzn1 | |||||
运行在以下环境 | |||||||||
系统 | anolis_os_8 | openssl-perl | * | Up to (excluding) 1.1.1k-7.0.1 | |||||
运行在以下环境 | |||||||||
系统 | centos_8 | openssl-libs-debuginfo | * | Up to (excluding) 1.1.1k-7.el8_6 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | openssl | * | Up to (excluding) 1.1.1n-0+deb10u3 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | openssl | * | Up to (excluding) 1.1.1n-0+deb11u3 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | openssl | * | Up to (excluding) 3.0.4-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_9 | openssl | * | Up to (including) 1.1.0l-1~deb9u1 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | openssl | * | Up to (excluding) 3.0.4-1 | |||||
运行在以下环境 | |||||||||
系统 | fedora_35 | openssl-perl | * | Up to (excluding) 1.1.1p-1.fc35 | |||||
运行在以下环境 | |||||||||
系统 | fedora_36 | openssl1.1-devel | * | Up to (excluding) 1.1.1p-1.fc36 | |||||
运行在以下环境 | |||||||||
系统 | fedora_37 | openssl1.1 | * | Up to (excluding) 3.0.5-1.fc37 | |||||
运行在以下环境 | |||||||||
系统 | fedora_EPEL_7 | openssl11-devel | * | Up to (excluding) 1.1.1k-4.el7 | |||||
运行在以下环境 | |||||||||
系统 | fedora_EPEL_8 | openssl3-devel | * | Up to (excluding) 3.0.1-41.el8.1 | |||||
运行在以下环境 | |||||||||
系统 | kylinos_aarch64_V10 | openssl | * | Up to (excluding) 1.1.1k-7.el8_6 | |||||
运行在以下环境 | |||||||||
系统 | kylinos_aarch64_V10SP1 | openssl | * | Up to (excluding) 1.1.1f-4.p08.ky10 | |||||
运行在以下环境 | |||||||||
系统 | kylinos_aarch64_V10SP2 | openssl | * | Up to (excluding) 1.1.1f-4.p08.ky10 | |||||
运行在以下环境 | |||||||||
系统 | kylinos_aarch64_V10SP3 | openssl | * | Up to (excluding) 1.1.1f-15.p06.ky10 | |||||
运行在以下环境 | |||||||||
系统 | kylinos_loongarch64_V10SP1 | openssl | * | Up to (excluding) 1.1.1f-4.p08.a.ky10 | |||||
运行在以下环境 | |||||||||
系统 | kylinos_loongarch64_V10SP3 | openssl | * | Up to (excluding) 1.1.1f-15.p06.a.ky10 | |||||
运行在以下环境 | |||||||||
系统 | kylinos_x86_64_V10 | openssl | * | Up to (excluding) 1.1.1k-7.el8_6 | |||||
运行在以下环境 | |||||||||
系统 | kylinos_x86_64_V10SP1 | openssl | * | Up to (excluding) 1.1.1f-4.p08.ky10 | |||||
运行在以下环境 | |||||||||
系统 | kylinos_x86_64_V10SP2 | openssl | * | Up to (excluding) 1.1.1f-4.p08.ky10 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_5.2 | libopenssl-1_1-devel | * | Up to (excluding) 1.1.1d-150200.11.48.1 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.3 | libopenssl1_1-hmac | * | Up to (excluding) 1.0.2p-150000.3.56.1 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.4 | libopenssl-3-devel-32bit | * | Up to (excluding) 1.0.2p-150000.3.56.1 | |||||
运行在以下环境 | |||||||||
系统 | oracle_8 | oraclelinux-release | * | Up to (excluding) 1.1.1k-7.ksplice1.el8_6 | |||||
运行在以下环境 | |||||||||
系统 | oracle_9 | oraclelinux-release | * | Up to (excluding) 3.0.1-41.0.1.ksplice1.el9_0 | |||||
运行在以下环境 | |||||||||
系统 | redhat_8 | openssl-libs-debuginfo | * | Up to (excluding) 1.1.1k-7.el8_6 | |||||
运行在以下环境 | |||||||||
系统 | redhat_9 | openssl-debuginfo | * | Up to (excluding) 3.0.1-41.el9_0 | |||||
运行在以下环境 | |||||||||
系统 | suse_12_SP5 | libopenssl1_1 | * | Up to (excluding) 1.0.2p-3.56.1 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_18.04 | openssl1.0 | * | Up to (excluding) 1.0.2n-1ubuntu5.10 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_20.04 | openssl | * | Up to (excluding) 1.1.1f-1ubuntu2.15 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_21.10 | openssl | * | Up to (excluding) 1.1.1l-1ubuntu1.5 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_22.04 | nodejs | * | Up to (excluding) 12.22.9~dfsg-1ubuntu3.1 | |||||
运行在以下环境 | |||||||||
系统 | unionos_a | openssl | * | Up to (excluding) openssl-1.1.1k-6.uelc20.04 | |||||
运行在以下环境 | |||||||||
系统 | unionos_e | openssl | * | Up to (excluding) 2.10-4.uel20 | |||||
- 攻击路径 本地
- 攻击复杂度 困难
- 权限要求 普通权限
- 影响范围 全局影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 数据泄露
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-78 | OS命令中使用的特殊元素转义处理不恰当(OS命令注入) |
Exp相关链接

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