中危 检查 DH 密钥和参数花费过多时间 (CVE-2023-3446)

CVE编号

CVE-2023-3446

利用情况

暂无

补丁情况

官方补丁

披露时间

2023-07-19
漏洞描述
Issue summary: Checking excessively long DH keys or parameters may be very slow.

Impact summary: Applications that use the functions DH_check(), DH_check_ex()
or EVP_PKEY_param_check() to check a DH key or 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.

The function DH_check() performs various checks on DH parameters. One of those
checks confirms that the modulus ('p' parameter) is not too large. Trying to use
a very large modulus is slow and OpenSSL will not normally use a modulus which
is over 10,000 bits in length.

However the DH_check() function checks numerous aspects of the key or parameters
that have been supplied. Some of those checks use the supplied modulus value
even if it has already been found to be too large.

An application that calls DH_check() and supplies a key or parameters obtained
from an untrusted source could be vulernable to a Denial of Service attack.

The function DH_check() is itself 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_ex() and
EVP_PKEY_param_check().

Also vulnerable are the OpenSSL dhparam and pkeyparam command line applications
when using the '-check' option.

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 1.0.2 -
运行在以下环境
应用 openssl openssl 3.0.0 -
运行在以下环境
应用 openssl openssl 3.1.0 -
运行在以下环境
应用 openssl openssl 3.1.1 -
运行在以下环境
系统 alma_linux_8 openssl * Up to
(excluding)
1.1.1k-12.el8_9
运行在以下环境
系统 alpine_3.15 openssl * Up to
(excluding)
3.0.9-r2
运行在以下环境
系统 alpine_3.16 openssl * Up to
(excluding)
3.0.9-r2
运行在以下环境
系统 alpine_3.17 openssl * Up to
(excluding)
1.1.1u-r1
运行在以下环境
系统 alpine_3.18 openssl * Up to
(excluding)
1.1.1u-r1
运行在以下环境
系统 alpine_3.19 openssl * Up to
(excluding)
3.1.1-r3
运行在以下环境
系统 amazon_2 openssl * Up to
(excluding)
1.0.2k-24.amzn2.0.9
运行在以下环境
系统 amazon_2023 openssl * Up to
(excluding)
3.0.8-1.amzn2023.0.4
运行在以下环境
系统 amazon_AMI openssl * Up to
(excluding)
1.0.2k-16.164.amzn1
运行在以下环境
系统 anolis_os_23 openssl * Up to
(excluding)
3.0.12-2
运行在以下环境
系统 debian_10 openssl * Up to
(excluding)
1.1.1n-0+deb10u6
运行在以下环境
系统 debian_11 openssl * Up to
(excluding)
1.1.1v-0~deb11u1
运行在以下环境
系统 debian_12 openssl * Up to
(excluding)
3.0.10-1~deb12u1
运行在以下环境
系统 fedora_EPEL_7 openssl11 * Up to
(excluding)
1.1.1k-6.el7
运行在以下环境
系统 kylinos_aarch64_V10 openssl * Up to
(excluding)
1.1.1f-15.p11.ky10
运行在以下环境
系统 kylinos_aarch64_V10SP1 openssl * Up to
(excluding)
1.1.1f-4.p14.ky10
运行在以下环境
系统 kylinos_aarch64_V10SP2 openssl * Up to
(excluding)
1.1.1f-4.p14.ky10
运行在以下环境
系统 kylinos_aarch64_V10SP3 openssl * Up to
(excluding)
1.1.1f-15.p11.ky10
运行在以下环境
系统 kylinos_loongarch64_V10SP1 openssl * Up to
(excluding)
1.1.1f-4.p14.a.ky10
运行在以下环境
系统 kylinos_loongarch64_V10SP3 openssl * Up to
(excluding)
1.1.1f-15.p11.a.ky10
运行在以下环境
系统 kylinos_x86_64_V10 openssl * Up to
(excluding)
1.1.1f-15.p11.ky10
运行在以下环境
系统 kylinos_x86_64_V10SP1 openssl * Up to
(excluding)
1.1.1f-4.p14.ky10
运行在以下环境
系统 kylinos_x86_64_V10SP2 openssl * Up to
(excluding)
1.1.1f-4.p14.ky10
运行在以下环境
系统 kylinos_x86_64_V10SP3 openssl * Up to
(excluding)
1.1.1f-15.p11.ky10
运行在以下环境
系统 opensuse_5.3 openssl-1_1 * Up to
(excluding)
1.1.1l-150400.7.48.1
运行在以下环境
系统 opensuse_5.4 openssl-1_1 * Up to
(excluding)
1.1.1l-150400.7.48.1
运行在以下环境
系统 opensuse_Leap_15.4 openssl * Up to
(excluding)
3-3.0.8-150400.4.31.2
运行在以下环境
系统 opensuse_Leap_15.5 openssl * Up to
(excluding)
3.0.8-150500.5.8.1
运行在以下环境
系统 oracle_8 openssl * Up to
(excluding)
1.1.1k-12.el8_9
运行在以下环境
系统 redhat_8 openssl * Up to
(excluding)
1.1.1k-12.el8_9
运行在以下环境
系统 suse_12_SP5 openssl-1_1 * Up to
(excluding)
1.1.1d-2.92.1
运行在以下环境
系统 ubuntu_20.04 openssl * Up to
(excluding)
1.1.1f-1ubuntu2.20
阿里云评分
4.8
  • 攻击路径
    本地
  • 攻击复杂度
    困难
  • 权限要求
    管控权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-1333 Inefficient Regular Expression Complexity
阿里云安全产品覆盖情况