5.3Medium

CVE-2024-4603Excessive time spent checking DSA keys and parameters

OpenSSL OpenSSL; openssl openssl Published: (2 years ago)

Description

Issue summary: Checking excessively long DSA keys or parameters may be very slow. Impact summary: Applications that use the functions EVP_PKEY_param_check() or EVP_PKEY_public_check() to check a DSA public key or DSA 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 functions EVP_PKEY_param_check() or EVP_PKEY_public_check() perform various checks on DSA parameters. Some of those computations take a long time if the modulus (`p` parameter) is too large. Trying to use a very large modulus is slow and OpenSSL will not allow using public keys with a modulus which is over 10,000 bits in length for signature verification. However the key and parameter check functions do not limit the modulus size when performing the checks. An application that calls EVP_PKEY_param_check() or EVP_PKEY_public_check() and supplies a key or parameters obtained from an untrusted source could be vulnerable to a Denial of Service attack. These functions are not called by OpenSSL itself on untrusted DSA keys so only applications that directly call these functions may be vulnerable. Also vulnerable are the OpenSSL pkey 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 affected by this issue.

Weakness (CWE): CWE-606CWE-834

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
netapp 500f firmware —
netapp 8300 firmware —
netapp 8700 firmware —
netapp a250 firmware —
netapp a400 firmware —
netapp a700s firmware —
netapp bootstrap os —
netapp brocade fabric operating system —
netapp c250 firmware —
netapp c400 firmware —
netapp h300s firmware —
netapp h410c firmware —
netapp h410s firmware —
netapp h500s firmware —
netapp h610c firmware —
netapp h610s firmware —
netapp h615c firmware —
netapp h700s firmware —
netapp management services for element software and netapp hci —
netapp ontap select deploy administration utility —
netapp snapmanager —
OpenSSL OpenSSL 3.0.0 – < 3.0.14, 3.1.0 – < 3.1.6, 3.2.0 – < 3.2.2, 3.3.0 – < 3.3.1

References and patches

CPE matches (NVD) (25)

  • cpe:2.3:o:netapp:c400_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:o:netapp:c250_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:o:netapp:h410c_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:o:netapp:h610c_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:o:netapp:h610s_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:o:netapp:h615c_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* ≥ 3.0.0 < 3.0.14
  • cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* ≥ 3.1.0 < 3.1.6
  • cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* ≥ 3.2.0 < 3.2.2
  • cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* ≥ 3.3.0 < 3.3.1
  • cpe:2.3:a:netapp:management_services_for_element_software_and_netapp_hci:-:*:*:*:*:*:*:*
  • cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*
  • cpe:2.3:a:netapp:snapmanager:-:*:*:*:*:hyper-v:*:*
  • cpe:2.3:o:netapp:brocade_fabric_operating_system:-:*:*:*:*:*:*:*
  • cpe:2.3:o:netapp:bootstrap_os:-:*:*:*:*:*:*:*
  • cpe:2.3:o:netapp:a700s_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:o:netapp:8300_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:o:netapp:8700_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:o:netapp:a400_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:o:netapp:a250_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:o:netapp:500f_firmware:-:*:*:*:*:*:*:*