<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
  <DocumentTitle xml:lang="en">Security update for openssl-3</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE-SU-2022:3843-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2022-11-01T16:40:22Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2022-11-01T16:40:22Z</InitialReleaseDate>
    <CurrentReleaseDate>2022-11-01T16:40:22Z</CurrentReleaseDate>
    <Generator>
      <Engine>cve-database/bin/generate-cvrf.pl</Engine>
      <Date>2017-02-24T01:00:00Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">Security update for openssl-3</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for openssl-3 fixes the following issues:

- CVE-2022-3358: Fixed vulnerability where a custom cipher passed to EVP_CipherInit() could lead into NULL encryption being unexpectedly used (bsc#1204226).
- CVE-2022-3602: Fixed a buffer overflow in the X.509 email address. (bsc#1204714)
- CVE-2022-3786: Fixed another buffer overflow related to X.509 email address. (bsc#1204714)
</Note>
    <Note Title="Terms of Use" Type="Legal Disclaimer" Ordinal="3" xml:lang="en">The CVRF data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).</Note>
    <Note Title="Patchnames" Type="Details" Ordinal="4" xml:lang="en">SUSE-2022-3843,SUSE-SLE-Module-Basesystem-15-SP4-2022-3843,openSUSE-SLE-15.4-2022-3843</Note>
  </DocumentNotes>
  <DocumentDistribution xml:lang="en">Copyright SUSE LLC under the Creative Commons License 4.0 with Attribution (CC-BY-4.0)</DocumentDistribution>
  <DocumentReferences>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/update/announcement/2022/suse-su-20223843-1/</URL>
      <Description>Link for SUSE-SU-2022:3843-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2022-November/012796.html</URL>
      <Description>E-Mail link for SUSE-SU-2022:3843-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1204226</URL>
      <Description>SUSE Bug 1204226</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1204714</URL>
      <Description>SUSE Bug 1204714</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2022-3358/</URL>
      <Description>SUSE CVE CVE-2022-3358 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2022-3602/</URL>
      <Description>SUSE CVE CVE-2022-3602 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2022-3786/</URL>
      <Description>SUSE CVE CVE-2022-3786 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Module for Basesystem 15 SP4">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Module for Basesystem 15 SP4">
        <FullProductName ProductID="SUSE Linux Enterprise Module for Basesystem 15 SP4" CPE="cpe:/o:suse:sle-module-basesystem:15:sp4">SUSE Linux Enterprise Module for Basesystem 15 SP4</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="openSUSE Leap 15.4">
      <Branch Type="Product Name" Name="openSUSE Leap 15.4">
        <FullProductName ProductID="openSUSE Leap 15.4" CPE="cpe:/o:opensuse:leap:15.4">openSUSE Leap 15.4</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libopenssl-3-devel-3.0.1-150400.4.11.1">
      <FullProductName ProductID="libopenssl-3-devel-3.0.1-150400.4.11.1">libopenssl-3-devel-3.0.1-150400.4.11.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libopenssl-3-devel-32bit-3.0.1-150400.4.11.1">
      <FullProductName ProductID="libopenssl-3-devel-32bit-3.0.1-150400.4.11.1">libopenssl-3-devel-32bit-3.0.1-150400.4.11.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libopenssl-3-devel-64bit-3.0.1-150400.4.11.1">
      <FullProductName ProductID="libopenssl-3-devel-64bit-3.0.1-150400.4.11.1">libopenssl-3-devel-64bit-3.0.1-150400.4.11.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libopenssl3-3.0.1-150400.4.11.1">
      <FullProductName ProductID="libopenssl3-3.0.1-150400.4.11.1">libopenssl3-3.0.1-150400.4.11.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libopenssl3-32bit-3.0.1-150400.4.11.1">
      <FullProductName ProductID="libopenssl3-32bit-3.0.1-150400.4.11.1">libopenssl3-32bit-3.0.1-150400.4.11.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libopenssl3-64bit-3.0.1-150400.4.11.1">
      <FullProductName ProductID="libopenssl3-64bit-3.0.1-150400.4.11.1">libopenssl3-64bit-3.0.1-150400.4.11.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="openssl-3-3.0.1-150400.4.11.1">
      <FullProductName ProductID="openssl-3-3.0.1-150400.4.11.1">openssl-3-3.0.1-150400.4.11.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="openssl-3-doc-3.0.1-150400.4.11.1">
      <FullProductName ProductID="openssl-3-doc-3.0.1-150400.4.11.1">openssl-3-doc-3.0.1-150400.4.11.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libopenssl-3-devel-3.0.1-150400.4.11.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Basesystem 15 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Basesystem 15 SP4:libopenssl-3-devel-3.0.1-150400.4.11.1">libopenssl-3-devel-3.0.1-150400.4.11.1 as a component of SUSE Linux Enterprise Module for Basesystem 15 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="libopenssl3-3.0.1-150400.4.11.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Basesystem 15 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Basesystem 15 SP4:libopenssl3-3.0.1-150400.4.11.1">libopenssl3-3.0.1-150400.4.11.1 as a component of SUSE Linux Enterprise Module for Basesystem 15 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="openssl-3-3.0.1-150400.4.11.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Basesystem 15 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Basesystem 15 SP4:openssl-3-3.0.1-150400.4.11.1">openssl-3-3.0.1-150400.4.11.1 as a component of SUSE Linux Enterprise Module for Basesystem 15 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="libopenssl-3-devel-3.0.1-150400.4.11.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:libopenssl-3-devel-3.0.1-150400.4.11.1">libopenssl-3-devel-3.0.1-150400.4.11.1 as a component of openSUSE Leap 15.4</FullProductName>
    </Relationship>
    <Relationship ProductReference="libopenssl-3-devel-32bit-3.0.1-150400.4.11.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:libopenssl-3-devel-32bit-3.0.1-150400.4.11.1">libopenssl-3-devel-32bit-3.0.1-150400.4.11.1 as a component of openSUSE Leap 15.4</FullProductName>
    </Relationship>
    <Relationship ProductReference="libopenssl3-3.0.1-150400.4.11.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:libopenssl3-3.0.1-150400.4.11.1">libopenssl3-3.0.1-150400.4.11.1 as a component of openSUSE Leap 15.4</FullProductName>
    </Relationship>
    <Relationship ProductReference="libopenssl3-32bit-3.0.1-150400.4.11.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:libopenssl3-32bit-3.0.1-150400.4.11.1">libopenssl3-32bit-3.0.1-150400.4.11.1 as a component of openSUSE Leap 15.4</FullProductName>
    </Relationship>
    <Relationship ProductReference="openssl-3-3.0.1-150400.4.11.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:openssl-3-3.0.1-150400.4.11.1">openssl-3-3.0.1-150400.4.11.1 as a component of openSUSE Leap 15.4</FullProductName>
    </Relationship>
    <Relationship ProductReference="openssl-3-doc-3.0.1-150400.4.11.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:openssl-3-doc-3.0.1-150400.4.11.1">openssl-3-doc-3.0.1-150400.4.11.1 as a component of openSUSE Leap 15.4</FullProductName>
    </Relationship>
  </ProductTree>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="1">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">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).</Note>
    </Notes>
    <CVE>CVE-2022-3358</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15 SP4:libopenssl-3-devel-3.0.1-150400.4.11.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15 SP4:libopenssl3-3.0.1-150400.4.11.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15 SP4:openssl-3-3.0.1-150400.4.11.1</ProductID>
        <ProductID>openSUSE Leap 15.4:libopenssl-3-devel-3.0.1-150400.4.11.1</ProductID>
        <ProductID>openSUSE Leap 15.4:libopenssl-3-devel-32bit-3.0.1-150400.4.11.1</ProductID>
        <ProductID>openSUSE Leap 15.4:libopenssl3-3.0.1-150400.4.11.1</ProductID>
        <ProductID>openSUSE Leap 15.4:libopenssl3-32bit-3.0.1-150400.4.11.1</ProductID>
        <ProductID>openSUSE Leap 15.4:openssl-3-3.0.1-150400.4.11.1</ProductID>
        <ProductID>openSUSE Leap 15.4:openssl-3-doc-3.0.1-150400.4.11.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>critical</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2022/suse-su-20223843-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2022-3358.html</URL>
        <Description>CVE-2022-3358</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1204226</URL>
        <Description>SUSE Bug 1204226</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="2">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">A buffer overrun can be triggered in X.509 certificate verification, specifically in name constraint checking. Note that this occurs after certificate chain signature verification and requires either a CA to have signed the malicious certificate or for the application to continue certificate verification despite failure to construct a path to a trusted issuer. An attacker can craft a malicious email address to overflow four attacker-controlled bytes on the stack. This buffer overflow could result in a crash (causing a denial of service) or potentially remote code execution. Many platforms implement stack overflow protections which would mitigate against the risk of remote code execution. The risk may be further mitigated based on stack layout for any given platform/compiler. Pre-announcements of CVE-2022-3602 described this issue as CRITICAL. Further analysis based on some of the mitigating factors described above have led this to be downgraded to HIGH. Users are still encouraged to upgrade to a new version as soon as possible. In a TLS client, this can be triggered by connecting to a malicious server. In a TLS server, this can be triggered if the server requests client authentication and a malicious client connects. Fixed in OpenSSL 3.0.7 (Affected 3.0.0,3.0.1,3.0.2,3.0.3,3.0.4,3.0.5,3.0.6).</Note>
    </Notes>
    <CVE>CVE-2022-3602</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15 SP4:libopenssl-3-devel-3.0.1-150400.4.11.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15 SP4:libopenssl3-3.0.1-150400.4.11.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15 SP4:openssl-3-3.0.1-150400.4.11.1</ProductID>
        <ProductID>openSUSE Leap 15.4:libopenssl-3-devel-3.0.1-150400.4.11.1</ProductID>
        <ProductID>openSUSE Leap 15.4:libopenssl-3-devel-32bit-3.0.1-150400.4.11.1</ProductID>
        <ProductID>openSUSE Leap 15.4:libopenssl3-3.0.1-150400.4.11.1</ProductID>
        <ProductID>openSUSE Leap 15.4:libopenssl3-32bit-3.0.1-150400.4.11.1</ProductID>
        <ProductID>openSUSE Leap 15.4:openssl-3-3.0.1-150400.4.11.1</ProductID>
        <ProductID>openSUSE Leap 15.4:openssl-3-doc-3.0.1-150400.4.11.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>critical</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2022/suse-su-20223843-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2022-3602.html</URL>
        <Description>CVE-2022-3602</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1204714</URL>
        <Description>SUSE Bug 1204714</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="3">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">A buffer overrun can be triggered in X.509 certificate verification, specifically in name constraint checking. Note that this occurs after certificate chain signature verification and requires either a CA to have signed a malicious certificate or for an application to continue certificate verification despite failure to construct a path to a trusted issuer. An attacker can craft a malicious email address in a certificate to overflow an arbitrary number of bytes containing the `.' character (decimal 46) on the stack. This buffer overflow could result in a crash (causing a denial of service). In a TLS client, this can be triggered by connecting to a malicious server. In a TLS server, this can be triggered if the server requests client authentication and a malicious client connects.</Note>
    </Notes>
    <CVE>CVE-2022-3786</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15 SP4:libopenssl-3-devel-3.0.1-150400.4.11.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15 SP4:libopenssl3-3.0.1-150400.4.11.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15 SP4:openssl-3-3.0.1-150400.4.11.1</ProductID>
        <ProductID>openSUSE Leap 15.4:libopenssl-3-devel-3.0.1-150400.4.11.1</ProductID>
        <ProductID>openSUSE Leap 15.4:libopenssl-3-devel-32bit-3.0.1-150400.4.11.1</ProductID>
        <ProductID>openSUSE Leap 15.4:libopenssl3-3.0.1-150400.4.11.1</ProductID>
        <ProductID>openSUSE Leap 15.4:libopenssl3-32bit-3.0.1-150400.4.11.1</ProductID>
        <ProductID>openSUSE Leap 15.4:openssl-3-3.0.1-150400.4.11.1</ProductID>
        <ProductID>openSUSE Leap 15.4:openssl-3-doc-3.0.1-150400.4.11.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>critical</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2022/suse-su-20223843-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2022-3786.html</URL>
        <Description>CVE-2022-3786</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
