CVE-2023-3817
OpenSSL: Excessive time spent checking DH q parameter value
Overview
Description
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. After fixing
CVE-2023-3446 it was discovered that a large q parameter value can also trigger
an overly long computation during some of these checks. A correct q value,
if present, cannot be larger than the modulus p parameter, thus it is
unnecessary to perform these checks if q is larger than p.
An application that calls DH_check() and supplies a key or parameters obtained
from an untrusted source could be vulnerable 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.
Source: OX vulnerability database
Severity
5.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness: CWE-606, CWE-834
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Conan (C/C++) | openssl | =1.0.2a||=1.0.2b||=1.0.2m||=1.0.2||=1.0.2c||=1.0.2d||=1.0.2e||=1.0.2f||=1.0.2g|| =1.0.2h||=1.0.2i||=1.0.2j||=1.0.2k||=1.0.2l||=1.0.2n||=1.0.2o||=1.0.2p||=1.0.2q||=1.0.2r|| =1.0.2s||=1.0.2t||=1.0.2u||=1.0.2v||=1.0.2w||=1.0.2y||=1.0.2za||=1.0.2zb||=1.0.2zc||=1.0.2zd|| =1.0.2ze||=1.0.2zf||=1.0.2zg||=1.0.2zh||=1.1.1a||=1.1.1b||=1.1.1m||=1.1.1||=1.1.1c||=1.1.1d|| =1.1.1e||=1.1.1f||=1.1.1g||=1.1.1h||=1.1.1i||=1.1.1j||=1.1.1k||=1.1.1l||=1.1.1n||=1.1.1o|| =1.1.1p||=1.1.1q||=1.1.1r||=1.1.1s||=1.1.1t||=1.1.1u||>=3.0.0 <3.0.10||>=3.1.0 <3.1.2 | 1.1.1w3.0.123.1.3 |
| Julia | Openresty_jll | <1.27.1+0 | 1.27.1+0 |
| Julia | OpenSSL_jll | <1.1.22+0>=3.0.8+0, <3.0.10+0 | 1.1.22+03.0.10+0 |
Open a package to see all its vulnerabilities.
Operating systems · 93 fixes
Azure Linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | rust | 0:1.68.2-5.azl3 |
| 3.0 | edk2 | 0:20230301gitf80f052277c8-37.azl3 |
Oracle Linux 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | openssl +3 | 1:1.1.1k-12.el8_9 |
| 8 | openssl +4 | 2:1.1.1k-12.ksplice1.el8_9 |
| 9 | openssl +3 | 1:3.0.7-27.0.3.el9 |
| 9 | openssl-fips-provider | 3.0.7-2.0.1.el9 |
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | openssl +4 | 3.0.9-4.ph4 |
| 5.0 | openssl +5 | 3.0.9-4.ph5 |
Red Hat 3 releases · 10 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | puppet-agent | affected | — |
| 7 | openssl +4 | eol | — |
| 7 | jbcs-httpd24-mod-http2 | 0:1.15.19-32.el7jbcs | RHSA-2023:7625 |
| 7 | jws5-tomcat-native | 0:1.2.31-16.redhat_16.el7jws | RHSA-2023:7622 |
| 7 | jbcs-httpd24-mod-jk-ap24 | 0:1.2.49-1.redhat_1.el7jbcs | RHSA-2023:7625 |
| 7 | jbcs-httpd24-curl +2 | 0:8.4.0-2.el7jbcs | RHSA-2023:7625 |
16 more rows
SUSE Linux Enterprise 3 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libopenssl-1-0-0-devel +7 | 1.0.2p-3.84.1 | SUSE-SU-2023:3339-1 |
| 12.5 | libopenssl-1-1-devel +6 | 1.1.1d-2.98.1 | SUSE-SU-2023:3239-1 |
| 15.4 | libopenssl-1-0-0-devel +4 | 1.0.2p-150000.3.85.1 | SUSE-SU-2023:3338-1 |
| 15.4 | libopenssl-1-1-devel +6 | 1.1.1l-150400.7.53.1 | SUSE-SU-2023:3397-1 |
| 15.4 | libopenssl-3-devel +2 | 3.0.8-150400.4.34.1 | SUSE-SU-2023:3244-1 |
| 15.5 | libopenssl-1-0-0-devel +4 | 1.0.2p-150000.3.85.1 | SUSE-SU-2023:3338-1 |
2 more rows
SUSE Linux Enterprise Micro 4 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.1 | libopenssl-1-1-devel +3 | 1.1.1d-150200.11.75.1 | SUSE-SU-2023:3291-1 |
| 5.2 | libopenssl-1-1-devel +3 | 1.1.1d-150200.11.75.1 | SUSE-SU-2023:3291-1 |
| 5.3 | libopenssl-1-1-devel +3 | 1.1.1l-150400.7.53.1 | SUSE-SU-2023:3397-1 |
| 5.3 | libopenssl3 | 3.0.8-150400.4.34.1 | SUSE-SU-2023:3244-2 |
| 5.4 | libopenssl-1-1-devel +3 | 1.1.1l-150400.7.53.1 | SUSE-SU-2023:3397-1 |
| 5.4 | libopenssl3 | 3.0.8-150400.4.34.1 | SUSE-SU-2023:3244-2 |
alma 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | openssl +3 | 1:1.1.1k-12.el8_9 |
| 9 | openssl +3 | 1:3.0.7-27.el9 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openssl | 3.1.2-r0 |
| 3.23 | openssl | 3.1.2-r0 |
| 3.24 | openssl | 3.1.2-r0 |
| edge | openssl | 3.1.2-r0 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | openssl +6 | 1:3.0.8-1.amzn2023.0.4 |
chainguard 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl-provider-fips +1 | not affected | |
| openssl | 3.1.1-r4 |
debian 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | openssl | 1.1.1n-0+deb10u6 |
| 11 | openssl | 1.1.1v-0~deb11u1 |
| 12 | openssl | 3.0.10-1~deb12u1 |
| 13 | openssl | 3.0.10-1 |
| 14 | openssl | 3.0.10-1 |
echo 1 release · 6 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl-1-1-1c | 1.1.1c+e1 | |
| openssl-1-1-1g | 1.1.1g+e1 | |
| openssl-1-1-1k | 1.1.1k+e1 | |
| openssl | 3.0.10-1~deb12u1 | |
| openssl-3-0-9 | 3.0.9+e1 | |
| openssl-3-1-0 | 3.1.0+e1 |
openSUSE 1 release · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libopenssl-1-0-0-devel +9 | 1.0.2u-22.1 | openSUSE-SU-2024:13111-1 |
| Tumbleweed | libopenssl-1-1-devel +5 | 1.1.1v-1.1 | openSUSE-SU-2024:13090-1 |
| Tumbleweed | libopenssl-3-devel +6 | 3.1.2-1.1 | openSUSE-SU-2024:13097-1 |
openSUSE Leap Micro 2 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.3 | libopenssl-1-1-devel +3 | 1.1.1l-150400.7.53.1 | SUSE-SU-2023:3397-1 |
| 5.3 | libopenssl3 | 3.0.8-150400.4.34.1 | SUSE-SU-2023:3244-2 |
| 5.4 | libopenssl-1-1-devel +3 | 1.1.1l-150400.7.53.1 | SUSE-SU-2023:3397-1 |
| 5.4 | libopenssl3 | 3.0.8-150400.4.34.1 | SUSE-SU-2023:3244-2 |
rocky 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | openssl +3 | 1:1.1.1k-12.el8_9 |
root.io alpine 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.23 | rootio-openssl | 3.1.2-r0 |
root.io debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-openssl | 1.1.1v-0~deb11u1 |
| 12 | rootio-openssl | 3.0.10-1~deb12u1 |
seal Red Hat 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | openssl +1 | 1:1.0.2k-25.el7_9+sp999 |
| 7 | openssl +1 | 1:1.0.2k-26.el7_9+sp2 |
| 8 | openssl +1 | 1:1.1.1k-14.el8_6+sp999 |
| 8 | openssl +1 | 1:1.1.1k-6.el8_5+sp999 |
| 9 | openssl +1 | 1:3.2.2-6.el9_5+sp999 |
seal alpine 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl | 1.1.1t-r003 | |
| seal-openssl | 1.1.1t-r353412 |
seal debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl +1 | 1.1.1w-0+deb11u2+sp999 |
ubuntu 5 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | openssl1-0 | 1.0.2n-1ubuntu5.13+esm1 |
| 18.04-ESM | openssl | 1.1.1-1ubuntu2.1~18.04.23+esm3 |
| 20.04 | openssl | 1.1.1f-1ubuntu2.20 |
| 20.04-ESM | edk2 | affected |
| 20.04-ESM | openssl | 1.1.1f-1ubuntu2.20 |
| 22.04 | nodejs | affected |
3 more rows
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl | 3.1.1-r4 |
References
- seclists.org http://seclists.org/fulldisclosure/2023/Jul/43
- www.openwall.com http://www.openwall.com/lists/oss-security/2023/07/31/1
- www.openwall.com http://www.openwall.com/lists/oss-security/2023/09/22/11
- www.openwall.com http://www.openwall.com/lists/oss-security/2023/09/22/9
- www.openwall.com http://www.openwall.com/lists/oss-security/2023/11/06/2
- access.redhat.com https://access.redhat.com/errata/RHSA-2023:7877
- access.redhat.com https://access.redhat.com/errata/RHSA-2024:2447
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-3817
- bugzilla.redhat.com https://bugzilla.redhat.com/2223016
- bugzilla.redhat.com https://bugzilla.redhat.com/2224962
Show all 53 references
- bugzilla.redhat.com https://bugzilla.redhat.com/2227852
- bugzilla.redhat.com https://bugzilla.redhat.com/2248616
- bugzilla.redhat.com https://bugzilla.redhat.com/2257571
- bugzilla.redhat.com https://bugzilla.redhat.com/2258502
- bugzilla.redhat.com https://bugzilla.redhat.com/2259944
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2224962
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2227852
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2248616
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2270358
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-099606.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-915275.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-943925.html
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-3446
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-3817
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-5678
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-2408
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2024-2447.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2023:7877
- git.openssl.org https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=6a1eb62c29db6cb5eec707f9338aee00f44e26f5
- git.openssl.org https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=869ad69aadd985c7b8ca6f4e5dd0eb274c9f3644
- git.openssl.org https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=9002fd07327a91f35ba6c1307e71fa6fd4409b7f
- git.openssl.org https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=91ddeba0f2269b017dc06c46c993a788974b1aa5
- github.com https://github.com/advisories/GHSA-c945-cqj5-wfv6
- linux.oracle.com https://linux.oracle.com/cve/CVE-2023-3817.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2024-2447.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2023/08/msg00019.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-3817
- security.gentoo.org https://security.gentoo.org/glsa/202402-08
- security.netapp.com https://security.netapp.com/advisory/ntap-20230818-0014
- security.netapp.com https://security.netapp.com/advisory/ntap-20230818-0014/
- security.netapp.com https://security.netapp.com/advisory/ntap-20231027-0008
- security.netapp.com https://security.netapp.com/advisory/ntap-20231027-0008/
- security.netapp.com https://security.netapp.com/advisory/ntap-20240621-0006
- security.netapp.com https://security.netapp.com/advisory/ntap-20240621-0006/
- ubuntu.com https://ubuntu.com/security/notices/USN-6435-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6435-2
- ubuntu.com https://ubuntu.com/security/notices/USN-6450-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6709-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7894-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-3817
- www.openssl.org https://www.openssl.org/news/secadv/20230731.txt
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.