Ad

CVE-2023-3446

MEDIUM CVSS 3.1: 5,3 EPSS 6.53%
Обновлено 15 октября 2026
OpenSSL
Параметр Значение
CVSS 5,3 (MEDIUM)
Тип уязвимости CWE-1333 (Атака через регулярные выражения (ReDoS)), CWE-606
Поставщик OpenSSL
Публичный эксплойт Нет

Checking чрезмерно длинные клавиши или параметры DH могут быть очень медленными. Applications, которые используют функции DH_check(), DH_check_ex() или EVP_PKEY_param_check() для проверки ключа DH или параметров DH, могут испытывать длительные задержки. Если ключ или параметры, которые проверяются, были получены из ненадежного источника, это может привести к отказу в обслуживании.

Функция DH_check() выполняет различные проверки параметров DH. Одна из этих проверок подтверждает, что модуль (параметр p) не слишком велик. Попытка использовать очень большой модуль медленная, и OpenSSL обычно не использует модуль длиной более 10 000 бит.

Однако функция DH_check() проверяет многие аспекты ключа или параметров, которые были предоставлены. Некоторые из этих проверок используют поставляемое значение модуля, даже если оно уже было признано слишком большим. Приложение, которое вызывает DH_check() и предоставляет ключ или параметры, полученные из ненадежного источника, может быть уязвимо для атаки типа «Отказ в обслуживании».

Функция DH_check() сама вызывается рядом других функций OpenSSL. Приложение, вызывающее любую из этих других функций, может быть затронуто аналогичным образом. Другими функциями, затронутыми этим, являются DH_check_ex () и EVP_PKEY_param_check ().

Также уязвимы приложения командной строки OpenSSL dhparam и pkeyparam при использовании опции '-check'. Реализация OpenSSL SSL/TLS не затрагивается этой проблемой. Провайдеры OpenSSL 3.0 и 3.1 FIPS не затронуты этой проблемой.

Показать оригинальное описание (EN)

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.

Характеристики атаки

Способ атаки
По сети
Атака возможна удалённо
Сложность
Низкая
Легко эксплуатировать
Нужны права
Не требуются
Права не нужны
Участие пользователя
Не требуется
Не нужно действие пользователя

Последствия

Конфиденциальность
Нет
Нет утечки данных
Целостность
Нет
Нет модификации данных
Доступность
Низкое
Частичное нарушение работы

Строка CVSS v3.1

Уязвимые продукты 5

Конфигурация От (включительно) До (исключительно)
Openssl Openssl
cpe:2.3:a:openssl:openssl:1.0.2:-:*:*:*:*:*:*
— —
Openssl Openssl
cpe:2.3:a:openssl:openssl:1.1.1:-:*:*:*:*:*:*
— —
Openssl Openssl
cpe:2.3:a:openssl:openssl:3.0.0:-:*:*:*:*:*:*
— —
Openssl Openssl
cpe:2.3:a:openssl:openssl:3.1.0:-:*:*:*:*:*:*
— —
Openssl Openssl
cpe:2.3:a:openssl:openssl:3.1.1:-:*:*:*:*:*:*
— —

Ссылки 22

https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=1fa20cf2f506113c76…
openssl-security@openssl.org
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=8780a896543a654e75…
openssl-security@openssl.org
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=9a0a4d3c1e71389155…
openssl-security@openssl.org
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=fc9867c1e03c22ebf5…
openssl-security@openssl.org
https://www.openssl.org/news/secadv/20230719.txt
openssl-security@openssl.org
http://www.openwall.com/lists/oss-security/2023/07/19/4
af854a3a-2127-422b-91ae-364da2661108
http://www.openwall.com/lists/oss-security/2023/07/19/5
af854a3a-2127-422b-91ae-364da2661108
http://www.openwall.com/lists/oss-security/2023/07/19/6
af854a3a-2127-422b-91ae-364da2661108
http://www.openwall.com/lists/oss-security/2023/07/31/1
af854a3a-2127-422b-91ae-364da2661108
http://www.openwall.com/lists/oss-security/2024/05/16/1
af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2023/08/msg00019.html
af854a3a-2127-422b-91ae-364da2661108
https://security.gentoo.org/glsa/202402-08
af854a3a-2127-422b-91ae-364da2661108
https://security.netapp.com/advisory/ntap-20230803-0011/
af854a3a-2127-422b-91ae-364da2661108
https://cert-portal.siemens.com/productcert/html/ssa-099606.html
0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
https://cert-portal.siemens.com/productcert/html/ssa-277137.html
0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
https://cert-portal.siemens.com/productcert/html/ssa-341067.html
0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
https://cert-portal.siemens.com/productcert/html/ssa-398330.html
0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
https://cert-portal.siemens.com/productcert/html/ssa-556635.html
0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
https://cert-portal.siemens.com/productcert/html/ssa-769027.html
0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
https://cert-portal.siemens.com/productcert/html/ssa-794697.html
0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
https://cert-portal.siemens.com/productcert/html/ssa-915275.html
0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
https://cert-portal.siemens.com/productcert/html/ssa-943925.html
0b142b55-0307-4c5a-b3c9-f314f3fb7c5e