CVE Catalog

CVE-2023-5363

High
Published: Translated: NVD NIST

Summary

A bug has been identified in the processing of key and initialisation vector (IV) lengths, which can lead to potential truncation or overruns during the initialisation of some symmetric ciphers.

Risk Assessment

A truncation in the IV can result in non-uniqueness, which could lead to loss of confidentiality for some cipher modes.

Recommendation

It is recommended to review and update cipher implementations to ensure that key and IV lengths are correctly processed before use.

Related vulnerabilities

Original NVD description (English source)

Issue summary: A bug has been identified in the processing of key and initialisation vector (IV) lengths. This can lead to potential truncation or overruns during the initialisation of some symmetric ciphers. Impact summary: A truncation in the IV can result in non-uniqueness, which could result in loss of confidentiality for some cipher modes. When calling EVP_EncryptInit_ex2(), EVP_DecryptInit_ex2() or EVP_CipherInit_ex2() the provided OSSL_PARAM array is processed after the key and IV have been established. Any alterations to the key length, via the "keylen" parameter or the IV length, via the "ivlen" parameter, within the OSSL_PARAM array will not take effect as intended, potentially causing truncation or overreading of these values. The following ciphers and cipher modes are impacted: RC2, RC4, RC5, CCM, GCM and OCB. For the CCM, GCM and OCB cipher modes, truncation of the IV can result in loss of confidentiality. For example, when following NIST's SP 800-38D section 8.2.1

Vulnerability data from NVD (NIST) · CISA KEV · EPSS