<?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 openjpeg2</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>openSUSE-SU-2017:2685-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2017-10-10T07:16:40Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2017-10-10T07:16:40Z</InitialReleaseDate>
    <CurrentReleaseDate>2017-10-10T07:16:40Z</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 openjpeg2</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for openjpeg2 fixes several issues.

These security issues were fixed:

- CVE-2016-10507: Integer overflow vulnerability in the bmp24toimage function
  allowed remote attackers to cause a denial of service (heap-based buffer
  over-read and application crash) via a crafted bmp file (bsc#1056421).
- CVE-2017-14039: A heap-based buffer overflow was discovered in the
  opj_t2_encode_packet function. The vulnerability caused an out-of-bounds write,
  which may have lead to remote denial of service or possibly unspecified other
  impact (bsc#1056622).
- CVE-2017-14164: A size-validation issue was discovered in opj_j2k_write_sot.
  The vulnerability caused an out-of-bounds write, which may have lead to remote
  DoS or possibly remote code execution (bsc#1057511).
- CVE-2017-14040: An invalid write access was discovered in bin/jp2/convert.c,
  triggering a crash in the tgatoimage function. The vulnerability may have lead
  to remote denial of service or possibly unspecified other impact (bsc#1056621).
- CVE-2017-14041: A stack-based buffer overflow was discovered in the
  pgxtoimage function. The vulnerability caused an out-of-bounds write, which may
  have lead to remote denial of service or possibly remote code execution
  (bsc#1056562).

This update was imported from the SUSE:SLE-12-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-2017-1142</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/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1056421</URL>
      <Description>SUSE Bug 1056421</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1056562</URL>
      <Description>SUSE Bug 1056562</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1056621</URL>
      <Description>SUSE Bug 1056621</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1056622</URL>
      <Description>SUSE Bug 1056622</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1057511</URL>
      <Description>SUSE Bug 1057511</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2016-10507/</URL>
      <Description>SUSE CVE CVE-2016-10507 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2017-14039/</URL>
      <Description>SUSE CVE CVE-2017-14039 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2017-14040/</URL>
      <Description>SUSE CVE CVE-2017-14040 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2017-14041/</URL>
      <Description>SUSE CVE CVE-2017-14041 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2017-14164/</URL>
      <Description>SUSE CVE CVE-2017-14164 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Package Hub 12">
      <Branch Type="Product Name" Name="SUSE Package Hub 12">
        <FullProductName ProductID="SUSE Package Hub 12" CPE="cpe:/o:suse:packagehub:12">SUSE Package Hub 12</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Package Hub 12 SP1">
      <Branch Type="Product Name" Name="SUSE Package Hub 12 SP1">
        <FullProductName ProductID="SUSE Package Hub 12 SP1" CPE="cpe:/o:suse:packagehub:12:sp1">SUSE Package Hub 12 SP1</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libopenjp2-7-2.1.0-9.1">
      <FullProductName ProductID="libopenjp2-7-2.1.0-9.1">libopenjp2-7-2.1.0-9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="openjpeg2-2.1.0-9.1">
      <FullProductName ProductID="openjpeg2-2.1.0-9.1">openjpeg2-2.1.0-9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="openjpeg2-devel-2.1.0-9.1">
      <FullProductName ProductID="openjpeg2-devel-2.1.0-9.1">openjpeg2-devel-2.1.0-9.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libopenjp2-7-2.1.0-9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 12">
      <FullProductName ProductID="SUSE Package Hub 12:libopenjp2-7-2.1.0-9.1">libopenjp2-7-2.1.0-9.1 as a component of SUSE Package Hub 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="openjpeg2-2.1.0-9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 12">
      <FullProductName ProductID="SUSE Package Hub 12:openjpeg2-2.1.0-9.1">openjpeg2-2.1.0-9.1 as a component of SUSE Package Hub 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="openjpeg2-devel-2.1.0-9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 12">
      <FullProductName ProductID="SUSE Package Hub 12:openjpeg2-devel-2.1.0-9.1">openjpeg2-devel-2.1.0-9.1 as a component of SUSE Package Hub 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="libopenjp2-7-2.1.0-9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 12 SP1">
      <FullProductName ProductID="SUSE Package Hub 12 SP1:libopenjp2-7-2.1.0-9.1">libopenjp2-7-2.1.0-9.1 as a component of SUSE Package Hub 12 SP1</FullProductName>
    </Relationship>
    <Relationship ProductReference="openjpeg2-2.1.0-9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 12 SP1">
      <FullProductName ProductID="SUSE Package Hub 12 SP1:openjpeg2-2.1.0-9.1">openjpeg2-2.1.0-9.1 as a component of SUSE Package Hub 12 SP1</FullProductName>
    </Relationship>
    <Relationship ProductReference="openjpeg2-devel-2.1.0-9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 12 SP1">
      <FullProductName ProductID="SUSE Package Hub 12 SP1:openjpeg2-devel-2.1.0-9.1">openjpeg2-devel-2.1.0-9.1 as a component of SUSE Package Hub 12 SP1</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">Integer overflow vulnerability in the bmp24toimage function in convertbmp.c in OpenJPEG before 2.2.0 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted bmp file.</Note>
    </Notes>
    <CVE>CVE-2016-10507</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Package Hub 12 SP1:libopenjp2-7-2.1.0-9.1</ProductID>
        <ProductID>SUSE Package Hub 12 SP1:openjpeg2-2.1.0-9.1</ProductID>
        <ProductID>SUSE Package Hub 12 SP1:openjpeg2-devel-2.1.0-9.1</ProductID>
        <ProductID>SUSE Package Hub 12:libopenjp2-7-2.1.0-9.1</ProductID>
        <ProductID>SUSE Package Hub 12:openjpeg2-2.1.0-9.1</ProductID>
        <ProductID>SUSE Package Hub 12:openjpeg2-devel-2.1.0-9.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>6.8</BaseScore>
        <Vector>AV:N/AC:M/Au:N/C:P/I:P/A:P</Vector>
      </ScoreSet>
      <ScoreSet>
        <BaseScore>4.3</BaseScore>
        <Vector>AV:N/AC:M/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/>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-10507.html</URL>
        <Description>CVE-2016-10507</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1056421</URL>
        <Description>SUSE Bug 1056421</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 heap-based buffer overflow was discovered in the opj_t2_encode_packet function in lib/openjp2/t2.c in OpenJPEG 2.2.0. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service or possibly unspecified other impact.</Note>
    </Notes>
    <CVE>CVE-2017-14039</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Package Hub 12 SP1:libopenjp2-7-2.1.0-9.1</ProductID>
        <ProductID>SUSE Package Hub 12 SP1:openjpeg2-2.1.0-9.1</ProductID>
        <ProductID>SUSE Package Hub 12 SP1:openjpeg2-devel-2.1.0-9.1</ProductID>
        <ProductID>SUSE Package Hub 12:libopenjp2-7-2.1.0-9.1</ProductID>
        <ProductID>SUSE Package Hub 12:openjpeg2-2.1.0-9.1</ProductID>
        <ProductID>SUSE Package Hub 12:openjpeg2-devel-2.1.0-9.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>6.8</BaseScore>
        <Vector>AV:N/AC:M/Au:N/C:P/I:P/A:P</Vector>
      </ScoreSet>
      <ScoreSet>
        <BaseScore>6.8</BaseScore>
        <Vector>AV:N/AC:M/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/>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-14039.html</URL>
        <Description>CVE-2017-14039</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1056622</URL>
        <Description>SUSE Bug 1056622</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1057511</URL>
        <Description>SUSE Bug 1057511</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 invalid write access was discovered in bin/jp2/convert.c in OpenJPEG 2.2.0, triggering a crash in the tgatoimage function. The vulnerability may lead to remote denial of service or possibly unspecified other impact.</Note>
    </Notes>
    <CVE>CVE-2017-14040</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Package Hub 12 SP1:libopenjp2-7-2.1.0-9.1</ProductID>
        <ProductID>SUSE Package Hub 12 SP1:openjpeg2-2.1.0-9.1</ProductID>
        <ProductID>SUSE Package Hub 12 SP1:openjpeg2-devel-2.1.0-9.1</ProductID>
        <ProductID>SUSE Package Hub 12:libopenjp2-7-2.1.0-9.1</ProductID>
        <ProductID>SUSE Package Hub 12:openjpeg2-2.1.0-9.1</ProductID>
        <ProductID>SUSE Package Hub 12:openjpeg2-devel-2.1.0-9.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:N/A:P</Vector>
      </ScoreSet>
      <ScoreSet>
        <BaseScore>6.8</BaseScore>
        <Vector>AV:N/AC:M/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/>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-14040.html</URL>
        <Description>CVE-2017-14040</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1056621</URL>
        <Description>SUSE Bug 1056621</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">A stack-based buffer overflow was discovered in the pgxtoimage function in bin/jp2/convert.c in OpenJPEG 2.2.0. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service or possibly remote code execution.</Note>
    </Notes>
    <CVE>CVE-2017-14041</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Package Hub 12 SP1:libopenjp2-7-2.1.0-9.1</ProductID>
        <ProductID>SUSE Package Hub 12 SP1:openjpeg2-2.1.0-9.1</ProductID>
        <ProductID>SUSE Package Hub 12 SP1:openjpeg2-devel-2.1.0-9.1</ProductID>
        <ProductID>SUSE Package Hub 12:libopenjp2-7-2.1.0-9.1</ProductID>
        <ProductID>SUSE Package Hub 12:openjpeg2-2.1.0-9.1</ProductID>
        <ProductID>SUSE Package Hub 12:openjpeg2-devel-2.1.0-9.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>6.8</BaseScore>
        <Vector>AV:N/AC:M/Au:N/C:P/I:P/A:P</Vector>
      </ScoreSet>
      <ScoreSet>
        <BaseScore>6.8</BaseScore>
        <Vector>AV:N/AC:M/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/>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-14041.html</URL>
        <Description>CVE-2017-14041</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1056562</URL>
        <Description>SUSE Bug 1056562</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">A size-validation issue was discovered in opj_j2k_write_sot in lib/openjp2/j2k.c in OpenJPEG 2.2.0. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service (heap-based buffer overflow affecting opj_write_bytes_LE in lib/openjp2/cio.c) or possibly remote code execution. NOTE: this vulnerability exists because of an incomplete fix for CVE-2017-14152.</Note>
    </Notes>
    <CVE>CVE-2017-14164</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Package Hub 12 SP1:libopenjp2-7-2.1.0-9.1</ProductID>
        <ProductID>SUSE Package Hub 12 SP1:openjpeg2-2.1.0-9.1</ProductID>
        <ProductID>SUSE Package Hub 12 SP1:openjpeg2-devel-2.1.0-9.1</ProductID>
        <ProductID>SUSE Package Hub 12:libopenjp2-7-2.1.0-9.1</ProductID>
        <ProductID>SUSE Package Hub 12:openjpeg2-2.1.0-9.1</ProductID>
        <ProductID>SUSE Package Hub 12:openjpeg2-devel-2.1.0-9.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>6.8</BaseScore>
        <Vector>AV:N/AC:M/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/>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-14164.html</URL>
        <Description>CVE-2017-14164</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1057511</URL>
        <Description>SUSE Bug 1057511</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
