<?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 pdns</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>openSUSE-SU-2018:1462-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2018-05-29T10:59:00Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2018-05-29T10:59:00Z</InitialReleaseDate>
    <CurrentReleaseDate>2018-05-29T10:59:00Z</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 pdns</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">
pdns was updated to 4.1.2.

Security fixes:

* Dnsreplay: bail out on a too small outgoing buffer (CVE-2018-1046 bsc#1092540)

Improvements:

* API: increase serial after dnssec related updates
* Auth: lower ‘packet too short’ loglevel
* Make check-zone error on rows that have content but shouldn’t
* Auth: avoid an isane amount of new backend connections during an axfr
* Report unparseable data in stoul invalid_argument exception
* Backport: recheck serial when axfr is done
* Backport: add tcp support for alias

Bug Fixes:

* Auth: allocate new statements after reconnecting to postgresql
* Auth-bindbackend: only compare ips in ismaster() (Kees Monshouwer)
* Rather than crash, sheepishly report no file/linenum
* Document undocumented config vars
* Backport #6276 (auth 4.1.x): prevent cname + other data with dnsupdate

Misc fixes:

* Move includes around to avoid boost L conflict
* Backport: update edns option code list
* Auth: link dnspcap2protobuf against librt when needed
* Fix a warning on botan &amp;gt;= 2.5.0
* Auth 4.1.x: unbreak build

</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-2018-538</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/HQSPXZY2QFCLZMVTDYNDOWYILQUQS6NR/#HQSPXZY2QFCLZMVTDYNDOWYILQUQS6NR</URL>
      <Description>E-Mail link for openSUSE-SU-2018:1462-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/1092540</URL>
      <Description>SUSE Bug 1092540</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-1046/</URL>
      <Description>SUSE CVE CVE-2018-1046 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <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="pdns-4.1.2-8.1">
      <FullProductName ProductID="pdns-4.1.2-8.1">pdns-4.1.2-8.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="pdns-backend-godbc-4.1.2-8.1">
      <FullProductName ProductID="pdns-backend-godbc-4.1.2-8.1">pdns-backend-godbc-4.1.2-8.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="pdns-backend-ldap-4.1.2-8.1">
      <FullProductName ProductID="pdns-backend-ldap-4.1.2-8.1">pdns-backend-ldap-4.1.2-8.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="pdns-backend-lua-4.1.2-8.1">
      <FullProductName ProductID="pdns-backend-lua-4.1.2-8.1">pdns-backend-lua-4.1.2-8.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="pdns-backend-mydns-4.1.2-8.1">
      <FullProductName ProductID="pdns-backend-mydns-4.1.2-8.1">pdns-backend-mydns-4.1.2-8.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="pdns-backend-mysql-4.1.2-8.1">
      <FullProductName ProductID="pdns-backend-mysql-4.1.2-8.1">pdns-backend-mysql-4.1.2-8.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="pdns-backend-postgresql-4.1.2-8.1">
      <FullProductName ProductID="pdns-backend-postgresql-4.1.2-8.1">pdns-backend-postgresql-4.1.2-8.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="pdns-backend-remote-4.1.2-8.1">
      <FullProductName ProductID="pdns-backend-remote-4.1.2-8.1">pdns-backend-remote-4.1.2-8.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="pdns-backend-sqlite3-4.1.2-8.1">
      <FullProductName ProductID="pdns-backend-sqlite3-4.1.2-8.1">pdns-backend-sqlite3-4.1.2-8.1</FullProductName>
    </Branch>
    <Relationship ProductReference="pdns-4.1.2-8.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 12 SP1">
      <FullProductName ProductID="SUSE Package Hub 12 SP1:pdns-4.1.2-8.1">pdns-4.1.2-8.1 as a component of SUSE Package Hub 12 SP1</FullProductName>
    </Relationship>
    <Relationship ProductReference="pdns-backend-godbc-4.1.2-8.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 12 SP1">
      <FullProductName ProductID="SUSE Package Hub 12 SP1:pdns-backend-godbc-4.1.2-8.1">pdns-backend-godbc-4.1.2-8.1 as a component of SUSE Package Hub 12 SP1</FullProductName>
    </Relationship>
    <Relationship ProductReference="pdns-backend-ldap-4.1.2-8.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 12 SP1">
      <FullProductName ProductID="SUSE Package Hub 12 SP1:pdns-backend-ldap-4.1.2-8.1">pdns-backend-ldap-4.1.2-8.1 as a component of SUSE Package Hub 12 SP1</FullProductName>
    </Relationship>
    <Relationship ProductReference="pdns-backend-lua-4.1.2-8.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 12 SP1">
      <FullProductName ProductID="SUSE Package Hub 12 SP1:pdns-backend-lua-4.1.2-8.1">pdns-backend-lua-4.1.2-8.1 as a component of SUSE Package Hub 12 SP1</FullProductName>
    </Relationship>
    <Relationship ProductReference="pdns-backend-mydns-4.1.2-8.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 12 SP1">
      <FullProductName ProductID="SUSE Package Hub 12 SP1:pdns-backend-mydns-4.1.2-8.1">pdns-backend-mydns-4.1.2-8.1 as a component of SUSE Package Hub 12 SP1</FullProductName>
    </Relationship>
    <Relationship ProductReference="pdns-backend-mysql-4.1.2-8.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 12 SP1">
      <FullProductName ProductID="SUSE Package Hub 12 SP1:pdns-backend-mysql-4.1.2-8.1">pdns-backend-mysql-4.1.2-8.1 as a component of SUSE Package Hub 12 SP1</FullProductName>
    </Relationship>
    <Relationship ProductReference="pdns-backend-postgresql-4.1.2-8.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 12 SP1">
      <FullProductName ProductID="SUSE Package Hub 12 SP1:pdns-backend-postgresql-4.1.2-8.1">pdns-backend-postgresql-4.1.2-8.1 as a component of SUSE Package Hub 12 SP1</FullProductName>
    </Relationship>
    <Relationship ProductReference="pdns-backend-remote-4.1.2-8.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 12 SP1">
      <FullProductName ProductID="SUSE Package Hub 12 SP1:pdns-backend-remote-4.1.2-8.1">pdns-backend-remote-4.1.2-8.1 as a component of SUSE Package Hub 12 SP1</FullProductName>
    </Relationship>
    <Relationship ProductReference="pdns-backend-sqlite3-4.1.2-8.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 12 SP1">
      <FullProductName ProductID="SUSE Package Hub 12 SP1:pdns-backend-sqlite3-4.1.2-8.1">pdns-backend-sqlite3-4.1.2-8.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">pdns before version 4.1.2 is vulnerable to a buffer overflow in dnsreplay. In the dnsreplay tool provided with PowerDNS Authoritative, replaying a specially crafted PCAP file can trigger a stack-based buffer overflow, leading to a crash and potentially arbitrary code execution. This buffer overflow only occurs when the -ecs-stamp option of dnsreplay is used.</Note>
    </Notes>
    <CVE>CVE-2018-1046</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Package Hub 12 SP1:pdns-4.1.2-8.1</ProductID>
        <ProductID>SUSE Package Hub 12 SP1:pdns-backend-godbc-4.1.2-8.1</ProductID>
        <ProductID>SUSE Package Hub 12 SP1:pdns-backend-ldap-4.1.2-8.1</ProductID>
        <ProductID>SUSE Package Hub 12 SP1:pdns-backend-lua-4.1.2-8.1</ProductID>
        <ProductID>SUSE Package Hub 12 SP1:pdns-backend-mydns-4.1.2-8.1</ProductID>
        <ProductID>SUSE Package Hub 12 SP1:pdns-backend-mysql-4.1.2-8.1</ProductID>
        <ProductID>SUSE Package Hub 12 SP1:pdns-backend-postgresql-4.1.2-8.1</ProductID>
        <ProductID>SUSE Package Hub 12 SP1:pdns-backend-remote-4.1.2-8.1</ProductID>
        <ProductID>SUSE Package Hub 12 SP1:pdns-backend-sqlite3-4.1.2-8.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>9.3</BaseScore>
        <Vector>AV:N/AC:M/Au:N/C:C/I:C/A:C</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>https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/HQSPXZY2QFCLZMVTDYNDOWYILQUQS6NR/#HQSPXZY2QFCLZMVTDYNDOWYILQUQS6NR</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-1046.html</URL>
        <Description>CVE-2018-1046</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1092540</URL>
        <Description>SUSE Bug 1092540</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
