QID 355252

Date Published: 2023-05-29

QID 355252: Amazon Linux Security Advisory for Open Secure Sockets Layer (OpenSSL) : ALAS2023-2023-054

aes ocb mode for 32-bit x86 platforms using the aes-ni assembly optimized implementation will not encrypt the entirety of the data under some circumstances.
This could reveal sixteen bytes of data that was preexisting in the memory that wasnt written.
In the special case of "in place" encryption, sixteen bytes of the plaintext would be revealed. (
( CVE-2022-2097) openssl supports creating a custom cipher via the legacy evp_cipher_meth_new() function and associated function calls.
This function was deprecated in openssl 3.0 and application authors are instead encouraged to use the new provider mechanism in order to implement custom ciphers.
Openssl versions 3.0.0 to 3.0.5 incorrectly handle legacy custom ciphers passed to the evp_encryptinit_ex2(), evp_decryptinit_ex2() and evp_cipherinit_ex2() functions (as well as other similarly named encryption and decryption initialisation functions).
Instead of using the custom cipher directly it incorrectly tries to fetch an equivalent cipher from the available providers.
An equivalent cipher is found based on the nid passed to evp_cipher_meth_new().
This nid is supposed to represent the unique nid for a given cipher.
However it is possible for an application to incorrectly pass nid_undef as this value in the call to evp_cipher_meth_new().
When nid_undef is used in this way the openssl encryption/decryption initialisation function will match the null cipher as being equivalent and will fetch this from the available providers.
This will succeed if the default provider has been loaded (or if a third party provider has been loaded that offers this cipher).
Using the null cipher means that the plaintext is emitted as the ciphertext.

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 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2023-2023-054 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 355252

    Software Advisories
    Advisory ID Software Component Link
    ALAS2023-2023-054 amazon linux 2023 URL Logo alas.aws.amazon.com/AL2023/ALAS-2023-054.html
    © CVE.report 2026 |

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report