QID 356356

Date Published: 2023-10-18

QID 356356: Amazon Linux Security Advisory for Open Secure Sockets Layer (OpenSSL) : ALAS-2023-1843

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. (
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.
( CVE-2023-3817)



Note: The preceding description block is extracted directly from the security advisory.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Medium - 5.3 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS-2023-1843 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 356356

    Software Advisories
    Advisory ID Software Component Link
    ALAS-2023-1843 amazon linux URL Logo alas.aws.amazon.com/ALAS-2023-1843.html