CVE-2023-5363
MySQL vulnerability analysis and mitigation

Overview

CVE-2023-5363 is a vulnerability in OpenSSL's processing of key and initialization vector (IV) lengths, discovered on September 21, 2023. The bug affects OpenSSL versions 3.0 and 3.1, potentially leading to truncation or overruns during the initialization of symmetric ciphers. The vulnerability was assigned a CVSS score of 7.5 (HIGH) (NVD, OpenSSL Advisory).

Technical details

The vulnerability occurs when calling EVPEncryptInitex2(), EVPDecryptInitex2() or EVPCipherInitex2() functions, where the OSSL_PARAM array is processed after key and IV establishment. This affects the following ciphers and modes: RC2, RC4, RC5, CCM, GCM, and OCB. The issue manifests when modifying key length ('keylen' parameter) or IV length ('ivlen' parameter), causing unintended truncation or overreading of values (OpenSSL Advisory).

Impact

The primary impact is potential loss of confidentiality for certain cipher modes, particularly CCM, GCM, and OCB. When following NIST's SP 800-38D section 8.2.1 guidance for constructing deterministic IV in AES-GCM mode, truncation of the counter portion could lead to IV reuse. Both key/IV truncations and overruns produce incorrect results and may trigger memory exceptions (OpenSSL Advisory).

Mitigation and workarounds

OpenSSL 3.0 users should upgrade to OpenSSL 3.0.12, while OpenSSL 3.1 users should upgrade to OpenSSL 3.1.4. The OpenSSL SSL/TLS implementation is not affected by this issue. Additionally, the OpenSSL 3.0 and 3.1 FIPS providers are not affected as the issue lies outside of the FIPS provider boundary (OpenSSL Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management