<?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 ncurses</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:3490-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2021-10-20T14:32:21Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2021-10-20T14:32:21Z</InitialReleaseDate>
    <CurrentReleaseDate>2021-10-20T14:32:21Z</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 ncurses</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for ncurses fixes the following issues:

- CVE-2021-39537: Fixed an heap-based buffer overflow in _nc_captoinfo. (bsc#1190793)
</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-SLE-15.3-2021-3490</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/2IZOG455BIMQ6NKBIPOWITV4SHIG5YT7/</URL>
      <Description>E-Mail link for openSUSE-SU-2021:3490-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/1190793</URL>
      <Description>SUSE Bug 1190793</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-39537/</URL>
      <Description>SUSE CVE CVE-2021-39537 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.3">
      <Branch Type="Product Name" Name="openSUSE Leap 15.3">
        <FullProductName ProductID="openSUSE Leap 15.3" CPE="cpe:/o:opensuse:leap:15.3">openSUSE Leap 15.3</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libncurses5-6.1-5.9.1">
      <FullProductName ProductID="libncurses5-6.1-5.9.1">libncurses5-6.1-5.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libncurses5-32bit-6.1-5.9.1">
      <FullProductName ProductID="libncurses5-32bit-6.1-5.9.1">libncurses5-32bit-6.1-5.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libncurses6-6.1-5.9.1">
      <FullProductName ProductID="libncurses6-6.1-5.9.1">libncurses6-6.1-5.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libncurses6-32bit-6.1-5.9.1">
      <FullProductName ProductID="libncurses6-32bit-6.1-5.9.1">libncurses6-32bit-6.1-5.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="ncurses-devel-6.1-5.9.1">
      <FullProductName ProductID="ncurses-devel-6.1-5.9.1">ncurses-devel-6.1-5.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="ncurses-devel-32bit-6.1-5.9.1">
      <FullProductName ProductID="ncurses-devel-32bit-6.1-5.9.1">ncurses-devel-32bit-6.1-5.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="ncurses-utils-6.1-5.9.1">
      <FullProductName ProductID="ncurses-utils-6.1-5.9.1">ncurses-utils-6.1-5.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="ncurses5-devel-6.1-5.9.1">
      <FullProductName ProductID="ncurses5-devel-6.1-5.9.1">ncurses5-devel-6.1-5.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="ncurses5-devel-32bit-6.1-5.9.1">
      <FullProductName ProductID="ncurses5-devel-32bit-6.1-5.9.1">ncurses5-devel-32bit-6.1-5.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="tack-6.1-5.9.1">
      <FullProductName ProductID="tack-6.1-5.9.1">tack-6.1-5.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="terminfo-6.1-5.9.1">
      <FullProductName ProductID="terminfo-6.1-5.9.1">terminfo-6.1-5.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="terminfo-base-6.1-5.9.1">
      <FullProductName ProductID="terminfo-base-6.1-5.9.1">terminfo-base-6.1-5.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="terminfo-iterm-6.1-5.9.1">
      <FullProductName ProductID="terminfo-iterm-6.1-5.9.1">terminfo-iterm-6.1-5.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="terminfo-screen-6.1-5.9.1">
      <FullProductName ProductID="terminfo-screen-6.1-5.9.1">terminfo-screen-6.1-5.9.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libncurses5-6.1-5.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:libncurses5-6.1-5.9.1">libncurses5-6.1-5.9.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="libncurses5-32bit-6.1-5.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:libncurses5-32bit-6.1-5.9.1">libncurses5-32bit-6.1-5.9.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="libncurses6-6.1-5.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:libncurses6-6.1-5.9.1">libncurses6-6.1-5.9.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="libncurses6-32bit-6.1-5.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:libncurses6-32bit-6.1-5.9.1">libncurses6-32bit-6.1-5.9.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="ncurses-devel-6.1-5.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:ncurses-devel-6.1-5.9.1">ncurses-devel-6.1-5.9.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="ncurses-devel-32bit-6.1-5.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:ncurses-devel-32bit-6.1-5.9.1">ncurses-devel-32bit-6.1-5.9.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="ncurses-utils-6.1-5.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:ncurses-utils-6.1-5.9.1">ncurses-utils-6.1-5.9.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="ncurses5-devel-6.1-5.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:ncurses5-devel-6.1-5.9.1">ncurses5-devel-6.1-5.9.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="ncurses5-devel-32bit-6.1-5.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:ncurses5-devel-32bit-6.1-5.9.1">ncurses5-devel-32bit-6.1-5.9.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="tack-6.1-5.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:tack-6.1-5.9.1">tack-6.1-5.9.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="terminfo-6.1-5.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:terminfo-6.1-5.9.1">terminfo-6.1-5.9.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="terminfo-base-6.1-5.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:terminfo-base-6.1-5.9.1">terminfo-base-6.1-5.9.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="terminfo-iterm-6.1-5.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:terminfo-iterm-6.1-5.9.1">terminfo-iterm-6.1-5.9.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="terminfo-screen-6.1-5.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:terminfo-screen-6.1-5.9.1">terminfo-screen-6.1-5.9.1 as a component of openSUSE Leap 15.3</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">An issue was discovered in ncurses through v6.2-1. _nc_captoinfo in captoinfo.c has a heap-based buffer overflow.</Note>
    </Notes>
    <CVE>CVE-2021-39537</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.3:libncurses5-32bit-6.1-5.9.1</ProductID>
        <ProductID>openSUSE Leap 15.3:libncurses5-6.1-5.9.1</ProductID>
        <ProductID>openSUSE Leap 15.3:libncurses6-32bit-6.1-5.9.1</ProductID>
        <ProductID>openSUSE Leap 15.3:libncurses6-6.1-5.9.1</ProductID>
        <ProductID>openSUSE Leap 15.3:ncurses-devel-32bit-6.1-5.9.1</ProductID>
        <ProductID>openSUSE Leap 15.3:ncurses-devel-6.1-5.9.1</ProductID>
        <ProductID>openSUSE Leap 15.3:ncurses-utils-6.1-5.9.1</ProductID>
        <ProductID>openSUSE Leap 15.3:ncurses5-devel-32bit-6.1-5.9.1</ProductID>
        <ProductID>openSUSE Leap 15.3:ncurses5-devel-6.1-5.9.1</ProductID>
        <ProductID>openSUSE Leap 15.3:tack-6.1-5.9.1</ProductID>
        <ProductID>openSUSE Leap 15.3:terminfo-6.1-5.9.1</ProductID>
        <ProductID>openSUSE Leap 15.3:terminfo-base-6.1-5.9.1</ProductID>
        <ProductID>openSUSE Leap 15.3:terminfo-iterm-6.1-5.9.1</ProductID>
        <ProductID>openSUSE Leap 15.3:terminfo-screen-6.1-5.9.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSetV2>
        <BaseScoreV2>6.8</BaseScoreV2>
        <VectorV2>AV:N/AC:M/Au:N/C:P/I:P/A:P</VectorV2>
      </ScoreSetV2>
      <ScoreSetV3>
        <BaseScoreV3>6.2</BaseScoreV3>
        <VectorV3>CVSS:3.1/AV:L/AC:L/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/2IZOG455BIMQ6NKBIPOWITV4SHIG5YT7/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-39537.html</URL>
        <Description>CVE-2021-39537</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1190793</URL>
        <Description>SUSE Bug 1190793</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1196626</URL>
        <Description>SUSE Bug 1196626</Description>
      </Reference>
    </References>
  </vuln:Vulnerability>
</cvrfdoc>
