Missing Cryptographic Step Affecting openssl package, versions >=3.0.0, <3.2.0
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RUBY-OPENSSL-6036190
- published 26 Oct 2023
- disclosed 24 Oct 2023
- credit Tony Battersby of Cybernetics
Introduced: 24 Oct 2023
CVE-2023-5363 Open this link in a new tabHow to fix?
Upgrade openssl
to version 3.2.0 or higher.
Overview
openssl is a package that wraps the OpenSSL library.
Affected versions of this package are vulnerable to Missing Cryptographic Step when the EVP_EncryptInit_ex2()
, EVP_DecryptInit_ex2()
or EVP_CipherInit_ex2()
functions are used. An attacker can cause truncation or overreading of key and initialization vector (IV) lengths by altering the "keylen" or "ivlen" parameters within the OSSL_PARAM
array after the key and IV have been established. This can lead to potential truncation or overruns during the initialization of some symmetric ciphers, such as RC2, RC4, RC5, CCM, GCM, and OCB. A truncation in the IV can result in non-uniqueness, which could result in loss of confidentiality for some cipher modes.
Both truncations and overruns of the key and the IV will produce incorrect results and could, in some cases, trigger a memory exception.