<?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 quagga</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:0473-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2018-02-19T09:12:07Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2018-02-19T09:12:07Z</InitialReleaseDate>
    <CurrentReleaseDate>2018-02-19T09:12:07Z</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 quagga</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for quagga fixes the following issues:

- CVE-2017-16227: Fixed bgpd DoS via specially crafted BGP UPDATE messages (boo#1065641)
- CVE-2018-5378: Fixed bgpd bounds check issue via attribute length (Quagga-2018-0543,boo#1079798)
- CVE-2018-5379: Fixed bgpd double free when processing UPDATE message (Quagga-2018-1114,boo#1079799)
- CVE-2018-5380: Fixed bgpd code-to-string conversion tables overrun (Quagga-2018-1550,boo#1079800)
- CVE-2018-5381: Fixed bgpd infinite loop on certain invalid OPEN messages (Quagga-2018-1975,boo#1079801)
</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-security-announce/2018-02/msg00037.html</URL>
      <Description>E-Mail link for openSUSE-SU-2018:0473-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://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/prod">
    <Branch Type="Product Family" Name="openSUSE Leap 42.3">
      <Branch Type="Product Name" Name="openSUSE Leap 42.3">
        <FullProductName ProductID="openSUSE Leap 42.3">openSUSE Leap 42.3</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libfpm_pb0-1.1.1-18.3.1">
      <FullProductName ProductID="libfpm_pb0-1.1.1-18.3.1">libfpm_pb0-1.1.1-18.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libospf0-1.1.1-18.3.1">
      <FullProductName ProductID="libospf0-1.1.1-18.3.1">libospf0-1.1.1-18.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libospfapiclient0-1.1.1-18.3.1">
      <FullProductName ProductID="libospfapiclient0-1.1.1-18.3.1">libospfapiclient0-1.1.1-18.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libquagga_pb0-1.1.1-18.3.1">
      <FullProductName ProductID="libquagga_pb0-1.1.1-18.3.1">libquagga_pb0-1.1.1-18.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libzebra1-1.1.1-18.3.1">
      <FullProductName ProductID="libzebra1-1.1.1-18.3.1">libzebra1-1.1.1-18.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="quagga-1.1.1-18.3.1">
      <FullProductName ProductID="quagga-1.1.1-18.3.1">quagga-1.1.1-18.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="quagga-devel-1.1.1-18.3.1">
      <FullProductName ProductID="quagga-devel-1.1.1-18.3.1">quagga-devel-1.1.1-18.3.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libfpm_pb0-1.1.1-18.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:libfpm_pb0-1.1.1-18.3.1">libfpm_pb0-1.1.1-18.3.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="libospf0-1.1.1-18.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:libospf0-1.1.1-18.3.1">libospf0-1.1.1-18.3.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="libospfapiclient0-1.1.1-18.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:libospfapiclient0-1.1.1-18.3.1">libospfapiclient0-1.1.1-18.3.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="libquagga_pb0-1.1.1-18.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:libquagga_pb0-1.1.1-18.3.1">libquagga_pb0-1.1.1-18.3.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="libzebra1-1.1.1-18.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:libzebra1-1.1.1-18.3.1">libzebra1-1.1.1-18.3.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="quagga-1.1.1-18.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:quagga-1.1.1-18.3.1">quagga-1.1.1-18.3.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="quagga-devel-1.1.1-18.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:quagga-devel-1.1.1-18.3.1">quagga-devel-1.1.1-18.3.1 as a component of openSUSE Leap 42.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">The aspath_put function in bgpd/bgp_aspath.c in Quagga before 1.2.2 allows remote attackers to cause a denial of service (session drop) via BGP UPDATE messages, because AS_PATH size calculation for long paths counts certain bytes twice and consequently constructs an invalid message.</Note>
    </Notes>
    <CVE>CVE-2017-16227</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:libfpm_pb0-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libospf0-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libospfapiclient0-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libquagga_pb0-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libzebra1-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:quagga-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:quagga-devel-1.1.1-18.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSetV2>
        <BaseScoreV2>5</BaseScoreV2>
        <VectorV2>AV:N/AC:L/Au:N/C:N/I:N/A:P</VectorV2>
      </ScoreSetV2>
      <ScoreSetV3>
        <BaseScoreV3>7.5</BaseScoreV3>
        <VectorV3>CVSS:3.0/AV:N/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">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-security-announce/2018-02/msg00037.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-16227.html</URL>
        <Description>CVE-2017-16227</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1065641</URL>
        <Description>SUSE Bug 1065641</Description>
      </Reference>
    </References>
  </vuln:Vulnerability>
  <vuln:Vulnerability xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/vuln" Ordinal="2">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">The Quagga BGP daemon (bgpd) prior to version 1.2.3 does not properly bounds check the data sent with a NOTIFY to a peer, if an attribute length is invalid. Arbitrary data from the bgpd process may be sent over the network to a peer and/or bgpd may crash.</Note>
    </Notes>
    <CVE>CVE-2018-5378</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:libfpm_pb0-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libospf0-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libospfapiclient0-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libquagga_pb0-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libzebra1-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:quagga-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:quagga-devel-1.1.1-18.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSetV2>
        <BaseScoreV2>4.9</BaseScoreV2>
        <VectorV2>AV:N/AC:M/Au:S/C:P/I:N/A:P</VectorV2>
      </ScoreSetV2>
      <ScoreSetV3>
        <BaseScoreV3>5.9</BaseScoreV3>
        <VectorV3>CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:H</VectorV3>
      </ScoreSetV3>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-security-announce/2018-02/msg00037.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-5378.html</URL>
        <Description>CVE-2018-5378</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1079798</URL>
        <Description>SUSE Bug 1079798</Description>
      </Reference>
    </References>
  </vuln:Vulnerability>
  <vuln:Vulnerability xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/vuln" Ordinal="3">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">The Quagga BGP daemon (bgpd) prior to version 1.2.3 can double-free memory when processing certain forms of UPDATE message, containing cluster-list and/or unknown attributes. A successful attack could cause a denial of service or potentially allow an attacker to execute arbitrary code.</Note>
    </Notes>
    <CVE>CVE-2018-5379</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:libfpm_pb0-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libospf0-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libospfapiclient0-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libquagga_pb0-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libzebra1-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:quagga-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:quagga-devel-1.1.1-18.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSetV2>
        <BaseScoreV2>7.5</BaseScoreV2>
        <VectorV2>AV:N/AC:L/Au:N/C:P/I:P/A:P</VectorV2>
      </ScoreSetV2>
      <ScoreSetV3>
        <BaseScoreV3>9.8</BaseScoreV3>
        <VectorV3>CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H</VectorV3>
      </ScoreSetV3>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-security-announce/2018-02/msg00037.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-5379.html</URL>
        <Description>CVE-2018-5379</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1079799</URL>
        <Description>SUSE Bug 1079799</Description>
      </Reference>
    </References>
  </vuln:Vulnerability>
  <vuln:Vulnerability xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/vuln" Ordinal="4">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">The Quagga BGP daemon (bgpd) prior to version 1.2.3 can overrun internal BGP code-to-string conversion tables used for debug by 1 pointer value, based on input.</Note>
    </Notes>
    <CVE>CVE-2018-5380</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:libfpm_pb0-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libospf0-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libospfapiclient0-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libquagga_pb0-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libzebra1-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:quagga-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:quagga-devel-1.1.1-18.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSetV2>
        <BaseScoreV2>4</BaseScoreV2>
        <VectorV2>AV:N/AC:L/Au:S/C:N/I:N/A:P</VectorV2>
      </ScoreSetV2>
      <ScoreSetV3>
        <BaseScoreV3>4.3</BaseScoreV3>
        <VectorV3>CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L</VectorV3>
      </ScoreSetV3>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-security-announce/2018-02/msg00037.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-5380.html</URL>
        <Description>CVE-2018-5380</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1079800</URL>
        <Description>SUSE Bug 1079800</Description>
      </Reference>
    </References>
  </vuln:Vulnerability>
  <vuln:Vulnerability xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/vuln" Ordinal="5">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">The Quagga BGP daemon (bgpd) prior to version 1.2.3 has a bug in its parsing of "Capabilities" in BGP OPEN messages, in the bgp_packet.c:bgp_capability_msg_parse function. The parser can enter an infinite loop on invalid capabilities if a Multi-Protocol capability does not have a recognized AFI/SAFI, causing a denial of service.</Note>
    </Notes>
    <CVE>CVE-2018-5381</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:libfpm_pb0-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libospf0-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libospfapiclient0-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libquagga_pb0-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libzebra1-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:quagga-1.1.1-18.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:quagga-devel-1.1.1-18.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSetV2>
        <BaseScoreV2>5</BaseScoreV2>
        <VectorV2>AV:N/AC:L/Au:N/C:N/I:N/A:P</VectorV2>
      </ScoreSetV2>
      <ScoreSetV3>
        <BaseScoreV3>7.5</BaseScoreV3>
        <VectorV3>CVSS:3.0/AV:N/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">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-security-announce/2018-02/msg00037.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-5381.html</URL>
        <Description>CVE-2018-5381</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1079801</URL>
        <Description>SUSE Bug 1079801</Description>
      </Reference>
    </References>
  </vuln:Vulnerability>
</cvrfdoc>
