<?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 rpm</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:1366-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2021-10-18T12:12:22Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2021-10-18T12:12:22Z</InitialReleaseDate>
    <CurrentReleaseDate>2021-10-18T12:12: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 rpm</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for rpm fixes the following issues:

Security issues fixed:

- CVE-2021-3421, CVE-2021-20271, CVE-2021-20266: Multiple header check improvements (bsc#1183543, bsc#1183545, bsc#1183632)
- PGP hardening changes (bsc#1185299)
- Fixed potential access of freed mem in ndb's glue code (bsc#1179416)

Maintaince issues fixed:

- Fixed zstd detection (bsc#1187670)
- Added ndb rofs support (bsc#1188548)
- Fixed deadlock when multiple rpm processes try tp acquire the database lock (bsc#1183659)

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-1366</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/WOGLQWSIIR4HYRWXGETEIHB6SM6A2MNK/</URL>
      <Description>E-Mail link for openSUSE-SU-2021:1366-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/1179416</URL>
      <Description>SUSE Bug 1179416</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1183543</URL>
      <Description>SUSE Bug 1183543</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1183545</URL>
      <Description>SUSE Bug 1183545</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1183632</URL>
      <Description>SUSE Bug 1183632</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1183659</URL>
      <Description>SUSE Bug 1183659</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1185299</URL>
      <Description>SUSE Bug 1185299</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1187670</URL>
      <Description>SUSE Bug 1187670</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1188548</URL>
      <Description>SUSE Bug 1188548</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-20266/</URL>
      <Description>SUSE CVE CVE-2021-20266 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-20271/</URL>
      <Description>SUSE CVE CVE-2021-20271 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-3421/</URL>
      <Description>SUSE CVE CVE-2021-3421 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <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="python2-rpm-4.14.1-lp152.18.3.1">
      <FullProductName ProductID="python2-rpm-4.14.1-lp152.18.3.1">python2-rpm-4.14.1-lp152.18.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python3-rpm-4.14.1-lp152.18.3.1">
      <FullProductName ProductID="python3-rpm-4.14.1-lp152.18.3.1">python3-rpm-4.14.1-lp152.18.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rpm-4.14.1-lp152.18.3.1">
      <FullProductName ProductID="rpm-4.14.1-lp152.18.3.1">rpm-4.14.1-lp152.18.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rpm-32bit-4.14.1-lp152.18.3.1">
      <FullProductName ProductID="rpm-32bit-4.14.1-lp152.18.3.1">rpm-32bit-4.14.1-lp152.18.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rpm-build-4.14.1-lp152.18.3.1">
      <FullProductName ProductID="rpm-build-4.14.1-lp152.18.3.1">rpm-build-4.14.1-lp152.18.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rpm-devel-4.14.1-lp152.18.3.1">
      <FullProductName ProductID="rpm-devel-4.14.1-lp152.18.3.1">rpm-devel-4.14.1-lp152.18.3.1</FullProductName>
    </Branch>
    <Relationship ProductReference="python2-rpm-4.14.1-lp152.18.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:python2-rpm-4.14.1-lp152.18.3.1">python2-rpm-4.14.1-lp152.18.3.1 as a component of openSUSE Leap 15.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="python3-rpm-4.14.1-lp152.18.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:python3-rpm-4.14.1-lp152.18.3.1">python3-rpm-4.14.1-lp152.18.3.1 as a component of openSUSE Leap 15.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="rpm-4.14.1-lp152.18.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:rpm-4.14.1-lp152.18.3.1">rpm-4.14.1-lp152.18.3.1 as a component of openSUSE Leap 15.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="rpm-32bit-4.14.1-lp152.18.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:rpm-32bit-4.14.1-lp152.18.3.1">rpm-32bit-4.14.1-lp152.18.3.1 as a component of openSUSE Leap 15.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="rpm-build-4.14.1-lp152.18.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:rpm-build-4.14.1-lp152.18.3.1">rpm-build-4.14.1-lp152.18.3.1 as a component of openSUSE Leap 15.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="rpm-devel-4.14.1-lp152.18.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:rpm-devel-4.14.1-lp152.18.3.1">rpm-devel-4.14.1-lp152.18.3.1 as a component of openSUSE Leap 15.2</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">A flaw was found in RPM's hdrblobInit() in lib/header.c. This flaw allows an attacker who can modify the rpmdb to cause an out-of-bounds read. The highest threat from this vulnerability is to system availability.</Note>
    </Notes>
    <CVE>CVE-2021-20266</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.2:python2-rpm-4.14.1-lp152.18.3.1</ProductID>
        <ProductID>openSUSE Leap 15.2:python3-rpm-4.14.1-lp152.18.3.1</ProductID>
        <ProductID>openSUSE Leap 15.2:rpm-32bit-4.14.1-lp152.18.3.1</ProductID>
        <ProductID>openSUSE Leap 15.2:rpm-4.14.1-lp152.18.3.1</ProductID>
        <ProductID>openSUSE Leap 15.2:rpm-build-4.14.1-lp152.18.3.1</ProductID>
        <ProductID>openSUSE Leap 15.2:rpm-devel-4.14.1-lp152.18.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>4</BaseScore>
        <Vector>AV:N/AC:L/Au:S/C:N/I:N/A:P</Vector>
      </ScoreSet>
    </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/WOGLQWSIIR4HYRWXGETEIHB6SM6A2MNK/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-20266.html</URL>
        <Description>CVE-2021-20266</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1183632</URL>
        <Description>SUSE Bug 1183632</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 flaw was found in RPM's signature check functionality when reading a package file. This flaw allows an attacker who can convince a victim to install a seemingly verifiable package, whose signature header was modified, to cause RPM database corruption and execute code. The highest threat from this vulnerability is to data integrity, confidentiality, and system availability.</Note>
    </Notes>
    <CVE>CVE-2021-20271</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.2:python2-rpm-4.14.1-lp152.18.3.1</ProductID>
        <ProductID>openSUSE Leap 15.2:python3-rpm-4.14.1-lp152.18.3.1</ProductID>
        <ProductID>openSUSE Leap 15.2:rpm-32bit-4.14.1-lp152.18.3.1</ProductID>
        <ProductID>openSUSE Leap 15.2:rpm-4.14.1-lp152.18.3.1</ProductID>
        <ProductID>openSUSE Leap 15.2:rpm-build-4.14.1-lp152.18.3.1</ProductID>
        <ProductID>openSUSE Leap 15.2:rpm-devel-4.14.1-lp152.18.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>5.1</BaseScore>
        <Vector>AV:N/AC:H/Au:N/C:P/I:P/A:P</Vector>
      </ScoreSet>
    </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/WOGLQWSIIR4HYRWXGETEIHB6SM6A2MNK/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-20271.html</URL>
        <Description>CVE-2021-20271</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1183545</URL>
        <Description>SUSE Bug 1183545</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 flaw was found in the RPM package in the read functionality. This flaw allows an attacker who can convince a victim to install a seemingly verifiable package or compromise an RPM repository, to cause RPM database corruption. The highest threat from this vulnerability is to data integrity. This flaw affects RPM versions before 4.17.0-alpha.</Note>
    </Notes>
    <CVE>CVE-2021-3421</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.2:python2-rpm-4.14.1-lp152.18.3.1</ProductID>
        <ProductID>openSUSE Leap 15.2:python3-rpm-4.14.1-lp152.18.3.1</ProductID>
        <ProductID>openSUSE Leap 15.2:rpm-32bit-4.14.1-lp152.18.3.1</ProductID>
        <ProductID>openSUSE Leap 15.2:rpm-4.14.1-lp152.18.3.1</ProductID>
        <ProductID>openSUSE Leap 15.2:rpm-build-4.14.1-lp152.18.3.1</ProductID>
        <ProductID>openSUSE Leap 15.2:rpm-devel-4.14.1-lp152.18.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>4.3</BaseScore>
        <Vector>AV:N/AC:M/Au:N/C:N/I:P/A:N</Vector>
      </ScoreSet>
    </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/WOGLQWSIIR4HYRWXGETEIHB6SM6A2MNK/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-3421.html</URL>
        <Description>CVE-2021-3421</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1183543</URL>
        <Description>SUSE Bug 1183543</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
