CVE-2022-3358
Rust vulnerability analysis and mitigation

Overview

OpenSSL versions 3.0.0 to 3.0.5 contain a vulnerability (CVE-2022-3358) related to incorrect handling of legacy custom ciphers. The vulnerability was discovered on August 9, 2022, by Chris Rapier of the Pittsburgh Supercomputing Center and was publicly disclosed on October 11, 2022. The issue affects applications that use the legacy EVP_CIPHER_meth_new() function with NID_undef parameter in OpenSSL 3.0.0-3.0.5, while OpenSSL 1.1.1 and 1.0.2 are not affected (OpenSSL Advisory).

Technical details

The vulnerability occurs when applications use the deprecated EVP_CIPHER_meth_new() function with NID_undef parameter in encryption/decryption initialization functions (EVP_EncryptInit_ex2(), EVP_DecryptInit_ex2(), and EVP_CipherInit_ex2()). Instead of using the custom cipher directly, OpenSSL incorrectly attempts to fetch an equivalent cipher based on the NID, resulting in the use of a NULL cipher that outputs plaintext as ciphertext. The vulnerability has been assigned a severity rating of Low by OpenSSL (OpenSSL Advisory).

Impact

When successfully exploited, this vulnerability could lead to disclosure of sensitive information as the NULL cipher causes plaintext to be output as ciphertext. However, the impact is limited to applications that specifically call EVP_CIPHER_meth_new() using NID_undef and subsequently use it in encryption/decryption initialization functions. Applications that only use SSL/TLS are not impacted by this issue (OpenSSL Advisory, NetApp Advisory).

Exploitability

The vulnerability has been assigned a CVSS score of 7.5 (HIGH) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, indicating it can be exploited remotely with low attack complexity and requires no privileges or user interaction (NetApp Advisory).

Mitigation and workarounds

OpenSSL 3.0 users should upgrade to OpenSSL 3.0.6 or later to address this vulnerability. Application authors are encouraged to use the new provider mechanism instead of the legacy EVP_CIPHER_meth_new() function for implementing custom ciphers. No workarounds are available for this vulnerability (OpenSSL Advisory).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-53530HIGH8.7
  • Rust logoRust
  • ratex-parser
NoYesAug 21, 2026
CVE-2026-53531MEDIUM6.9
  • Rust logoRust
  • ratex-parser
NoYesAug 21, 2026
GHSA-mc9m-6fm9-pghcMEDIUM6.9
  • Python logoPython
  • zoo-kcl
NoYesAug 20, 2026
GHSA-jgvr-6x5w-hx5wMEDIUM6.9
  • Python logoPython
  • kcl-lib
NoYesAug 20, 2026
CVE-2026-54136MEDIUM5.1
  • Rust logoRust
  • windmill-api
NoYesAug 20, 2026

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