QID 355550

Date Published: 2023-07-03

QID 355550: Amazon Linux Security Advisory for Open Secure Sockets Layer (OpenSSL)11 : ALAS2-2023-2097

issue summary: processing some specially crafted asn.1 object identifiers or data containing them may be very slow. impact summary: applications that use obj_obj2txt() directly, or use any of the openssl subsystems ocsp, pkcs7/smime, cms, cmp/crmf or ts with no message size limit may experience notable to very long delays when processing those messages, which may lead to a denial of service. an object identifier is composed of a series of numbers - sub-identifiers - most of which have no size limit.
obj_obj2txt() may be used to translate an asn.1 object identifier given in der encoding form (using the openssl type asn1_object) to its canonical numeric text form, which are the sub-identifiers of the object identifier in decimal form, separated by periods. when one of the sub-identifiers in the object identifier is very large (these are sizes that are seen as absurdly large, taking up tens or hundreds of kibs), the translation to a decimal number in text may take a very long time.
the time complexity is o(n^2) with n being the size of the sub-identifiers in bytes (*). with openssl 3.0, support to fetch cryptographic algorithms using names / identifiers in string form was introduced.
this includes using object identifiers in canonical numeric text form as identifiers for fetching algorithms. such object identifiers may be received through the asn.1 structure algorithmidentifier, which is commonly used in multiple protocols to specify what cryptographic algorithm should be used to sign or verify, encrypt or decrypt, or digest passed data. applications that call obj_obj2txt() directly with untrusted data are affected, with any version of openssl.
( CVE-2023-2650)



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 High - 7.5 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2-2023-2097 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 355550

    Software Advisories
    Advisory ID Software Component Link
    ALAS2-2023-2097 amazon linux 2 URL Logo alas.aws.amazon.com/AL2/ALAS-2023-2097.html