Skip to content

CVE-2023-6237 Excessive time spent checking invalid RSA public keys

MediumCVSS 5.9 EPSS 2.5%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
OpenSSLUbuntuDebian

Description

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.

Upgrade path

52 packages: 30 fixed, 22 with no fix yet.

PackageAffectedFixed inStatus
netapp 500f firmware All versions No fix listed No fix yet
netapp 8300 firmware All versions No fix listed No fix yet
netapp 8700 firmware All versions No fix listed No fix yet
netapp a250 firmware All versions No fix listed No fix yet
netapp a400 firmware All versions No fix listed No fix yet
netapp a700s firmware All versions No fix listed No fix yet
netapp brocade fabric operating system All versions No fix listed No fix yet
netapp c250 firmware All versions No fix listed No fix yet
netapp c400 firmware All versions No fix listed No fix yet
netapp h300s firmware All versions No fix listed No fix yet
netapp h410c firmware All versions No fix listed No fix yet
netapp h410s firmware All versions No fix listed No fix yet
netapp h500s firmware All versions No fix listed No fix yet
netapp h610c firmware All versions No fix listed No fix yet
netapp h610s firmware All versions No fix listed No fix yet
netapp h615c firmware All versions No fix listed No fix yet
netapp h700s firmware All versions No fix listed No fix yet
netapp hci bootstrap os All versions No fix listed No fix yet
netapp management services for element software and netapp hci All versions No fix listed No fix yet
netapp ontap select deploy administration utility All versions No fix listed No fix yet
netapp snapmanager All versions No fix listed No fix yet
ubuntu/openssl(Ubuntu Pro FIPS-preview 22.04) = 3.0.2-0ubuntu1.10+Fips1; = 3.0.2-0ubuntu1.12+Fips1; All versions No fix listed No fix yet
alpine/openssl(Alpine v3.17) >= 3.0.0, < 3.0.12-r3 3.0.12-r3 Fixed
alpine/openssl(Alpine v3.18) >= 3.1.0, < 3.1.4-r4 3.1.4-r4 Fixed
alpine/openssl(Alpine v3.19) >= 3.1.0, < 3.1.4-r4 3.1.4-r4 Fixed
alpine/openssl(Alpine v3.20) >= 3.1.0, < 3.1.4-r4 3.1.4-r4 Fixed
alpine/openssl(Alpine v3.21) >= 3.1.0, < 3.1.4-r4 3.1.4-r4 Fixed
alpine/openssl(Alpine v3.22) >= 3.1.0, < 3.1.4-r4 3.1.4-r4 Fixed
alpine/openssl(Alpine v3.23) >= 3.1.0, < 3.1.4-r4 3.1.4-r4 Fixed
alpine/openssl(Alpine v3.24) >= 3.1.0, < 3.1.4-r4 3.1.4-r4 Fixed

… and 22 more packages.

Affected products

