中危 在具有较大 Q 参数值的 DH 检查/生成中花费过多时间 (CVE-2023-5678)
CVE编号
CVE-2023-5678利用情况
暂无补丁情况
官方补丁披露时间
2023-11-07漏洞描述
Issue summary: Generating excessively long X9.42 DH keys or checking excessively long X9.42 DH keys or parameters may be very slow. Impact summary: Applications that use the functions DH_generate_key() to generate an X9.42 DH key may experience long delays. Likewise, applications that use DH_check_pub_key(), DH_check_pub_key_ex() or EVP_PKEY_public_check() to check an X9.42 DH key or X9.42 DH parameters may experience long delays. Where the key or parameters that are being checked have been obtained from an untrusted source this may lead to a Denial of Service. While DH_check() performs all the necessary checks (as of CVE-2023-3817), DH_check_pub_key() doesn't make any of these checks, and is therefore vulnerable for excessively large P and Q parameters. Likewise, while DH_generate_key() performs a check for an excessively large P, it doesn't check for an excessively large Q. An application that calls DH_generate_key() or DH_check_pub_key() and supplies a key or parameters obtained from an untrusted source could be vulnerable to a Denial of Service attack. DH_generate_key() and DH_check_pub_key() are also called by a number of other OpenSSL functions. An application calling any of those other functions may similarly be affected. The other functions affected by this are DH_check_pub_key_ex(), EVP_PKEY_public_check(), and EVP_PKEY_generate(). Also vulnerable are the OpenSSL pkey command line application when using the "-pubcheck" option, as well as the OpenSSL genpkey command line application. The OpenSSL SSL/TLS implementation is not affected by this issue. The OpenSSL 3.0 and 3.1 FIPS providers are not affected by this issue.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | openssl | openssl | * | From (including) 1.0.2 | Up to (excluding) 1.0.2zj | ||||
运行在以下环境 | |||||||||
应用 | openssl | openssl | * | From (including) 1.1.1 | Up to (excluding) 1.1.1x | ||||
运行在以下环境 | |||||||||
应用 | openssl | openssl | * | From (including) 3.0.0 | Up to (excluding) 3.0.13 | ||||
运行在以下环境 | |||||||||
应用 | openssl | openssl | * | From (including) 3.1.0 | Up to (excluding) 3.1.5 | ||||
运行在以下环境 | |||||||||
系统 | debian_10 | openssl | * | Up to (including) 1.1.1n-0+deb10u3 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | openssl | * | Up to (including) 1.1.1w-0+deb11u1 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | openssl | * | Up to (including) 3.0.11-1~deb12u1 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | openssl | * | Up to (excluding) 3.0.12-2 | |||||
- 攻击路径 本地
- 攻击复杂度 复杂
- 权限要求 普通权限
- 影响范围 越权影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-754 | 对因果或异常条件的不恰当检查 |
Exp相关链接

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