libssl3t64: OpenSSL supports creating a custom cipher via the legacyEVP_CIPHER_meth_new() function and associated function calls
CVE-2022-3358 is fixed in 9 products on 1 platform, first by DEBIAN-CVE-2022-3358, released October 11, 2022. It is not reported as exploited. Patch Radar priority: High.
OpenSSL supports creating a custom cipher via the legacyEVP_CIPHER_meth_new() function and associated function calls. This functionwas deprecated in OpenSSL 3.0 and application authors are insteadencouraged to use the new provider mechanism in order to implement customciphers. OpenSSL versions 3.0.0 to 3.0.5 incorrectly handle legacy customciphers passed to the EVP_EncryptInit_ex2(), EVP_DecryptInit_ex2() andEVP_CipherInit_ex2() functions (as well as other similarly named encryptionand decryption initialisation functions). Instead of using the customcipher directly it incorrectly tries to fetch an equivalent cipher from theavailable providers. An equivalent cipher is found based on the NID passedto EVP_CIPHER_meth_new(). This NID is supposed to represent the unique NIDfor a given cipher. However it is possible for an application toincorrectly pass NID_undef as this value in the call toEVP_CIPHER_meth_new(). When NID_undef is used in this way the OpenSSLencryption/decryption initialisation function will match the NULL cipher asbeing equivalent and will fetch this from the available providers. Thiswill succeed if the default provider has been loaded (or if a third partyprovider has been loaded that offers this cipher). Using the NULL ciphermeans that the plaintext is emitted as the ciphertext. Applications areonly affected by this issue if they call EVP_CIPHER_meth_new() usingNID_undef and subsequently use it in a call to an encryption/decryptioninitialisation function. Applications that only use SSL/TLS are notimpacted by this issue. Fixed in OpenSSL 3.0.6 (Affected 3.0.0-3.0.5).
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| libssl3 · Ubuntu 22.04.1 LTS (jammy) | 3.0.2-0ubuntu1.7 | libssl3 3.0.2-0ubuntu1.7 | Oct 31, 2022 |
| libssl3t64 · Ubuntu 24.10 (oracular) | 3.0.5-2ubuntu2 | libssl3t64 3.0.5-2ubuntu2 | Nov 1, 2022 |
| libssl3t64 · Ubuntu 25.04 (plucky) | 3.0.5-2ubuntu2 | libssl3t64 3.0.5-2ubuntu2 | Nov 1, 2022 |
| openssl · Debian 12.15 (bookworm) | 3.0.7-1 | DEBIAN-CVE-2022-3358 | Oct 11, 2022 |
| openssl · Debian 13.5 (trixie) | 3.0.7-1 | DEBIAN-CVE-2022-3358 | Oct 11, 2022 |
| openssl · Debian 14 | 3.0.7-1 | DEBIAN-CVE-2022-3358 | Oct 11, 2022 |
| openssl · RHEL 9 | 1:3.0.7-6.el9_2 | RHSA-2023:2523 | May 9, 2023 |
| openssl · Ubuntu 22.04.1 LTS (jammy) | 3.0.2-0ubuntu1.7 | openssl 3.0.2-0ubuntu1.7 | Oct 31, 2022 |
| openssl · Ubuntu 24.10 (oracular) | 3.0.5-2ubuntu2 | openssl 3.0.5-2ubuntu2 | Nov 1, 2022 |
| openssl · Ubuntu 25.04 (plucky) | 3.0.5-2ubuntu2 | openssl 3.0.5-2ubuntu2 | Nov 1, 2022 |
| openssl · almalinux 9 | 1:3.0.7-6.el9_2 | ALSA-2023:2523 | May 9, 2023 |
| openssl · amzn 2023 | 1:3.0.8-1.amzn2023.0.1 | ALAS2023-2023-054 | Feb 17, 2023 |
| openssl · ol 9 | 1:3.0.7-6.0.1.el9_2 | ELSA-2023-2523 | May 15, 2023 |
| openssl-debuginfo · amzn 2023 | 1:3.0.8-1.amzn2023.0.1 | ALAS2023-2023-054 | Feb 17, 2023 |
| openssl-debugsource · amzn 2023 | 1:3.0.8-1.amzn2023.0.1 | ALAS2023-2023-054 | Feb 17, 2023 |
| openssl-devel · RHEL 9 | 1:3.0.7-6.el9_2 | RHSA-2023:2523 | May 9, 2023 |
| openssl-devel · almalinux 9 | 1:3.0.7-6.el9_2 | ALSA-2023:2523 | May 9, 2023 |
| openssl-devel · amzn 2023 | 1:3.0.8-1.amzn2023.0.1 | ALAS2023-2023-054 | Feb 17, 2023 |
| openssl-devel · ol 9 | 1:3.0.7-6.0.1.el9_2 | ELSA-2023-2523 | May 15, 2023 |
| openssl-libs · RHEL 9 | 1:3.0.7-6.el9_2 | RHSA-2023:2523 | May 9, 2023 |
| openssl-libs · almalinux 9 | 1:3.0.7-6.el9_2 | ALSA-2023:2523 | May 9, 2023 |
| openssl-libs · amzn 2023 | 1:3.0.8-1.amzn2023.0.1 | ALAS2023-2023-054 | Feb 17, 2023 |
| openssl-libs · ol 9 | 1:3.0.7-6.0.1.el9_2 | ELSA-2023-2523 | May 15, 2023 |
| openssl-libs-debuginfo · amzn 2023 | 1:3.0.8-1.amzn2023.0.1 | ALAS2023-2023-054 | Feb 17, 2023 |
| openssl-perl · RHEL 9 | 1:3.0.7-6.el9_2 | RHSA-2023:2523 | May 9, 2023 |
| openssl-perl · almalinux 9 | 1:3.0.7-6.el9_2 | ALSA-2023:2523 | May 9, 2023 |
| openssl-perl · amzn 2023 | 1:3.0.8-1.amzn2023.0.1 | ALAS2023-2023-054 | Feb 17, 2023 |
| openssl-perl · ol 9 | 1:3.0.7-6.0.1.el9_2 | ELSA-2023-2523 | May 15, 2023 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.