ProductAffected versionsFixed in
Microsoft cbl mariner < 38.0.72.2-1 38.0.72.2-1
Microsoft cbl mariner < 1.0.1-6 1.0.1-6
Microsoft cbl mariner < 18.20.2-1 18.20.2-1
Microsoft azure linux < 38.0.72.2-1 38.0.72.2-1
Microsoft azure linux < 20.14.0-1 20.14.0-1
Microsoft azure linux < 3.3.0-1 3.3.0-1
debian/openssl(Debian:12) < 3.0.13-1~deb12u1 3.0.13-1~deb12u1
debian/openssl(Debian:12) = 3.0.10-1 No fix listed
debian/openssl(Debian:12) = 3.0.10-1~deb12u1 No fix listed
debian/openssl(Debian:12) = 3.0.11-1 No fix listed
debian/openssl(Debian:12) = 3.0.11-1~deb12u1 No fix listed
debian/openssl(Debian:12) = 3.0.11-1~deb12u2 No fix listed
debian/openssl(Debian:12) = 3.0.12-1 No fix listed
debian/openssl(Debian:12) = 3.0.12-2 No fix listed
debian/openssl(Debian:12) = 3.0.9-1 No fix listed
debian/openssl(Debian:13) < 3.1.5-1 3.1.5-1
debian/openssl(Debian:14) < 3.1.5-1 3.1.5-1
OpenSSL >= 3.0.0, < 3.0.13 3.0.13
OpenSSL >= 3.1.0, < 3.1.5 3.1.5
OpenSSL >= 3.2.0, < 3.2.1 3.2.1
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem < V1.1.1 V1.1.1
Siemens SINEC NMS < V3.0 SP1 V3.0 SP1
ubuntu/edk2(Ubuntu:24.04) < 2024.02-2ubuntu0.6 2024.02-2ubuntu0.6
ubuntu/openssl(Ubuntu:24.04) < 3.0.10-1ubuntu4 3.0.10-1ubuntu4
netapp management services for element software and netapp hci All versions No fix listed
Show 83 more
ProductAffected versionsFixed in
netapp ontap select deploy administration utility All versions No fix listed
netapp snapmanager All versions No fix listed
netapp brocade fabric operating system All versions No fix listed
netapp hci bootstrap os All versions No fix listed
netapp e-series santricity os controller >= 11.0, < 11.80.1r2 11.80.1r2
netapp h610s firmware All versions No fix listed
netapp h610c firmware All versions No fix listed
netapp h410c firmware All versions No fix listed
netapp h410s firmware All versions No fix listed
netapp h700s firmware All versions No fix listed
netapp h500s firmware All versions No fix listed
netapp h300s firmware All versions No fix listed
netapp c250 firmware All versions No fix listed
netapp 500f firmware All versions No fix listed
netapp a250 firmware All versions No fix listed
netapp c400 firmware All versions No fix listed
netapp a400 firmware All versions No fix listed
netapp 8700 firmware All versions No fix listed
netapp 8300 firmware All versions No fix listed
netapp a700s firmware All versions No fix listed
Siemens simatic s7-1500 tm mfp firmware < 1.1.1 1.1.1
Siemens SINEC NMS <= 2.0 No fix listed
Siemens SINEC NMS = 3.0 No fix listed
Siemens scalance wum766-1 firmware < 3.0.0 3.0.0
Siemens scalance wum763-1 firmware < 3.0.0 3.0.0
Siemens scalance wub762-1 ifeatures firmware < 3.0.0 3.0.0
Siemens scalance wub762-1 firmware < 3.0.0 3.0.0
Siemens scalance wam766-1 firmware < 3.0.0 3.0.0
Siemens scalance wam763-1 firmware < 3.0.0 3.0.0
Siemens scalance wab762-1 firmware < 3.0.0 3.0.0
Siemens SINEC INS < 1.0 1.0
Siemens SINEC INS = 1.0 No fix listed
Siemens SINEC INS = 1.0-sp1 No fix listed
Siemens SINEC INS = 1.0-sp2 No fix listed
Siemens SINEC INS = 1.0-sp2_update_1 No fix listed
Siemens SINEC INS = 1.0-sp2_update_2 No fix listed
netapp h615c firmware All versions No fix listed
alpine/openssl(Alpine:v3.17) >= 3.0.0, < 3.0.12-r3 3.0.12-r3
alpine/openssl(Alpine:v3.18) >= 3.1.0, < 3.1.4-r4 3.1.4-r4
alpine/openssl(Alpine:v3.19) >= 3.1.0, < 3.1.4-r4 3.1.4-r4
alpine/openssl(Alpine:v3.20) >= 3.1.0, < 3.1.4-r4 3.1.4-r4
alpine/openssl(Alpine:v3.21) >= 3.1.0, < 3.1.4-r4 3.1.4-r4
alpine/openssl(Alpine:v3.22) >= 3.1.0, < 3.1.4-r4 3.1.4-r4
alpine/openssl(Alpine:v3.23) >= 3.1.0, < 3.1.4-r4 3.1.4-r4
alpine/openssl(Alpine:v3.24) >= 3.1.0, < 3.1.4-r4 3.1.4-r4
ubuntu/openssl(Ubuntu:22.04) < 3.0.2-0ubuntu1.14 3.0.2-0ubuntu1.14
ubuntu/openssl(Ubuntu:22.04) = 1.1.1l-1ubuntu1 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 3.0.0-1ubuntu1 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 3.0.1-0ubuntu1 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 3.0.2-0ubuntu1 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 3.0.2-0ubuntu1.1 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 3.0.2-0ubuntu1.2 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 3.0.2-0ubuntu1.4 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 3.0.2-0ubuntu1.5 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 3.0.2-0ubuntu1.6 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 3.0.2-0ubuntu1.7 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 3.0.2-0ubuntu1.8 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 3.0.2-0ubuntu1.9 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 3.0.2-0ubuntu1.10 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 3.0.2-0ubuntu1.12 No fix listed
ubuntu/openssl(Ubuntu:22.04) = 3.0.2-0ubuntu1.13 No fix listed
ubuntu/openssl(Ubuntu:Pro:FIPS-preview:22.04) All versions No fix listed
ubuntu/openssl(Ubuntu:Pro:FIPS-preview:22.04) = 3.0.2-0ubuntu1.10+Fips1 No fix listed
ubuntu/openssl(Ubuntu:Pro:FIPS-preview:22.04) = 3.0.2-0ubuntu1.12+Fips1 No fix listed
ubuntu/openssl(Ubuntu:Pro:FIPS-updates:22.04) < 3.0.2-0ubuntu1.14+Fips1 3.0.2-0ubuntu1.14+Fips1
ubuntu/openssl(Ubuntu:Pro:FIPS-updates:22.04) = 3.0.2-0ubuntu1.10+Fips1 No fix listed
ubuntu/openssl(Ubuntu:Pro:FIPS-updates:22.04) = 3.0.2-0ubuntu1.12+Fips1 No fix listed
ubuntu/edk2(Ubuntu:24.04) = 2023.05-2 No fix listed
ubuntu/edk2(Ubuntu:24.04) = 2023.11-2 No fix listed
ubuntu/edk2(Ubuntu:24.04) = 2023.11-3 No fix listed
ubuntu/edk2(Ubuntu:24.04) = 2023.11-4 No fix listed
ubuntu/edk2(Ubuntu:24.04) = 2023.11-5 No fix listed
ubuntu/edk2(Ubuntu:24.04) = 2023.11-6 No fix listed
ubuntu/edk2(Ubuntu:24.04) = 2023.11-8 No fix listed
ubuntu/edk2(Ubuntu:24.04) = 2024.02-1 No fix listed
ubuntu/edk2(Ubuntu:24.04) = 2024.02-2 No fix listed
ubuntu/edk2(Ubuntu:24.04) = 2024.02-2ubuntu0.1 No fix listed
ubuntu/edk2(Ubuntu:24.04) = 2024.02-2ubuntu0.3 No fix listed
ubuntu/edk2(Ubuntu:24.04) = 2024.02-2ubuntu0.4 No fix listed
ubuntu/edk2(Ubuntu:24.04) = 2024.02-2ubuntu0.5 No fix listed
ubuntu/openssl(Ubuntu:24.04) = 3.0.10-1ubuntu2 No fix listed
ubuntu/openssl(Ubuntu:24.04) = 3.0.10-1ubuntu2.1 No fix listed
ubuntu/openssl(Ubuntu:24.04) = 3.0.10-1ubuntu3 No fix listed

References