Oval Definition:oval:org.opensuse.security:def:20230215
Revision Date:2023-06-22Version:1
Title:CVE-2023-0215
Description:

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.








Family:unixClass:vulnerability
Status:Reference(s):Mitre CVE-2023-0215
SUSE CVE-2023-0215
SUSE-CU-2023:295-1
SUSE-CU-2023:296-1
SUSE-CU-2023:297-1
SUSE-CU-2023:298-1
SUSE-CU-2023:299-1
SUSE-CU-2023:300-1
SUSE-CU-2023:301-1
SUSE-CU-2023:302-1
SUSE-CU-2023:303-1
SUSE-CU-2023:304-1
SUSE-CU-2023:305-1
SUSE-CU-2023:306-1
SUSE-CU-2023:307-1
SUSE-CU-2023:308-1
SUSE-CU-2023:309-1
SUSE-CU-2023:310-1
SUSE-CU-2023:311-1
SUSE-CU-2023:312-1
SUSE-CU-2023:313-1
SUSE-CU-2023:314-1
SUSE-CU-2023:315-1
SUSE-CU-2023:316-1
SUSE-CU-2023:317-1
SUSE-CU-2023:318-1
SUSE-CU-2023:319-1
SUSE-CU-2023:320-1
SUSE-CU-2023:321-1
SUSE-CU-2023:322-1
SUSE-CU-2023:323-1
SUSE-CU-2023:324-1
SUSE-CU-2023:325-1
SUSE-CU-2023:326-1
SUSE-CU-2023:327-1
SUSE-CU-2023:328-1
SUSE-CU-2023:330-1
SUSE-CU-2023:332-1
SUSE-CU-2023:334-1
SUSE-CU-2023:336-1
SUSE-CU-2023:338-1
SUSE-IU-2023:139-1
SUSE-IU-2023:141-1
SUSE-IU-2023:142-1
SUSE-SU-2023:0305-1
SUSE-SU-2023:0306-1
SUSE-SU-2023:0307-1
SUSE-SU-2023:0308-1
SUSE-SU-2023:0309-1
SUSE-SU-2023:0310-1
SUSE-SU-2023:0311-1
SUSE-SU-2023:0312-1
SUSE-CU-2023:1103-1
SUSE-CU-2023:1104-1
SUSE-CU-2023:1105-1
SUSE-CU-2023:373-1
SUSE-CU-2023:374-1
SUSE-CU-2023:496-1
SUSE-CU-2023:498-1
SUSE-CU-2023:499-1
SUSE-CU-2023:500-1
SUSE-CU-2023:501-1
SUSE-CU-2023:502-1
SUSE-CU-2023:503-1
SUSE-CU-2023:504-1
SUSE-CU-2023:505-1
SUSE-CU-2023:506-1
SUSE-CU-2023:507-1
SUSE-CU-2023:508-1
SUSE-CU-2023:509-1
SUSE-CU-2023:510-1
SUSE-CU-2023:511-1
SUSE-IU-2023:158-1
SUSE-IU-2023:159-1
SUSE-IU-2023:164-1
SUSE-SU-2023:0684-1
SUSE-CU-2023:1229-1
SUSE-CU-2023:1231-1
SUSE-CU-2023:1234-1
SUSE-CU-2023:1236-1
SUSE-CU-2023:1261-1
SUSE-CU-2023:1262-1
SUSE-CU-2023:1338-1
SUSE-CU-2023:1498-1
Platform(s):SUSE Linux Enterprise Desktop 15 SP5
SUSE Linux Enterprise High Performance Computing 15 SP5
SUSE Linux Enterprise Micro 5.3
SUSE Linux Enterprise Micro 5.4
SUSE Linux Enterprise Module for Basesystem 15 SP5
SUSE Linux Enterprise Module for Legacy 15 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server for SAP Applications 15 SP5
Product(s):
Definition Synopsis
  • SUSE Linux Enterprise Micro 5.3 is installed
  • AND Package Information
  • libopenssl-1_1-devel-1.1.1l-150400.7.22.1 is installed
  • OR libopenssl1_1-1.1.1l-150400.7.22.1 is installed
  • OR libopenssl1_1-hmac-1.1.1l-150400.7.22.1 is installed
  • OR openssl-1_1-1.1.1l-150400.7.22.1 is installed
  • OR openssl is not affected
  • Definition Synopsis
  • SUSE Linux Enterprise Micro 5.4 is installed
  • AND openssl is not affected
  • Definition Synopsis
  • Release Information
  • SUSE Linux Enterprise Desktop 15 SP5 is installed
  • OR SUSE Linux Enterprise High Performance Computing 15 SP5 is installed
  • OR SUSE Linux Enterprise Module for Basesystem 15 SP5 is installed
  • OR SUSE Linux Enterprise Server 15 SP5 is installed
  • OR SUSE Linux Enterprise Server for SAP Applications 15 SP5 is installed
  • AND
  • libopenssl-1_1-devel-1.1.1l-150500.15.4 is installed
  • OR libopenssl-3-devel-3.0.8-150500.3.1 is installed
  • OR libopenssl1_1-1.1.1l-150500.15.4 is installed
  • OR libopenssl1_1-32bit-1.1.1l-150500.15.4 is installed
  • OR libopenssl1_1-hmac-1.1.1l-150500.15.4 is installed
  • OR libopenssl1_1-hmac-32bit-1.1.1l-150500.15.4 is installed
  • OR libopenssl3-3.0.8-150500.3.1 is installed
  • OR openssl-1_1-1.1.1l-150500.15.4 is installed
  • OR openssl-3-3.0.8-150500.3.1 is installed
  • OR libopenssl-devel is not affected
  • OR openssl is not affected
  • OR Package Information
  • SUSE Linux Enterprise High Performance Computing 15 SP5 is installed
  • OR SUSE Linux Enterprise Module for Legacy 15 SP5 is installed
  • OR SUSE Linux Enterprise Server 15 SP5 is installed
  • OR SUSE Linux Enterprise Server for SAP Applications 15 SP5 is installed
  • AND
  • libopenssl-1_0_0-devel-1.0.2p-150000.3.73.1 is installed
  • OR libopenssl10-1.0.2p-150000.3.73.1 is installed
  • OR libopenssl1_0_0-1.0.2p-150000.3.73.1 is installed
  • OR libopenssl1_0_0-hmac-1.0.2p-150000.3.73.1 is installed
  • OR openssl-1_0_0-1.0.2p-150000.3.73.1 is installed
  • BACK