<?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 opensc</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:0565-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2021-04-16T18:05:41Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2021-04-16T18:05:41Z</InitialReleaseDate>
    <CurrentReleaseDate>2021-04-16T18:05:41Z</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 opensc</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for opensc fixes the following issues:
	  
- CVE-2019-15945: Fixed an out-of-bounds access of an ASN.1 Bitstring in decode_bit_string (bsc#1149746).
- CVE-2019-15946: Fixed an out-of-bounds access of an ASN.1 Octet string in asn1_decode_entry (bsc#1149747)
- CVE-2019-19479: Fixed an incorrect read operation during parsing of a SETCOS file attribute (bsc#1158256)
- CVE-2019-19480: Fixed an improper free operation in sc_pkcs15_decode_prkdf_entry (bsc#1158307).
- CVE-2019-20792: Fixed a double free in coolkey_free_private_data (bsc#1170809). 
- CVE-2020-26570: Fixed a buffer overflow in sc_oberthur_read_file (bsc#1177364).
- CVE-2020-26571: Fixed a stack-based buffer overflow in gemsafe GPK smart card software driver (bsc#1177380)
- CVE-2020-26572: Fixed a stack-based buffer overflow in tcos_decipher (bsc#1177378).

This update was imported from the SUSE:SLE-15-SP1: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-565</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/JELZKRVEJGYE74DM3GTNHNTVZBQHK5DJ/</URL>
      <Description>E-Mail link for openSUSE-SU-2021:0565-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/1149746</URL>
      <Description>SUSE Bug 1149746</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1149747</URL>
      <Description>SUSE Bug 1149747</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1158256</URL>
      <Description>SUSE Bug 1158256</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1158307</URL>
      <Description>SUSE Bug 1158307</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1170809</URL>
      <Description>SUSE Bug 1170809</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1177364</URL>
      <Description>SUSE Bug 1177364</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1177378</URL>
      <Description>SUSE Bug 1177378</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1177380</URL>
      <Description>SUSE Bug 1177380</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2019-15945/</URL>
      <Description>SUSE CVE CVE-2019-15945 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2019-15946/</URL>
      <Description>SUSE CVE CVE-2019-15946 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2019-19479/</URL>
      <Description>SUSE CVE CVE-2019-19479 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2019-19480/</URL>
      <Description>SUSE CVE CVE-2019-19480 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2019-20792/</URL>
      <Description>SUSE CVE CVE-2019-20792 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2020-26570/</URL>
      <Description>SUSE CVE CVE-2020-26570 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2020-26571/</URL>
      <Description>SUSE CVE CVE-2020-26571 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2020-26572/</URL>
      <Description>SUSE CVE CVE-2020-26572 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="opensc-0.19.0-lp152.3.3.1">
      <FullProductName ProductID="opensc-0.19.0-lp152.3.3.1">opensc-0.19.0-lp152.3.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="opensc-32bit-0.19.0-lp152.3.3.1">
      <FullProductName ProductID="opensc-32bit-0.19.0-lp152.3.3.1">opensc-32bit-0.19.0-lp152.3.3.1</FullProductName>
    </Branch>
    <Relationship ProductReference="opensc-0.19.0-lp152.3.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:opensc-0.19.0-lp152.3.3.1">opensc-0.19.0-lp152.3.3.1 as a component of openSUSE Leap 15.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="opensc-32bit-0.19.0-lp152.3.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.2">
      <FullProductName ProductID="openSUSE Leap 15.2:opensc-32bit-0.19.0-lp152.3.3.1">opensc-32bit-0.19.0-lp152.3.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">OpenSC before 0.20.0-rc1 has an out-of-bounds access of an ASN.1 Bitstring in decode_bit_string in libopensc/asn1.c.</Note>
    </Notes>
    <CVE>CVE-2019-15945</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.2:opensc-0.19.0-lp152.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.2:opensc-32bit-0.19.0-lp152.3.3.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://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/JELZKRVEJGYE74DM3GTNHNTVZBQHK5DJ/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2019-15945.html</URL>
        <Description>CVE-2019-15945</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1149746</URL>
        <Description>SUSE Bug 1149746</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1179291</URL>
        <Description>SUSE Bug 1179291</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">OpenSC before 0.20.0-rc1 has an out-of-bounds access of an ASN.1 Octet string in asn1_decode_entry in libopensc/asn1.c.</Note>
    </Notes>
    <CVE>CVE-2019-15946</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.2:opensc-0.19.0-lp152.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.2:opensc-32bit-0.19.0-lp152.3.3.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://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/JELZKRVEJGYE74DM3GTNHNTVZBQHK5DJ/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2019-15946.html</URL>
        <Description>CVE-2019-15946</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1149747</URL>
        <Description>SUSE Bug 1149747</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1179291</URL>
        <Description>SUSE Bug 1179291</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">An issue was discovered in OpenSC through 0.19.0 and 0.20.x through 0.20.0-rc3. libopensc/card-setcos.c has an incorrect read operation during parsing of a SETCOS file attribute.</Note>
    </Notes>
    <CVE>CVE-2019-19479</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.2:opensc-0.19.0-lp152.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.2:opensc-32bit-0.19.0-lp152.3.3.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://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/JELZKRVEJGYE74DM3GTNHNTVZBQHK5DJ/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2019-19479.html</URL>
        <Description>CVE-2019-19479</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1158256</URL>
        <Description>SUSE Bug 1158256</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1179291</URL>
        <Description>SUSE Bug 1179291</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="4">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">An issue was discovered in OpenSC through 0.19.0 and 0.20.x through 0.20.0-rc3. libopensc/pkcs15-prkey.c has an incorrect free operation in sc_pkcs15_decode_prkdf_entry.</Note>
    </Notes>
    <CVE>CVE-2019-19480</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.2:opensc-0.19.0-lp152.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.2:opensc-32bit-0.19.0-lp152.3.3.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://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/JELZKRVEJGYE74DM3GTNHNTVZBQHK5DJ/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2019-19480.html</URL>
        <Description>CVE-2019-19480</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1158307</URL>
        <Description>SUSE Bug 1158307</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1179291</URL>
        <Description>SUSE Bug 1179291</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="5">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">OpenSC before 0.20.0 has a double free in coolkey_free_private_data because coolkey_add_object in libopensc/card-coolkey.c lacks a uniqueness check.</Note>
    </Notes>
    <CVE>CVE-2019-20792</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.2:opensc-0.19.0-lp152.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.2:opensc-32bit-0.19.0-lp152.3.3.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://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/JELZKRVEJGYE74DM3GTNHNTVZBQHK5DJ/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2019-20792.html</URL>
        <Description>CVE-2019-20792</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1170809</URL>
        <Description>SUSE Bug 1170809</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="6">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">The Oberthur smart card software driver in OpenSC before 0.21.0-rc1 has a heap-based buffer overflow in sc_oberthur_read_file.</Note>
    </Notes>
    <CVE>CVE-2020-26570</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.2:opensc-0.19.0-lp152.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.2:opensc-32bit-0.19.0-lp152.3.3.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://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/JELZKRVEJGYE74DM3GTNHNTVZBQHK5DJ/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2020-26570.html</URL>
        <Description>CVE-2020-26570</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1177364</URL>
        <Description>SUSE Bug 1177364</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1179291</URL>
        <Description>SUSE Bug 1179291</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="7">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">The gemsafe GPK smart card software driver in OpenSC before 0.21.0-rc1 has a stack-based buffer overflow in sc_pkcs15emu_gemsafeGPK_init.</Note>
    </Notes>
    <CVE>CVE-2020-26571</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.2:opensc-0.19.0-lp152.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.2:opensc-32bit-0.19.0-lp152.3.3.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://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/JELZKRVEJGYE74DM3GTNHNTVZBQHK5DJ/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2020-26571.html</URL>
        <Description>CVE-2020-26571</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1177380</URL>
        <Description>SUSE Bug 1177380</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1179291</URL>
        <Description>SUSE Bug 1179291</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="8">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">The TCOS smart card software driver in OpenSC before 0.21.0-rc1 has a stack-based buffer overflow in tcos_decipher.</Note>
    </Notes>
    <CVE>CVE-2020-26572</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.2:opensc-0.19.0-lp152.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.2:opensc-32bit-0.19.0-lp152.3.3.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://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/JELZKRVEJGYE74DM3GTNHNTVZBQHK5DJ/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2020-26572.html</URL>
        <Description>CVE-2020-26572</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1177378</URL>
        <Description>SUSE Bug 1177378</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1179291</URL>
        <Description>SUSE Bug 1179291</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
