QID 356233

Date Published: 2023-09-28

QID 356233: Amazon Linux Security Advisory for openssl-snapsafe : ALASOPENSSL-SNAPSAFE-2023-002

a timing-based side channel exists in the openssl rsa decryption implementation, which could be sufficient to recover a ciphertext across a network in a bleichenbacher style attack.
To achieve a successful decryption, an attacker would have to be able to send a very large number of trial messages for decryption.
This issue affects all rsa padding modes: pkcs#1 v1.5, rsa-oeap, and rsasve. (
( CVE-2022-4304) a use-after-free vulnerability was found in openssls bio_new_ndef function.
The public api function bio_new_ndef is a helper function used for streaming asn.1 data via a bio.
It is primarily used internally by openssl to support the smime, cms, and pkcs7 streaming capabilities, but it may also be called directly by end-user applications.
The function receives a bio from the caller, prepends a new bio_f_asn1 filter bio onto the front of it to form a bio chain, and then returns the new head of the bio chain to the caller.
Under certain conditions.
For example, if a cms recipient public key is invalid, the new filter bio is freed, and the function returns a null result indicating a failure.
However, in this case, the bio chain is not properly cleaned up, and the bio passed by the caller still retains internal pointers to the previously freed filter bio.
If the caller then calls bio_pop() on the bio, a use-after-free will occur, possibly resulting in a crash. (
( CVE-2023-0215) a type confusion vulnerability was found in openssl when openssl x.400 addresses processing inside an x.509 generalname.
In most cases, the attack requires the attacker to provide both the certificate chain and crl, of which neither needs a valid signature.
( CVE-2023-2650)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

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: ALASOPENSSL-SNAPSAFE-2023-002 for affected packages and patching details, or update with your package manager.
    Vendor References
    Software Advisories
    Advisory ID Software Component Link
    ALASOPENSSL-SNAPSAFE-2023-002 amazon linux 2 URL Logo alas.aws.amazon.com/AL2/ALASOPENSSL-SNAPSAFE-2023-002.html