<?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:2470-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2023-06-08T07:47:42Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2023-06-08T07:47:42Z</InitialReleaseDate>
    <CurrentReleaseDate>2023-06-08T07:47:42Z</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:

- Update to version 3.0.8 (bsc#1207541).

- CVE-2022-40735: Fixed remote trigger of expensive server-side DHE modular-exponentiation with long exponents in Diffie-Hellman Key Agreement Protocol (bsc#1205476).
- CVE-2023-1255: Fixed input buffer over-read in AES-XTS implementation on 64 bit ARM (bsc#1210714).
- CVE-2023-2650: Fixed possible DoS translating ASN.1 object identifiers (bsc#1211430).
</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-2023-2470,SUSE-SLE-Module-Basesystem-15-SP4-2023-2470,openSUSE-SLE-15.4-2023-2470</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-20232470-1/</URL>
      <Description>Link for SUSE-SU-2023:2470-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-updates/2023-June/029771.html</URL>
      <Description>E-Mail link for SUSE-SU-2023:2470-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/1205476</URL>
      <Description>SUSE Bug 1205476</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1210714</URL>
      <Description>SUSE Bug 1210714</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1211430</URL>
      <Description>SUSE Bug 1211430</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2022-40735/</URL>
      <Description>SUSE CVE CVE-2022-40735 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2023-1255/</URL>
      <Description>SUSE CVE CVE-2023-1255 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2023-2650/</URL>
      <Description>SUSE CVE CVE-2023-2650 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.8-150400.4.26.1">
      <FullProductName ProductID="libopenssl-3-devel-3.0.8-150400.4.26.1">libopenssl-3-devel-3.0.8-150400.4.26.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libopenssl-3-devel-32bit-3.0.8-150400.4.26.1">
      <FullProductName ProductID="libopenssl-3-devel-32bit-3.0.8-150400.4.26.1">libopenssl-3-devel-32bit-3.0.8-150400.4.26.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libopenssl-3-devel-64bit-3.0.8-150400.4.26.1">
      <FullProductName ProductID="libopenssl-3-devel-64bit-3.0.8-150400.4.26.1">libopenssl-3-devel-64bit-3.0.8-150400.4.26.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libopenssl3-3.0.8-150400.4.26.1">
      <FullProductName ProductID="libopenssl3-3.0.8-150400.4.26.1">libopenssl3-3.0.8-150400.4.26.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libopenssl3-32bit-3.0.8-150400.4.26.1">
      <FullProductName ProductID="libopenssl3-32bit-3.0.8-150400.4.26.1">libopenssl3-32bit-3.0.8-150400.4.26.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libopenssl3-64bit-3.0.8-150400.4.26.1">
      <FullProductName ProductID="libopenssl3-64bit-3.0.8-150400.4.26.1">libopenssl3-64bit-3.0.8-150400.4.26.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="openssl-3-3.0.8-150400.4.26.1">
      <FullProductName ProductID="openssl-3-3.0.8-150400.4.26.1">openssl-3-3.0.8-150400.4.26.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="openssl-3-doc-3.0.8-150400.4.26.1">
      <FullProductName ProductID="openssl-3-doc-3.0.8-150400.4.26.1">openssl-3-doc-3.0.8-150400.4.26.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libopenssl-3-devel-3.0.8-150400.4.26.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.8-150400.4.26.1">libopenssl-3-devel-3.0.8-150400.4.26.1 as a component of SUSE Linux Enterprise Module for Basesystem 15 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="libopenssl3-3.0.8-150400.4.26.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.8-150400.4.26.1">libopenssl3-3.0.8-150400.4.26.1 as a component of SUSE Linux Enterprise Module for Basesystem 15 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="openssl-3-3.0.8-150400.4.26.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.8-150400.4.26.1">openssl-3-3.0.8-150400.4.26.1 as a component of SUSE Linux Enterprise Module for Basesystem 15 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="libopenssl-3-devel-3.0.8-150400.4.26.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:libopenssl-3-devel-3.0.8-150400.4.26.1">libopenssl-3-devel-3.0.8-150400.4.26.1 as a component of openSUSE Leap 15.4</FullProductName>
    </Relationship>
    <Relationship ProductReference="libopenssl-3-devel-32bit-3.0.8-150400.4.26.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:libopenssl-3-devel-32bit-3.0.8-150400.4.26.1">libopenssl-3-devel-32bit-3.0.8-150400.4.26.1 as a component of openSUSE Leap 15.4</FullProductName>
    </Relationship>
    <Relationship ProductReference="libopenssl3-3.0.8-150400.4.26.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:libopenssl3-3.0.8-150400.4.26.1">libopenssl3-3.0.8-150400.4.26.1 as a component of openSUSE Leap 15.4</FullProductName>
    </Relationship>
    <Relationship ProductReference="libopenssl3-32bit-3.0.8-150400.4.26.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:libopenssl3-32bit-3.0.8-150400.4.26.1">libopenssl3-32bit-3.0.8-150400.4.26.1 as a component of openSUSE Leap 15.4</FullProductName>
    </Relationship>
    <Relationship ProductReference="openssl-3-3.0.8-150400.4.26.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:openssl-3-3.0.8-150400.4.26.1">openssl-3-3.0.8-150400.4.26.1 as a component of openSUSE Leap 15.4</FullProductName>
    </Relationship>
    <Relationship ProductReference="openssl-3-doc-3.0.8-150400.4.26.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:openssl-3-doc-3.0.8-150400.4.26.1">openssl-3-doc-3.0.8-150400.4.26.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">The Diffie-Hellman Key Agreement Protocol allows use of long exponents that arguably make certain calculations unnecessarily expensive, because the 1996 van Oorschot and Wiener paper found that "(appropriately) short exponents" can be used when there are adequate subgroup constraints, and these short exponents can lead to less expensive calculations than for long exponents. This issue is different from CVE-2002-20001 because it is based on an observation about exponent size, rather than an observation about numbers that are not public keys. The specific situations in which calculation expense would constitute a server-side vulnerability depend on the protocol (e.g., TLS, SSH, or IKE) and the DHE implementation details. In general, there might be an availability concern because of server-side resource consumption from DHE modular-exponentiation calculations. Finally, it is possible for an attacker to exploit this vulnerability and CVE-2002-20001 together.</Note>
    </Notes>
    <CVE>CVE-2022-40735</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15 SP4:libopenssl-3-devel-3.0.8-150400.4.26.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15 SP4:libopenssl3-3.0.8-150400.4.26.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15 SP4:openssl-3-3.0.8-150400.4.26.1</ProductID>
        <ProductID>openSUSE Leap 15.4:libopenssl-3-devel-3.0.8-150400.4.26.1</ProductID>
        <ProductID>openSUSE Leap 15.4:libopenssl-3-devel-32bit-3.0.8-150400.4.26.1</ProductID>
        <ProductID>openSUSE Leap 15.4:libopenssl3-3.0.8-150400.4.26.1</ProductID>
        <ProductID>openSUSE Leap 15.4:libopenssl3-32bit-3.0.8-150400.4.26.1</ProductID>
        <ProductID>openSUSE Leap 15.4:openssl-3-3.0.8-150400.4.26.1</ProductID>
        <ProductID>openSUSE Leap 15.4:openssl-3-doc-3.0.8-150400.4.26.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-20232470-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2022-40735.html</URL>
        <Description>CVE-2022-40735</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1205476</URL>
        <Description>SUSE Bug 1205476</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">Issue summary: The AES-XTS cipher decryption implementation for 64 bit ARM
platform contains a bug that could cause it to read past the input buffer,
leading to a crash.

Impact summary: Applications that use the AES-XTS algorithm on the 64 bit ARM
platform can crash in rare circumstances. The AES-XTS algorithm is usually
used for disk encryption.

The AES-XTS cipher decryption implementation for 64 bit ARM platform will read
past the end of the ciphertext buffer if the ciphertext size is 4 mod 5 in 16
byte blocks, e.g. 144 bytes or 1024 bytes. If the memory after the ciphertext
buffer is unmapped, this will trigger a crash which results in a denial of
service.

If an attacker can control the size and location of the ciphertext buffer
being decrypted by an application using AES-XTS on 64 bit ARM, the
application is affected. This is fairly unlikely making this issue
a Low severity one.</Note>
    </Notes>
    <CVE>CVE-2023-1255</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15 SP4:libopenssl-3-devel-3.0.8-150400.4.26.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15 SP4:libopenssl3-3.0.8-150400.4.26.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15 SP4:openssl-3-3.0.8-150400.4.26.1</ProductID>
        <ProductID>openSUSE Leap 15.4:libopenssl-3-devel-3.0.8-150400.4.26.1</ProductID>
        <ProductID>openSUSE Leap 15.4:libopenssl-3-devel-32bit-3.0.8-150400.4.26.1</ProductID>
        <ProductID>openSUSE Leap 15.4:libopenssl3-3.0.8-150400.4.26.1</ProductID>
        <ProductID>openSUSE Leap 15.4:libopenssl3-32bit-3.0.8-150400.4.26.1</ProductID>
        <ProductID>openSUSE Leap 15.4:openssl-3-3.0.8-150400.4.26.1</ProductID>
        <ProductID>openSUSE Leap 15.4:openssl-3-doc-3.0.8-150400.4.26.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-20232470-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2023-1255.html</URL>
        <Description>CVE-2023-1255</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1210714</URL>
        <Description>SUSE Bug 1210714</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">Issue summary: Processing some specially crafted ASN.1 object identifiers or
data containing them may be very slow.

Impact summary: Applications that use OBJ_obj2txt() directly, or use any of
the OpenSSL subsystems OCSP, PKCS7/SMIME, CMS, CMP/CRMF or TS with no message
size limit may experience notable to very long delays when processing those
messages, which may lead to a Denial of Service.

An OBJECT IDENTIFIER is composed of a series of numbers - sub-identifiers -
most of which have no size limit.  OBJ_obj2txt() may be used to translate
an ASN.1 OBJECT IDENTIFIER given in DER encoding form (using the OpenSSL
type ASN1_OBJECT) to its canonical numeric text form, which are the
sub-identifiers of the OBJECT IDENTIFIER in decimal form, separated by
periods.

When one of the sub-identifiers in the OBJECT IDENTIFIER is very large
(these are sizes that are seen as absurdly large, taking up tens or hundreds
of KiBs), the translation to a decimal number in text may take a very long
time.  The time complexity is O(n^2) with 'n' being the size of the
sub-identifiers in bytes (*).

With OpenSSL 3.0, support to fetch cryptographic algorithms using names /
identifiers in string form was introduced.  This includes using OBJECT
IDENTIFIERs in canonical numeric text form as identifiers for fetching
algorithms.

Such OBJECT IDENTIFIERs may be received through the ASN.1 structure
AlgorithmIdentifier, which is commonly used in multiple protocols to specify
what cryptographic algorithm should be used to sign or verify, encrypt or
decrypt, or digest passed data.

Applications that call OBJ_obj2txt() directly with untrusted data are
affected, with any version of OpenSSL.  If the use is for the mere purpose
of display, the severity is considered low.

In OpenSSL 3.0 and newer, this affects the subsystems OCSP, PKCS7/SMIME,
CMS, CMP/CRMF or TS.  It also impacts anything that processes X.509
certificates, including simple things like verifying its signature.

The impact on TLS is relatively low, because all versions of OpenSSL have a
100KiB limit on the peer's certificate chain.  Additionally, this only
impacts clients, or servers that have explicitly enabled client
authentication.

In OpenSSL 1.1.1 and 1.0.2, this only affects displaying diverse objects,
such as X.509 certificates.  This is assumed to not happen in such a way
that it would cause a Denial of Service, so these versions are considered
not affected by this issue in such a way that it would be cause for concern,
and the severity is therefore considered low.</Note>
    </Notes>
    <CVE>CVE-2023-2650</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15 SP4:libopenssl-3-devel-3.0.8-150400.4.26.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15 SP4:libopenssl3-3.0.8-150400.4.26.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15 SP4:openssl-3-3.0.8-150400.4.26.1</ProductID>
        <ProductID>openSUSE Leap 15.4:libopenssl-3-devel-3.0.8-150400.4.26.1</ProductID>
        <ProductID>openSUSE Leap 15.4:libopenssl-3-devel-32bit-3.0.8-150400.4.26.1</ProductID>
        <ProductID>openSUSE Leap 15.4:libopenssl3-3.0.8-150400.4.26.1</ProductID>
        <ProductID>openSUSE Leap 15.4:libopenssl3-32bit-3.0.8-150400.4.26.1</ProductID>
        <ProductID>openSUSE Leap 15.4:openssl-3-3.0.8-150400.4.26.1</ProductID>
        <ProductID>openSUSE Leap 15.4:openssl-3-doc-3.0.8-150400.4.26.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-20232470-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2023-2650.html</URL>
        <Description>CVE-2023-2650</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1211430</URL>
        <Description>SUSE Bug 1211430</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
