Executive Summary

Informations
Name CVE-2022-3358 First vendor Publication 2022-10-11
Vendor Cve Last vendor Modification 2024-02-04

Security-Database Scoring CVSS v3

Cvss vector : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Overall CVSS Score 7.5
Base Score 7.5 Environmental Score 7.5
impact SubScore 3.6 Temporal Score 7.5
Exploitabality Sub Score 3.9
 
Attack Vector Network Attack Complexity Low
Privileges Required None User Interaction None
Scope Unchanged Confidentiality Impact High
Integrity Impact None Availability Impact None
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector :
Cvss Base Score N/A Attack Range N/A
Cvss Impact Score N/A Attack Complexity N/A
Cvss Expoit Score N/A Authentication N/A
Calculate full CVSS 2.0 Vectors scores

Detail

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).

Original Source

Url : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3358

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-476 NULL Pointer Dereference

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 424

Sources (Detail)

https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=5485c56679d7...
https://security.gentoo.org/glsa/202402-08
Source Url
CONFIRM https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0023
https://security.netapp.com/advisory/ntap-20221028-0014/
https://www.openssl.org/news/secadv/20221011.txt

Alert History

If you want to see full details history, please login or register.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Date Informations
2024-03-01 13:25:11
  • Multiple Updates
2024-02-04 13:28:04
  • Multiple Updates
2024-02-02 02:36:59
  • Multiple Updates
2024-02-01 12:27:24
  • Multiple Updates
2023-11-07 21:31:28
  • Multiple Updates
2023-09-05 13:31:32
  • Multiple Updates
2023-09-05 01:26:50
  • Multiple Updates
2023-09-02 13:29:44
  • Multiple Updates
2023-09-02 01:27:14
  • Multiple Updates
2023-08-12 13:36:30
  • Multiple Updates
2023-08-12 01:26:32
  • Multiple Updates
2023-08-11 13:27:36
  • Multiple Updates
2023-08-11 01:27:22
  • Multiple Updates
2023-08-09 02:15:54
  • Multiple Updates
2023-08-06 13:25:26
  • Multiple Updates
2023-08-06 01:26:15
  • Multiple Updates
2023-08-04 13:25:50
  • Multiple Updates
2023-08-04 01:26:36
  • Multiple Updates
2023-07-14 13:25:50
  • Multiple Updates
2023-07-14 01:26:21
  • Multiple Updates
2023-03-29 02:26:28
  • Multiple Updates
2023-03-28 12:26:24
  • Multiple Updates
2022-12-14 00:27:35
  • Multiple Updates
2022-11-02 09:27:25
  • Multiple Updates
2022-10-28 21:27:26
  • Multiple Updates
2022-10-13 21:27:14
  • Multiple Updates
2022-10-11 21:27:11
  • First insertion