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. Applications are only affected by this issue if they call EVP_CIPHER_meth_new() using NID_undef and subsequently use it in a call to an encryption/decryption initialisation function. Applications that only use SSL/TLS are not impacted by this issue. Fixed in OpenSSL 3.0.6 (Affected 3.0.0-3.0.5).
CVSS Details
- CVSS 3.1 Base Score: 7.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade openssl-perlUpgrade opensslUpgrade openssl-libsUpgrade openssl-devel | May 15, 2023 | Oct 11, 2022 |
| Alpine Linux | — | Upgrade opensslUpgrade openssl3 | Aug 22, 2024 | Oct 11, 2022 |
| Amazon_linux_2023 | — | Upgrade openssl-perlUpgrade openssl-libs-debuginfoUpgrade opensslUpgrade openssl-debuginfoUpgrade openssl-debugsourceUpgrade openssl-libsUpgrade openssl-devel | Feb 17, 2025 | Oct 11, 2022 |
| Centos_linux | — | Upgrade openssl-libs-debuginfoUpgrade openssl-develUpgrade opensslUpgrade openssl-perlUpgrade openssl-debuginfoUpgrade openssl-debugsourceUpgrade openssl-libs | May 15, 2023 | Oct 11, 2022 |
| Debian | — | Upgrade openssl | Jul 30, 2024 | Oct 11, 2022 |
| Freebsd | — | Upgrade openssl-devel | Nov 4, 2022 | Oct 18, 2022 |
| Gentoo Linux | — | Upgrade dev-libs/openssl. | Feb 5, 2024 | Oct 11, 2022 |
| Http Openssl | — | Upgrade to the latest version of OpenSSL | Oct 12, 2022 | Oct 11, 2022 |
| Ibm Aix | — | Apply the fix or workaround for openssl_advisory37 | Jul 27, 2023 | Oct 11, 2022 |
| Oracle_linux | — | Upgrade opensslUpgrade openssl-perlUpgrade openssl-libsUpgrade openssl-devel | May 17, 2023 | Oct 11, 2022 |
| Redhat_linux | — | Upgrade openssl-debuginfoNo solution existsUpgrade openssl-develUpgrade openssl-debugsourceUpgrade openssl-perlUpgrade opensslUpgrade openssl-libsUpgrade openssl-libs-debuginfo | May 15, 2023 | Oct 11, 2022 |
| Suse | — | Upgrade libopenssl-3-develUpgrade openssl-3Upgrade libopenssl-3-devel-32bitUpgrade openssl-3-docUpgrade libopenssl3Upgrade libopenssl3-32bit | Nov 2, 2022 | Oct 11, 2022 |
| Ubuntu | — | Upgrade libssl3 | Nov 2, 2022 | Oct 11, 2022 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Oct 11, 2022 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub