VDB

CVE-2023-6237

CVE-2023-6237 PUBLISHED CVSS 5.9 MEDIUM

Excessive time spent checking invalid RSA public keys

Reported by openssl · Published April 25, 2024

Issue summary: Checking excessively long invalid RSA public keys may take a long time. Impact summary: Applications that use the function EVP_PKEY_public_check() to check RSA public keys may experience long delays. Where the key that is being checked has been obtained from an untrusted source this may lead to a Denial of Service. When function EVP_PKEY_public_check() is called on RSA public keys, a computation is done to confirm that the RSA modulus, n, is composite. For valid RSA keys, n is a product of two or more large primes and this computation completes quickly. However, if n is an overly large prime, then this computation would take a long time. An application that calls EVP_PKEY_public_check() and supplies an RSA key obtained from an untrusted source could be vulnerable to a Denial of Service attack. The function EVP_PKEY_public_check() is not called from other OpenSSL functions however it is called from the OpenSSL pkey command line application. For that reason that application is also vulnerable if used with the '-pubin' and '-check' options on untrusted data. The OpenSSL SSL/TLS implementation is not affected by this issue. The OpenSSL 3.0 and 3.1 FIPS providers are affected by this issue.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
openssl-libsAmazon Linux1:3.0.8-1.amzn2023.0.11
openssl-provider-fipsChainguard3.4.0-r4
opensslAlpine3.1.4-r4, 3.0.12-r3
openssl-snapsafe-libsAmazon Linux1:3.0.8-1.amzn2023.0.11
opensslAmazon Linux1:3.0.8-1.amzn2023.0.11
openssl-provider-fips-3.1.2Chainguard3.4.0-r4
openssl-perlAmazon Linux1:3.0.8-1.amzn2023.0.11
opensslWolfi3.3.0-r5
openssl-develAmazon Linux1:3.0.8-1.amzn2023.0.11
opensslChainguard3.3.0-r5
SINEC NMSSiemensV3.0 SP1
scalance_wum766-1_firmwaresiemens3.0.0

12 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
OpenSSLOpenSSL3.0.0, 3.1.0, 3.2.0
amazon:2023openssl-libs0
chainguardopenssl-provider-fips0
SiemensSINEC NMS0
alpineopenssl0, 0
amazon:2023openssl-snapsafe-libs0
amazon:2023openssl0
chainguardopenssl-provider-fips-3.1.20
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
OpenSSLOpenSSL3.2.0, 3.0.0, 3.1.0
amazon:2023openssl-perl0
wolfiopenssl0
amazon:2023openssl-devel0
chainguardopenssl0

Timeline

  • Jan 15, 2024 CVE Published
  • Apr 25, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 5, 2024 Coalition ESS Score (11 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (49 in total, the first dated here)
  • Nov 22, 2026 Distribution Patch (46 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-6237
vulnetix vdb fixes CVE-2023-6237

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-6237/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›