<?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 libsolv</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE-SU-2021:2145-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2021-06-23T14:51:08Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2021-06-23T14:51:08Z</InitialReleaseDate>
    <CurrentReleaseDate>2021-06-23T14:51:08Z</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 libsolv</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for libsolv fixes the following issues:

Security issues fixed:

- CVE-2019-20387: Fixed heap-buffer-overflow in repodata_schema2id (bsc#1161510)
- CVE-2021-3200: testcase_read: error out if repos are added or the system is changed too late (bsc#1186229)

Other issues fixed:

- backport support for blacklisted packages to support ptf packages and retracted patches
- fix ruleinfo of complex dependencies returning the wrong origin
- fix SOLVER_FLAG_FOCUS_BEST updateing packages without reason
- fix add_complex_recommends() selecting conflicted packages in rare cases
- fix potential segfault in resolve_jobrules
- fix solv_zchunk decoding error if large chunks are used
</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-2021-2145,SUSE-SLE-SERVER-12-SP2-BCL-2021-2145</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/2021/suse-su-20212145-1/</URL>
      <Description>Link for SUSE-SU-2021:2145-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2021-June/009080.html</URL>
      <Description>E-Mail link for SUSE-SU-2021:2145-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/1161510</URL>
      <Description>SUSE Bug 1161510</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1186229</URL>
      <Description>SUSE Bug 1186229</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2019-20387/</URL>
      <Description>SUSE CVE CVE-2019-20387 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-3200/</URL>
      <Description>SUSE CVE CVE-2021-3200 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server 12 SP2-BCL">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server 12 SP2-BCL">
        <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP2-BCL" CPE="cpe:/o:suse:sles-bcl:12:sp2">SUSE Linux Enterprise Server 12 SP2-BCL</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libsolv-demo-0.6.37-2.27.24.1">
      <FullProductName ProductID="libsolv-demo-0.6.37-2.27.24.1">libsolv-demo-0.6.37-2.27.24.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libsolv-devel-0.6.37-2.27.24.1">
      <FullProductName ProductID="libsolv-devel-0.6.37-2.27.24.1">libsolv-devel-0.6.37-2.27.24.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libsolv-tools-0.6.37-2.27.24.1">
      <FullProductName ProductID="libsolv-tools-0.6.37-2.27.24.1">libsolv-tools-0.6.37-2.27.24.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libzypp-16.21.4-27.75.1">
      <FullProductName ProductID="libzypp-16.21.4-27.75.1">libzypp-16.21.4-27.75.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libzypp-devel-16.21.4-27.75.1">
      <FullProductName ProductID="libzypp-devel-16.21.4-27.75.1">libzypp-devel-16.21.4-27.75.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libzypp-devel-doc-16.21.4-27.75.1">
      <FullProductName ProductID="libzypp-devel-doc-16.21.4-27.75.1">libzypp-devel-doc-16.21.4-27.75.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="perl-solv-0.6.37-2.27.24.1">
      <FullProductName ProductID="perl-solv-0.6.37-2.27.24.1">perl-solv-0.6.37-2.27.24.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-solv-0.6.37-2.27.24.1">
      <FullProductName ProductID="python-solv-0.6.37-2.27.24.1">python-solv-0.6.37-2.27.24.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python3-solv-0.6.37-2.27.24.1">
      <FullProductName ProductID="python3-solv-0.6.37-2.27.24.1">python3-solv-0.6.37-2.27.24.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="ruby-solv-0.6.37-2.27.24.1">
      <FullProductName ProductID="ruby-solv-0.6.37-2.27.24.1">ruby-solv-0.6.37-2.27.24.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libsolv-devel-0.6.37-2.27.24.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP2-BCL">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP2-BCL:libsolv-devel-0.6.37-2.27.24.1">libsolv-devel-0.6.37-2.27.24.1 as a component of SUSE Linux Enterprise Server 12 SP2-BCL</FullProductName>
    </Relationship>
    <Relationship ProductReference="libsolv-tools-0.6.37-2.27.24.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP2-BCL">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP2-BCL:libsolv-tools-0.6.37-2.27.24.1">libsolv-tools-0.6.37-2.27.24.1 as a component of SUSE Linux Enterprise Server 12 SP2-BCL</FullProductName>
    </Relationship>
    <Relationship ProductReference="libzypp-16.21.4-27.75.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP2-BCL">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP2-BCL:libzypp-16.21.4-27.75.1">libzypp-16.21.4-27.75.1 as a component of SUSE Linux Enterprise Server 12 SP2-BCL</FullProductName>
    </Relationship>
    <Relationship ProductReference="libzypp-devel-16.21.4-27.75.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP2-BCL">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP2-BCL:libzypp-devel-16.21.4-27.75.1">libzypp-devel-16.21.4-27.75.1 as a component of SUSE Linux Enterprise Server 12 SP2-BCL</FullProductName>
    </Relationship>
    <Relationship ProductReference="perl-solv-0.6.37-2.27.24.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP2-BCL">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP2-BCL:perl-solv-0.6.37-2.27.24.1">perl-solv-0.6.37-2.27.24.1 as a component of SUSE Linux Enterprise Server 12 SP2-BCL</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-solv-0.6.37-2.27.24.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP2-BCL">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP2-BCL:python-solv-0.6.37-2.27.24.1">python-solv-0.6.37-2.27.24.1 as a component of SUSE Linux Enterprise Server 12 SP2-BCL</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">repodata_schema2id in repodata.c in libsolv before 0.7.6 has a heap-based buffer over-read via a last schema whose length is less than the length of the input schema.</Note>
    </Notes>
    <CVE>CVE-2019-20387</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Server 12 SP2-BCL:libsolv-devel-0.6.37-2.27.24.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP2-BCL:libsolv-tools-0.6.37-2.27.24.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP2-BCL:libzypp-16.21.4-27.75.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP2-BCL:libzypp-devel-16.21.4-27.75.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP2-BCL:perl-solv-0.6.37-2.27.24.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP2-BCL:python-solv-0.6.37-2.27.24.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/2021/suse-su-20212145-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2019-20387.html</URL>
        <Description>CVE-2019-20387</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1161510</URL>
        <Description>SUSE Bug 1161510</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">Buffer overflow vulnerability in libsolv 2020-12-13 via the Solver * testcase_read(Pool *pool, FILE *fp, const char *testcase, Queue *job, char **resultp, int *resultflagsp function at src/testcase.c: line 2334, which could cause a denial of service</Note>
    </Notes>
    <CVE>CVE-2021-3200</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Server 12 SP2-BCL:libsolv-devel-0.6.37-2.27.24.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP2-BCL:libsolv-tools-0.6.37-2.27.24.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP2-BCL:libzypp-16.21.4-27.75.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP2-BCL:libzypp-devel-16.21.4-27.75.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP2-BCL:perl-solv-0.6.37-2.27.24.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP2-BCL:python-solv-0.6.37-2.27.24.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/2021/suse-su-20212145-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-3200.html</URL>
        <Description>CVE-2021-3200</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1186229</URL>
        <Description>SUSE Bug 1186229</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
