<?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 gd</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:0548-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2017-02-22T16:08:52Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2017-02-22T16:08:52Z</InitialReleaseDate>
    <CurrentReleaseDate>2017-02-22T16:08:52Z</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 gd</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">
This update for gd fixes the following security issues:

- CVE-2016-6906: An out-of-bounds read in TGA decompression was fixed which could have lead to crashes. (bsc#1022553)
- CVE-2016-6912: Double free vulnerability in the gdImageWebPtr function
  in the GD Graphics Library (aka libgd) allowed remote attackers to have
  unspecified impact via large width and height values. (bsc#1022284)
- CVE-2016-9317: The gdImageCreate function in the GD Graphics Library
  (aka libgd) allowed remote attackers to cause a denial of service
  (system hang) via an oversized image.  (bsc#1022283)
- CVE-2016-10166: A potential unsigned underflow in gd interpolation
  functions could lead to memory corruption in the GD Graphics Library (aka libgd) (bsc#1022263)
- CVE-2016-10167: A denial of service problem in gdImageCreateFromGd2Ctx()
  could lead to libgd running out of memory even on small files. (bsc#1022264)
- CVE-2016-10168: A signed integer overflow in the GD Graphics Library (aka libgd) could lead
  to memory corruption (bsc#1022265)

This update was imported from the SUSE:SLE-12: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>
  </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/opensuse-updates/2017-02/msg00101.html</URL>
      <Description>E-Mail link for openSUSE-SU-2017:0548-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="openSUSE Leap 42.1">
      <Branch Type="Product Name" Name="openSUSE Leap 42.1">
        <FullProductName ProductID="openSUSE Leap 42.1">openSUSE Leap 42.1</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="openSUSE Leap 42.2">
      <Branch Type="Product Name" Name="openSUSE Leap 42.2">
        <FullProductName ProductID="openSUSE Leap 42.2">openSUSE Leap 42.2</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="gd-2.1.0-16.1">
      <FullProductName ProductID="gd-2.1.0-16.1">gd-2.1.0-16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="gd-32bit-2.1.0-16.1">
      <FullProductName ProductID="gd-32bit-2.1.0-16.1">gd-32bit-2.1.0-16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="gd-devel-2.1.0-16.1">
      <FullProductName ProductID="gd-devel-2.1.0-16.1">gd-devel-2.1.0-16.1</FullProductName>
    </Branch>
    <Relationship ProductReference="gd-2.1.0-16.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:gd-2.1.0-16.1">gd-2.1.0-16.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="gd-32bit-2.1.0-16.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:gd-32bit-2.1.0-16.1">gd-32bit-2.1.0-16.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="gd-devel-2.1.0-16.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:gd-devel-2.1.0-16.1">gd-devel-2.1.0-16.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="gd-2.1.0-16.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.2">
      <FullProductName ProductID="openSUSE Leap 42.2:gd-2.1.0-16.1">gd-2.1.0-16.1 as a component of openSUSE Leap 42.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="gd-32bit-2.1.0-16.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.2">
      <FullProductName ProductID="openSUSE Leap 42.2:gd-32bit-2.1.0-16.1">gd-32bit-2.1.0-16.1 as a component of openSUSE Leap 42.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="gd-devel-2.1.0-16.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.2">
      <FullProductName ProductID="openSUSE Leap 42.2:gd-devel-2.1.0-16.1">gd-devel-2.1.0-16.1 as a component of openSUSE Leap 42.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">Integer underflow in the _gdContributionsAlloc function in gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to have unspecified impact via vectors related to decrementing the u variable.</Note>
    </Notes>
    <CVE>CVE-2016-10166</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.1:gd-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:gd-32bit-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:gd-devel-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.2:gd-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.2:gd-32bit-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.2:gd-devel-2.1.0-16.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>4.4</BaseScore>
        <Vector>AV:L/AC:M/Au:N/C:P/I:P/A:P</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-updates/2017-02/msg00101.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-10166.html</URL>
        <Description>CVE-2016-10166</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1022069</URL>
        <Description>SUSE Bug 1022069</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1022263</URL>
        <Description>SUSE Bug 1022263</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">The gdImageCreateFromGd2Ctx function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to cause a denial of service (application crash) via a crafted image file.</Note>
    </Notes>
    <CVE>CVE-2016-10167</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.1:gd-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:gd-32bit-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:gd-devel-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.2:gd-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.2:gd-32bit-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.2:gd-devel-2.1.0-16.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>1.9</BaseScore>
        <Vector>AV:L/AC:M/Au:N/C:N/I:N/A:P</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-updates/2017-02/msg00101.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-10167.html</URL>
        <Description>CVE-2016-10167</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1022069</URL>
        <Description>SUSE Bug 1022069</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1022264</URL>
        <Description>SUSE Bug 1022264</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">Integer overflow in gd_io.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to have unspecified impact via vectors involving the number of horizontal and vertical chunks in an image.</Note>
    </Notes>
    <CVE>CVE-2016-10168</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.1:gd-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:gd-32bit-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:gd-devel-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.2:gd-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.2:gd-32bit-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.2:gd-devel-2.1.0-16.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>4.4</BaseScore>
        <Vector>AV:L/AC:M/Au:N/C:P/I:P/A:P</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-updates/2017-02/msg00101.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-10168.html</URL>
        <Description>CVE-2016-10168</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1022069</URL>
        <Description>SUSE Bug 1022069</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1022265</URL>
        <Description>SUSE Bug 1022265</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">The read_image_tga function in gd_tga.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted TGA file, related to the decompression buffer.</Note>
    </Notes>
    <CVE>CVE-2016-6906</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.1:gd-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:gd-32bit-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:gd-devel-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.2:gd-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.2:gd-32bit-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.2:gd-devel-2.1.0-16.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>1.9</BaseScore>
        <Vector>AV:L/AC:M/Au:N/C:N/I:N/A:P</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-updates/2017-02/msg00101.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-6906.html</URL>
        <Description>CVE-2016-6906</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1022553</URL>
        <Description>SUSE Bug 1022553</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">Double free vulnerability in the gdImageWebPtr function in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to have unspecified impact via large width and height values.</Note>
    </Notes>
    <CVE>CVE-2016-6912</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.1:gd-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:gd-32bit-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:gd-devel-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.2:gd-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.2:gd-32bit-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.2:gd-devel-2.1.0-16.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>7.5</BaseScore>
        <Vector>AV:N/AC:L/Au:N/C:P/I:P/A:P</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-updates/2017-02/msg00101.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-6912.html</URL>
        <Description>CVE-2016-6912</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1022284</URL>
        <Description>SUSE Bug 1022284</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 gdImageCreate function in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to cause a denial of service (system hang) via an oversized image.</Note>
    </Notes>
    <CVE>CVE-2016-9317</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.1:gd-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:gd-32bit-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:gd-devel-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.2:gd-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.2:gd-32bit-2.1.0-16.1</ProductID>
        <ProductID>openSUSE Leap 42.2:gd-devel-2.1.0-16.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>5</BaseScore>
        <Vector>AV:N/AC:L/Au:N/C:N/I:N/A:P</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-updates/2017-02/msg00101.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-9317.html</URL>
        <Description>CVE-2016-9317</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1022283</URL>
        <Description>SUSE Bug 1022283</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
