<?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 libarchive</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:3722-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2021-11-17T09:31:03Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2021-11-17T09:31:03Z</InitialReleaseDate>
    <CurrentReleaseDate>2021-11-17T09:31:03Z</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 libarchive</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for libarchive fixes the following issues:

- CVE-2019-19221: Fixed out-of-bounds read caused by incorrect mbrtowc or mbtowc call (bsc#1157569)

- backporting symlink security fixes from 3.5.2:
  - extracting with ACLs modifies ACLs of target (bsc#1192425)
  - modifies file flags of target (bsc#1192426)
  - avoid follow on fixup entries (bsc#1192427)
</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-3722,SUSE-SLE-SDK-12-SP5-2021-3722,SUSE-SLE-SERVER-12-SP5-2021-3722</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-20213722-1/</URL>
      <Description>Link for SUSE-SU-2021:3722-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2021-November/009736.html</URL>
      <Description>E-Mail link for SUSE-SU-2021:3722-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/1157569</URL>
      <Description>SUSE Bug 1157569</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1192425</URL>
      <Description>SUSE Bug 1192425</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1192426</URL>
      <Description>SUSE Bug 1192426</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1192427</URL>
      <Description>SUSE Bug 1192427</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2019-19221/</URL>
      <Description>SUSE CVE CVE-2019-19221 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 SP5">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server 12 SP5">
        <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP5" CPE="cpe:/o:suse:sles:12:sp5">SUSE Linux Enterprise Server 12 SP5</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server for SAP Applications 12 SP5">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server for SAP Applications 12 SP5">
        <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP5" CPE="cpe:/o:suse:sles_sap:12:sp5">SUSE Linux Enterprise Server for SAP Applications 12 SP5</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Software Development Kit 12 SP5">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Software Development Kit 12 SP5">
        <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP5" CPE="cpe:/o:suse:sle-sdk:12:sp5">SUSE Linux Enterprise Software Development Kit 12 SP5</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="bsdtar-3.3.3-32.5.1">
      <FullProductName ProductID="bsdtar-3.3.3-32.5.1">bsdtar-3.3.3-32.5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libarchive-devel-3.3.3-32.5.1">
      <FullProductName ProductID="libarchive-devel-3.3.3-32.5.1">libarchive-devel-3.3.3-32.5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libarchive13-3.3.3-32.5.1">
      <FullProductName ProductID="libarchive13-3.3.3-32.5.1">libarchive13-3.3.3-32.5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libarchive13-32bit-3.3.3-32.5.1">
      <FullProductName ProductID="libarchive13-32bit-3.3.3-32.5.1">libarchive13-32bit-3.3.3-32.5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libarchive13-64bit-3.3.3-32.5.1">
      <FullProductName ProductID="libarchive13-64bit-3.3.3-32.5.1">libarchive13-64bit-3.3.3-32.5.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libarchive13-3.3.3-32.5.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP5:libarchive13-3.3.3-32.5.1">libarchive13-3.3.3-32.5.1 as a component of SUSE Linux Enterprise Server 12 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="libarchive13-3.3.3-32.5.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP5:libarchive13-3.3.3-32.5.1">libarchive13-3.3.3-32.5.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="libarchive-devel-3.3.3-32.5.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP5:libarchive-devel-3.3.3-32.5.1">libarchive-devel-3.3.3-32.5.1 as a component of SUSE Linux Enterprise Software Development Kit 12 SP5</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">In Libarchive 3.4.0, archive_wstring_append_from_mbs in archive_string.c has an out-of-bounds read because of an incorrect mbrtowc or mbtowc call. For example, bsdtar crashes via a crafted archive.</Note>
    </Notes>
    <CVE>CVE-2019-19221</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Server 12 SP5:libarchive13-3.3.3-32.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP5:libarchive13-3.3.3-32.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP5:libarchive-devel-3.3.3-32.5.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>2.1</BaseScore>
        <Vector>AV:L/AC:L/Au:N/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://www.suse.com/support/update/announcement/2021/suse-su-20213722-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2019-19221.html</URL>
        <Description>CVE-2019-19221</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1157569</URL>
        <Description>SUSE Bug 1157569</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
