<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:cpe="http://cpe.mitre.org/language/2.0" xmlns:cvrf="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/cvrf" xmlns:cvrf-common="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/common" xmlns:cvssv2="http://scap.nist.gov/schema/cvss-v2/1.0" xmlns:cvssv3="https://www.first.org/cvss/cvss-v3.0.xsd" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ns0="http://purl.org/dc/elements/1.1/" xmlns:prod="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/prod" xmlns:scap-core="http://scap.nist.gov/schema/scap-core/1.0" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:vuln="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/vuln" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/cvrf">
  <DocumentTitle xml:lang="en">Security update for openssl-1_1</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>openSUSE-SU-2021:0427-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2021-03-16T17:08:14Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2021-03-16T17:08:14Z</InitialReleaseDate>
    <CurrentReleaseDate>2021-03-16T17:08:14Z</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-1_1</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for openssl-1_1 fixes the following issues:

- CVE-2021-23840: Fixed an Integer overflow in CipherUpdate (bsc#1182333)
- CVE-2021-23841: Fixed a Null pointer dereference in X509_issuer_and_serial_hash() (bsc#1182331)
- Fixed unresolved error codes in FIPS (bsc#1182959).

This update was imported from the SUSE:SLE-15-SP2:Update update project.</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">openSUSE-2021-427</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://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/5XENZGXQLBAUUDBFPY2BZB3VBUOBHXA3/</URL>
      <Description>E-Mail link for openSUSE-SU-2021:0427-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/1182331</URL>
      <Description>SUSE Bug 1182331</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1182333</URL>
      <Description>SUSE Bug 1182333</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1182959</URL>
      <Description>SUSE Bug 1182959</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-23840/</URL>
      <Description>SUSE CVE CVE-2021-23840 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-23841/</URL>
      <Description>SUSE CVE CVE-2021-23841 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/prod">
    <Branch Type="Product Family" Name="openSUSE Leap 15.2">
      <Branch Type="Product Name" Name="openSUSE Leap 15.2">
        <FullProductName ProductID="openSUSE Leap 15.2" CPE="cpe:/o:opensuse:leap:15.2">openSUSE Leap 15.2</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libopenssl-1_1-devel-1.1.1d-lp152.7.12.1">
      <FullProductName ProductID="libopenssl-1_1-devel-1.1.1d-lp152.7.12.1">libopenssl-1_1-devel-1.1.1d-lp152.7.12.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libopenssl-1_1-devel-32bit-1.1.1d-lp152.7.12.1">
      <FullProductName ProductID="libopenssl-1_1-devel-32bit-1.1.1d-lp152.7.12.1">libopenssl-1_1-devel-32bit-1.1.1d-lp152.7.12.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libopenssl1_1-1.1.1d-lp152.7.12.1">
      <FullProductName ProductID="libopenssl1_1-1.1.1d-lp152.7.12.1">libopenssl1_1-1.1.1d-lp152.7.12.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libopenssl1_1-32bit-1.1.1d-lp152.7.12.1">
      <FullProductName ProductID="libopenssl1_1-32bit-1.1.1d-lp152.7.12.1">libopenssl1_1-32bit-1.1.1d-lp152.7.12.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libopenssl1_1-hmac-1.1.1d-lp152.7.12.1">
      <FullProductName ProductID="libopenssl1_1-hmac-1.1.1d-lp152.7.12.1">libopenssl1_1-hmac-1.1.1d-lp152.7.12.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libopenssl1_1-hmac-32bit-1.1.1d-lp152.7.12.1">
      <FullProductName ProductID="libopenssl1_1-hmac-32bit-1.1.1d-lp152.7.12.1">libopenssl1_1-hmac-32bit-1.1.1d-lp152.7.12.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="openssl-1_1-1.1.1d-lp152.7.12.1">
      <FullProductName ProductID="openssl-1_1-1.1.1d-lp152.7.12.1">openssl-1_1-1.1.1d-lp152.7.12.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="openssl-1_1-doc-1.1.1d-lp152.7.12.1">
      <FullProductName ProductID="openssl-1_1-doc-1.1.1d-lp152.7.12.1">openssl-1_1-doc-1.1.1d-lp152.7.12.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libopenssl-1_1-devel-1.1.1d-lp152.7.12.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:libopenssl-1_1-devel-1.1.1d-lp152.7.12.1">libopenssl-1_1-devel-1.1.1d-lp152.7.12.1 as a component of openSUSE Leap 15.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="libopenssl-1_1-devel-32bit-1.1.1d-lp152.7.12.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:libopenssl-1_1-devel-32bit-1.1.1d-lp152.7.12.1">libopenssl-1_1-devel-32bit-1.1.1d-lp152.7.12.1 as a component of openSUSE Leap 15.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="libopenssl1_1-1.1.1d-lp152.7.12.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:libopenssl1_1-1.1.1d-lp152.7.12.1">libopenssl1_1-1.1.1d-lp152.7.12.1 as a component of openSUSE Leap 15.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="libopenssl1_1-32bit-1.1.1d-lp152.7.12.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:libopenssl1_1-32bit-1.1.1d-lp152.7.12.1">libopenssl1_1-32bit-1.1.1d-lp152.7.12.1 as a component of openSUSE Leap 15.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="libopenssl1_1-hmac-1.1.1d-lp152.7.12.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:libopenssl1_1-hmac-1.1.1d-lp152.7.12.1">libopenssl1_1-hmac-1.1.1d-lp152.7.12.1 as a component of openSUSE Leap 15.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="libopenssl1_1-hmac-32bit-1.1.1d-lp152.7.12.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:libopenssl1_1-hmac-32bit-1.1.1d-lp152.7.12.1">libopenssl1_1-hmac-32bit-1.1.1d-lp152.7.12.1 as a component of openSUSE Leap 15.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="openssl-1_1-1.1.1d-lp152.7.12.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:openssl-1_1-1.1.1d-lp152.7.12.1">openssl-1_1-1.1.1d-lp152.7.12.1 as a component of openSUSE Leap 15.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="openssl-1_1-doc-1.1.1d-lp152.7.12.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:openssl-1_1-doc-1.1.1d-lp152.7.12.1">openssl-1_1-doc-1.1.1d-lp152.7.12.1 as a component of openSUSE Leap 15.2</FullProductName>
    </Relationship>
  </ProductTree>
  <vuln:Vulnerability xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/vuln" Ordinal="1">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">Calls to EVP_CipherUpdate, EVP_EncryptUpdate and EVP_DecryptUpdate may overflow the output length argument in some cases where the input length is close to the maximum permissable length for an integer on the platform. In such cases the return value from the function call will be 1 (indicating success), but the output length value will be negative. This could cause applications to behave incorrectly or crash. OpenSSL versions 1.1.1i and below are affected by this issue. Users of these versions should upgrade to OpenSSL 1.1.1j. OpenSSL versions 1.0.2x and below are affected by this issue. However OpenSSL 1.0.2 is out of support and no longer receiving public updates. Premium support customers of OpenSSL 1.0.2 should upgrade to 1.0.2y. Other users should upgrade to 1.1.1j. Fixed in OpenSSL 1.1.1j (Affected 1.1.1-1.1.1i). Fixed in OpenSSL 1.0.2y (Affected 1.0.2-1.0.2x).</Note>
    </Notes>
    <CVE>CVE-2021-23840</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.2:libopenssl-1_1-devel-1.1.1d-lp152.7.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:libopenssl-1_1-devel-32bit-1.1.1d-lp152.7.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:libopenssl1_1-1.1.1d-lp152.7.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:libopenssl1_1-32bit-1.1.1d-lp152.7.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:libopenssl1_1-hmac-1.1.1d-lp152.7.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:libopenssl1_1-hmac-32bit-1.1.1d-lp152.7.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:openssl-1_1-1.1.1d-lp152.7.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:openssl-1_1-doc-1.1.1d-lp152.7.12.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSetV2>
        <BaseScoreV2>5</BaseScoreV2>
        <VectorV2>AV:N/AC:L/Au:N/C:N/I:N/A:P</VectorV2>
      </ScoreSetV2>
      <ScoreSetV3>
        <BaseScoreV3>6.5</BaseScoreV3>
        <VectorV3>CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H</VectorV3>
      </ScoreSetV3>
    </CVSSScoreSets>
    <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://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/5XENZGXQLBAUUDBFPY2BZB3VBUOBHXA3/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-23840.html</URL>
        <Description>CVE-2021-23840</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1182333</URL>
        <Description>SUSE Bug 1182333</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1187743</URL>
        <Description>SUSE Bug 1187743</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1214334</URL>
        <Description>SUSE Bug 1214334</Description>
      </Reference>
    </References>
  </vuln:Vulnerability>
  <vuln:Vulnerability xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/vuln" Ordinal="2">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is maliciously constructed). This may subsequently result in a NULL pointer deref and a crash leading to a potential denial of service attack. The function X509_issuer_and_serial_hash() is never directly called by OpenSSL itself so applications are only vulnerable if they use this function directly and they use it on certificates that may have been obtained from untrusted sources. OpenSSL versions 1.1.1i and below are affected by this issue. Users of these versions should upgrade to OpenSSL 1.1.1j. OpenSSL versions 1.0.2x and below are affected by this issue. However OpenSSL 1.0.2 is out of support and no longer receiving public updates. Premium support customers of OpenSSL 1.0.2 should upgrade to 1.0.2y. Other users should upgrade to 1.1.1j. Fixed in OpenSSL 1.1.1j (Affected 1.1.1-1.1.1i). Fixed in OpenSSL 1.0.2y (Affected 1.0.2-1.0.2x).</Note>
    </Notes>
    <CVE>CVE-2021-23841</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.2:libopenssl-1_1-devel-1.1.1d-lp152.7.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:libopenssl-1_1-devel-32bit-1.1.1d-lp152.7.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:libopenssl1_1-1.1.1d-lp152.7.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:libopenssl1_1-32bit-1.1.1d-lp152.7.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:libopenssl1_1-hmac-1.1.1d-lp152.7.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:libopenssl1_1-hmac-32bit-1.1.1d-lp152.7.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:openssl-1_1-1.1.1d-lp152.7.12.1</ProductID>
        <ProductID>openSUSE Leap 15.2:openssl-1_1-doc-1.1.1d-lp152.7.12.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSetV2>
        <BaseScoreV2>4.3</BaseScoreV2>
        <VectorV2>AV:N/AC:M/Au:N/C:N/I:N/A:P</VectorV2>
      </ScoreSetV2>
      <ScoreSetV3>
        <BaseScoreV3>5.9</BaseScoreV3>
        <VectorV3>CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H</VectorV3>
      </ScoreSetV3>
    </CVSSScoreSets>
    <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://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/5XENZGXQLBAUUDBFPY2BZB3VBUOBHXA3/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-23841.html</URL>
        <Description>CVE-2021-23841</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1182331</URL>
        <Description>SUSE Bug 1182331</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1187743</URL>
        <Description>SUSE Bug 1187743</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1214334</URL>
        <Description>SUSE Bug 1214334</Description>
      </Reference>
    </References>
  </vuln:Vulnerability>
</cvrfdoc>
