Executive Summary

Informations
Name CVE-2023-0215 First vendor Publication 2023-02-08
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:N/I:N/A:H
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 None
Integrity Impact None Availability Impact High
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

The public API function BIO_new_NDEF is a helper function used for streaming ASN.1 data via a BIO. It is primarily used internally to OpenSSL to support the SMIME, CMS and PKCS7 streaming capabilities, but may also be called directly by end user applications.

The function receives a BIO from the caller, prepends a new BIO_f_asn1 filter BIO onto the front of it to form a BIO chain, and then returns the new head of the BIO chain to the caller. Under certain conditions, for example if a CMS recipient public key is invalid, the new filter BIO is freed and the function returns a NULL result indicating a failure. However, in this case, the BIO chain is not properly cleaned up and the BIO passed by the caller still retains internal pointers to the previously freed filter BIO. If the caller then goes on to call BIO_pop() on the BIO then a use-after-free will occur. This will most likely result in a crash.

This scenario occurs directly in the internal function B64_write_ASN1() which may cause BIO_new_NDEF() to be called and will subsequently call BIO_pop() on the BIO. This internal function is in turn called by the public API functions PEM_write_bio_ASN1_stream, PEM_write_bio_CMS_stream, PEM_write_bio_PKCS7_stream, SMIME_write_ASN1, SMIME_write_CMS and SMIME_write_PKCS7.

Other public API functions that may be impacted by this include i2d_ASN1_bio_stream, BIO_new_CMS, BIO_new_PKCS7, i2d_CMS_bio_stream and i2d_PKCS7_bio_stream.

The OpenSSL cms and smime command line applications are similarly affected.

Original Source

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

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-416 Use After Free

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 425
Application 1

Sources (Detail)

https://security.gentoo.org/glsa/202402-08
Source Url
MISC https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=8818064ce3c3c0f1...
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=9816136fe31d92ac...
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=c3829dd8825c6546...
https://security.netapp.com/advisory/ntap-20230427-0007/
https://security.netapp.com/advisory/ntap-20230427-0009/
https://www.openssl.org/news/secadv/20230207.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
Date Informations
2024-02-04 13:28:04
  • Multiple Updates
2024-02-02 02:41:02
  • Multiple Updates
2024-02-01 12:28:38
  • Multiple Updates
2023-09-05 13:36:56
  • Multiple Updates
2023-09-05 01:28:00
  • Multiple Updates
2023-09-02 13:34:06
  • Multiple Updates
2023-09-02 01:28:26
  • Multiple Updates
2023-08-12 13:40:48
  • Multiple Updates
2023-08-12 01:27:43
  • Multiple Updates
2023-08-11 13:31:41
  • Multiple Updates
2023-08-11 01:28:34
  • Multiple Updates
2023-08-09 02:19:12
  • Multiple Updates
2023-08-06 13:29:11
  • Multiple Updates
2023-08-06 01:27:23
  • Multiple Updates
2023-08-04 13:29:38
  • Multiple Updates
2023-08-04 01:27:46
  • Multiple Updates
2023-07-19 09:27:30
  • Multiple Updates
2023-07-14 13:29:33
  • Multiple Updates
2023-07-14 01:27:27
  • Multiple Updates
2023-04-27 21:27:33
  • Multiple Updates
2023-03-29 02:29:20
  • Multiple Updates
2023-03-28 12:27:30
  • Multiple Updates
2023-02-24 21:27:25
  • Multiple Updates
2023-02-19 00:27:19
  • Multiple Updates
2023-02-09 17:27:17
  • Multiple Updates
2023-02-09 00:27:16
  • First insertion