<?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 libXfont</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE-SU-2015:0702-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2015-03-20T15:39:51Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2015-03-20T15:39:51Z</InitialReleaseDate>
    <CurrentReleaseDate>2015-03-20T15:39:51Z</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 libXfont</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">
LibXFont was updated to fix security problems.

Following security issues were fixed:
- CVE-2015-1802: The bdf parser reads a count for the number of properties
  defined in a font from the font file, and allocates arrays with entries for each
  property based on that count. It never checked to see if that count
  was negative, or large enough to overflow when multiplied by the size
  of the structures being allocated, and could thus allocate the wrong
  buffer size, leading to out of bounds writes.

- CVE-2015-1803: If the bdf parser failed to parse the data for the bitmap for any
  character, it would proceed with an invalid pointer to the bitmap
  data and later crash when trying to read the bitmap from that pointer.

- CVE-2015-1804: The bdf parser read metrics values as 32-bit integers, but stored
  them into 16-bit integers. Overflows could occur in various operations
  leading to out-of-bounds memory access. 
</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-SLE-DESKTOP-12-2015-161,SUSE-SLE-SDK-12-2015-161,SUSE-SLE-SERVER-12-2015-161</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/2015/suse-su-20150702-1/</URL>
      <Description>Link for SUSE-SU-2015:0702-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.opensuse.org/opensuse-security-announce/2015-04/msg00005.html</URL>
      <Description>E-Mail link for SUSE-SU-2015:0702-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/921978</URL>
      <Description>SUSE Bug 921978</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2015-1802/</URL>
      <Description>SUSE CVE CVE-2015-1802 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2015-1803/</URL>
      <Description>SUSE CVE CVE-2015-1803 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2015-1804/</URL>
      <Description>SUSE CVE CVE-2015-1804 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Desktop 12">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Desktop 12">
        <FullProductName ProductID="SUSE Linux Enterprise Desktop 12" CPE="cpe:/o:suse:sled:12">SUSE Linux Enterprise Desktop 12</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server 12">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server 12">
        <FullProductName ProductID="SUSE Linux Enterprise Server 12" CPE="cpe:/o:suse:sles:12">SUSE Linux Enterprise Server 12</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server for SAP Applications 12">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server for SAP Applications 12">
        <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12" CPE="cpe:/o:suse:sles_sap:12">SUSE Linux Enterprise Server for SAP Applications 12</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Software Development Kit 12">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Software Development Kit 12">
        <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12" CPE="cpe:/o:suse:sle-sdk:12">SUSE Linux Enterprise Software Development Kit 12</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libXfont1-1.4.7-4.1">
      <FullProductName ProductID="libXfont1-1.4.7-4.1">libXfont1-1.4.7-4.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libXfont-devel-1.4.7-4.1">
      <FullProductName ProductID="libXfont-devel-1.4.7-4.1">libXfont-devel-1.4.7-4.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libXfont1-1.4.7-4.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Desktop 12">
      <FullProductName ProductID="SUSE Linux Enterprise Desktop 12:libXfont1-1.4.7-4.1">libXfont1-1.4.7-4.1 as a component of SUSE Linux Enterprise Desktop 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="libXfont1-1.4.7-4.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12:libXfont1-1.4.7-4.1">libXfont1-1.4.7-4.1 as a component of SUSE Linux Enterprise Server 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="libXfont1-1.4.7-4.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12:libXfont1-1.4.7-4.1">libXfont1-1.4.7-4.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="libXfont-devel-1.4.7-4.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 12">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12:libXfont-devel-1.4.7-4.1">libXfont-devel-1.4.7-4.1 as a component of SUSE Linux Enterprise Software Development Kit 12</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">The bdfReadProperties function in bitmap/bdfread.c in X.Org libXfont before 1.4.9 and 1.5.x before 1.5.1 allows remote authenticated users to cause a denial of service (out-of-bounds write and crash) or possibly execute arbitrary code via a (1) negative or (2) large property count in a BDF font file.</Note>
    </Notes>
    <CVE>CVE-2015-1802</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Desktop 12:libXfont1-1.4.7-4.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12:libXfont1-1.4.7-4.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12:libXfont1-1.4.7-4.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12:libXfont-devel-1.4.7-4.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</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://www.suse.com/support/update/announcement/2015/suse-su-20150702-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2015-1802.html</URL>
        <Description>CVE-2015-1802</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/921978</URL>
        <Description>SUSE Bug 921978</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 bdfReadCharacters function in bitmap/bdfread.c in X.Org libXfont before 1.4.9 and 1.5.x before 1.5.1 does not properly handle character bitmaps it cannot read, which allows remote authenticated users to cause a denial of service (NULL pointer dereference and crash) and possibly execute arbitrary code via a crafted BDF font file.</Note>
    </Notes>
    <CVE>CVE-2015-1803</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Desktop 12:libXfont1-1.4.7-4.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12:libXfont1-1.4.7-4.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12:libXfont1-1.4.7-4.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12:libXfont-devel-1.4.7-4.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</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://www.suse.com/support/update/announcement/2015/suse-su-20150702-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2015-1803.html</URL>
        <Description>CVE-2015-1803</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/921978</URL>
        <Description>SUSE Bug 921978</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">The bdfReadCharacters function in bitmap/bdfread.c in X.Org libXfont before 1.4.9 and 1.5.x before 1.5.1 does not properly perform type conversion for metrics values, which allows remote authenticated users to cause a denial of service (out-of-bounds memory access) and possibly execute arbitrary code via a crafted BDF font file.</Note>
    </Notes>
    <CVE>CVE-2015-1804</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Desktop 12:libXfont1-1.4.7-4.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12:libXfont1-1.4.7-4.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12:libXfont1-1.4.7-4.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12:libXfont-devel-1.4.7-4.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</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://www.suse.com/support/update/announcement/2015/suse-su-20150702-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2015-1804.html</URL>
        <Description>CVE-2015-1804</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/921978</URL>
        <Description>SUSE Bug 921978</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
