<?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-2023:4635-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2023-12-02T11:57:22Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2023-12-02T11:57:22Z</InitialReleaseDate>
    <CurrentReleaseDate>2023-12-02T11:57: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-2023-5678: Fixed generating and checking of excessively long X9.42 DH keys that resulted in a possible Denial of Service (bsc#1216922).

Bug fixes:

- The default /etc/ssl/openssl3.cnf file will include any configuration
  files that other packages might place into /etc/ssl/engines3.d/ and
  /etc/ssl/engdef3.d/.
- Create the two new necessary directores for the above
  patch. [bsc#1194187, bsc#1207472]
</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">Container suse/ltss/sle15.5/sle15:latest-2023-4635,SUSE-2023-4635,SUSE-SLE-Module-Basesystem-15-SP5-2023-4635,openSUSE-SLE-15.5-2023-4635</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/2023/suse-su-20234635-1/</URL>
      <Description>Link for SUSE-SU-2023:4635-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-updates/2023-December/033009.html</URL>
      <Description>E-Mail link for SUSE-SU-2023:4635-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/1194187</URL>
      <Description>SUSE Bug 1194187</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1207472</URL>
      <Description>SUSE Bug 1207472</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1216922</URL>
      <Description>SUSE Bug 1216922</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2023-5678/</URL>
      <Description>SUSE CVE CVE-2023-5678 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="Container suse/ltss/sle15.5/sle15:latest">
      <Branch Type="Product Name" Name="Container suse/ltss/sle15.5/sle15:latest">
        <FullProductName ProductID="Container suse/ltss/sle15.5/sle15:latest">Container suse/ltss/sle15.5/sle15:latest</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Module for Basesystem 15 SP5">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Module for Basesystem 15 SP5">
        <FullProductName ProductID="SUSE Linux Enterprise Module for Basesystem 15 SP5" CPE="cpe:/o:suse:sle-module-basesystem:15:sp5">SUSE Linux Enterprise Module for Basesystem 15 SP5</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="openSUSE Leap 15.5">
      <Branch Type="Product Name" Name="openSUSE Leap 15.5">
        <FullProductName ProductID="openSUSE Leap 15.5" CPE="cpe:/o:opensuse:leap:15.5">openSUSE Leap 15.5</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libopenssl3-3.0.8-150500.5.19.1">
      <FullProductName ProductID="libopenssl3-3.0.8-150500.5.19.1">libopenssl3-3.0.8-150500.5.19.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="openssl-3-3.0.8-150500.5.19.1">
      <FullProductName ProductID="openssl-3-3.0.8-150500.5.19.1">openssl-3-3.0.8-150500.5.19.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libopenssl-3-devel-3.0.8-150500.5.19.1">
      <FullProductName ProductID="libopenssl-3-devel-3.0.8-150500.5.19.1">libopenssl-3-devel-3.0.8-150500.5.19.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libopenssl-3-devel-32bit-3.0.8-150500.5.19.1">
      <FullProductName ProductID="libopenssl-3-devel-32bit-3.0.8-150500.5.19.1">libopenssl-3-devel-32bit-3.0.8-150500.5.19.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libopenssl-3-devel-64bit-3.0.8-150500.5.19.1">
      <FullProductName ProductID="libopenssl-3-devel-64bit-3.0.8-150500.5.19.1">libopenssl-3-devel-64bit-3.0.8-150500.5.19.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libopenssl3-32bit-3.0.8-150500.5.19.1">
      <FullProductName ProductID="libopenssl3-32bit-3.0.8-150500.5.19.1">libopenssl3-32bit-3.0.8-150500.5.19.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libopenssl3-64bit-3.0.8-150500.5.19.1">
      <FullProductName ProductID="libopenssl3-64bit-3.0.8-150500.5.19.1">libopenssl3-64bit-3.0.8-150500.5.19.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="openssl-3-doc-3.0.8-150500.5.19.1">
      <FullProductName ProductID="openssl-3-doc-3.0.8-150500.5.19.1">openssl-3-doc-3.0.8-150500.5.19.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libopenssl3-3.0.8-150500.5.19.1" RelationType="Default Component Of" RelatesToProductReference="Container suse/ltss/sle15.5/sle15:latest">
      <FullProductName ProductID="Container suse/ltss/sle15.5/sle15:latest:libopenssl3-3.0.8-150500.5.19.1">libopenssl3-3.0.8-150500.5.19.1 as a component of Container suse/ltss/sle15.5/sle15:latest</FullProductName>
    </Relationship>
    <Relationship ProductReference="openssl-3-3.0.8-150500.5.19.1" RelationType="Default Component Of" RelatesToProductReference="Container suse/ltss/sle15.5/sle15:latest">
      <FullProductName ProductID="Container suse/ltss/sle15.5/sle15:latest:openssl-3-3.0.8-150500.5.19.1">openssl-3-3.0.8-150500.5.19.1 as a component of Container suse/ltss/sle15.5/sle15:latest</FullProductName>
    </Relationship>
    <Relationship ProductReference="libopenssl-3-devel-3.0.8-150500.5.19.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Basesystem 15 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Basesystem 15 SP5:libopenssl-3-devel-3.0.8-150500.5.19.1">libopenssl-3-devel-3.0.8-150500.5.19.1 as a component of SUSE Linux Enterprise Module for Basesystem 15 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="libopenssl3-3.0.8-150500.5.19.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Basesystem 15 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Basesystem 15 SP5:libopenssl3-3.0.8-150500.5.19.1">libopenssl3-3.0.8-150500.5.19.1 as a component of SUSE Linux Enterprise Module for Basesystem 15 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="openssl-3-3.0.8-150500.5.19.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Basesystem 15 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Basesystem 15 SP5:openssl-3-3.0.8-150500.5.19.1">openssl-3-3.0.8-150500.5.19.1 as a component of SUSE Linux Enterprise Module for Basesystem 15 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="libopenssl-3-devel-3.0.8-150500.5.19.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.5">
      <FullProductName ProductID="openSUSE Leap 15.5:libopenssl-3-devel-3.0.8-150500.5.19.1">libopenssl-3-devel-3.0.8-150500.5.19.1 as a component of openSUSE Leap 15.5</FullProductName>
    </Relationship>
    <Relationship ProductReference="libopenssl-3-devel-32bit-3.0.8-150500.5.19.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.5">
      <FullProductName ProductID="openSUSE Leap 15.5:libopenssl-3-devel-32bit-3.0.8-150500.5.19.1">libopenssl-3-devel-32bit-3.0.8-150500.5.19.1 as a component of openSUSE Leap 15.5</FullProductName>
    </Relationship>
    <Relationship ProductReference="libopenssl3-3.0.8-150500.5.19.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.5">
      <FullProductName ProductID="openSUSE Leap 15.5:libopenssl3-3.0.8-150500.5.19.1">libopenssl3-3.0.8-150500.5.19.1 as a component of openSUSE Leap 15.5</FullProductName>
    </Relationship>
    <Relationship ProductReference="libopenssl3-32bit-3.0.8-150500.5.19.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.5">
      <FullProductName ProductID="openSUSE Leap 15.5:libopenssl3-32bit-3.0.8-150500.5.19.1">libopenssl3-32bit-3.0.8-150500.5.19.1 as a component of openSUSE Leap 15.5</FullProductName>
    </Relationship>
    <Relationship ProductReference="openssl-3-3.0.8-150500.5.19.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.5">
      <FullProductName ProductID="openSUSE Leap 15.5:openssl-3-3.0.8-150500.5.19.1">openssl-3-3.0.8-150500.5.19.1 as a component of openSUSE Leap 15.5</FullProductName>
    </Relationship>
    <Relationship ProductReference="openssl-3-doc-3.0.8-150500.5.19.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.5">
      <FullProductName ProductID="openSUSE Leap 15.5:openssl-3-doc-3.0.8-150500.5.19.1">openssl-3-doc-3.0.8-150500.5.19.1 as a component of openSUSE Leap 15.5</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">Issue summary: Generating excessively long X9.42 DH keys or checking
excessively long X9.42 DH keys or parameters may be very slow.

Impact summary: Applications that use the functions DH_generate_key() to
generate an X9.42 DH key may experience long delays.  Likewise, applications
that use DH_check_pub_key(), DH_check_pub_key_ex() or EVP_PKEY_public_check()
to check an X9.42 DH key or X9.42 DH parameters may experience long delays.
Where the key or parameters that are being checked have been obtained from
an untrusted source this may lead to a Denial of Service.

While DH_check() performs all the necessary checks (as of CVE-2023-3817),
DH_check_pub_key() doesn't make any of these checks, and is therefore
vulnerable for excessively large P and Q parameters.

Likewise, while DH_generate_key() performs a check for an excessively large
P, it doesn't check for an excessively large Q.

An application that calls DH_generate_key() or DH_check_pub_key() and
supplies a key or parameters obtained from an untrusted source could be
vulnerable to a Denial of Service attack.

DH_generate_key() and DH_check_pub_key() are also called by a number of
other OpenSSL functions.  An application calling any of those other
functions may similarly be affected.  The other functions affected by this
are DH_check_pub_key_ex(), EVP_PKEY_public_check(), and EVP_PKEY_generate().

Also vulnerable are the OpenSSL pkey command line application when using the
"-pubcheck" option, as well as the OpenSSL genpkey command line application.

The OpenSSL SSL/TLS implementation is not affected by this issue.

The OpenSSL 3.0 and 3.1 FIPS providers are not affected by this issue.</Note>
    </Notes>
    <CVE>CVE-2023-5678</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>Container suse/ltss/sle15.5/sle15:latest:libopenssl3-3.0.8-150500.5.19.1</ProductID>
        <ProductID>Container suse/ltss/sle15.5/sle15:latest:openssl-3-3.0.8-150500.5.19.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15 SP5:libopenssl-3-devel-3.0.8-150500.5.19.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15 SP5:libopenssl3-3.0.8-150500.5.19.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15 SP5:openssl-3-3.0.8-150500.5.19.1</ProductID>
        <ProductID>openSUSE Leap 15.5:libopenssl-3-devel-3.0.8-150500.5.19.1</ProductID>
        <ProductID>openSUSE Leap 15.5:libopenssl-3-devel-32bit-3.0.8-150500.5.19.1</ProductID>
        <ProductID>openSUSE Leap 15.5:libopenssl3-3.0.8-150500.5.19.1</ProductID>
        <ProductID>openSUSE Leap 15.5:libopenssl3-32bit-3.0.8-150500.5.19.1</ProductID>
        <ProductID>openSUSE Leap 15.5:openssl-3-3.0.8-150500.5.19.1</ProductID>
        <ProductID>openSUSE Leap 15.5:openssl-3-doc-3.0.8-150500.5.19.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</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/2023/suse-su-20234635-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2023-5678.html</URL>
        <Description>CVE-2023-5678</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1216922</URL>
        <Description>SUSE Bug 1216922</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1217151</URL>
        <Description>SUSE Bug 1217151</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1219091</URL>
        <Description>SUSE Bug 1219091</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1219092</URL>
        <Description>SUSE Bug 1219092</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1219415</URL>
        <Description>SUSE Bug 1219415</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1219417</URL>
        <Description>SUSE Bug 1219417</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1219472</URL>
        <Description>SUSE Bug 1219472</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1219712</URL>
        <Description>SUSE Bug 1219712</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1220016</URL>
        <Description>SUSE Bug 1220016</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
