{"schemaVersion":3,"id":"CVE-2017-16227","aliases":["ALPINE-CVE-2017-16227","MGASA-2017-0416","UBUNTU-CVE-2017-16227","DLA-1152-1","DSA-4011-1"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2017-10-29T20:00:00.000Z","modified":"2024-08-05T20:20:04.858Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Alpine","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":0.1879,"percentile":0.97253,"severity":"medium","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.1879},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.12748,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.1879,"percentile":0.97253}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.12748,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.1879,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.1879,"percentile":0.97253}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"}],"affected":[{"vendor":"alpine","product":"quagga","name":"quagga","label":"quagga","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/quagga","purlType":"apk","versions":[{"text":"< 0.99.24.1-r6","noFixRecorded":false,"fixedIn":null},{"text":"< 1.0.20161017-r1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.1.1-r1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.2.2-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.99.24.1-r6 | < 1.0.20161017-r1 | < 1.1.1-r1 | < 1.2.2-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"quagga","name":"quagga","label":"quagga","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/quagga","purlType":"deb","versions":[{"text":"< 0.99.23.1-1+deb8u4","noFixRecorded":false,"fixedIn":null},{"text":"< 1.1.1-3+deb9u1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.99.22.4-1+wheezy3+deb7u2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.99.23.1-1+deb8u4 | < 1.1.1-3+deb9u1 | < 0.99.22.4-1+wheezy3+deb7u2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"quagga","name":"quagga","label":"quagga","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/quagga","purlType":"deb","versions":[{"text":"< 0.99.22.4-3ubuntu1.4","noFixRecorded":false,"fixedIn":null},{"text":"< 0.99.24.1-2ubuntu1.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.99.22.4-3ubuntu1.4 | < 0.99.24.1-2ubuntu1.3","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0 | 9.0","eol":{"isEol":true,"eolDate":"2020-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Jessie)","eolFrom":"2020-06-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"8.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"mageia","product":"quagga","name":"quagga","label":"quagga","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/quagga","purlType":"rpm","versions":[{"text":"< 0.99.22.4-4.5.mga5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.99.22.4-4.5.mga5","eol":null,"hubHref":null},{"vendor":"mageia","product":"quagga","name":"quagga","label":"quagga","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/quagga","purlType":"rpm","versions":[{"text":"< 0.99.24.1-6.1.mga6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.99.24.1-6.1.mga6","eol":null,"hubHref":null},{"vendor":"quagga","product":"quagga","name":"quagga","label":"quagga","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.2.1","eol":null,"hubHref":"/vendor/quagga/quagga"}],"affectedCount":7,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://bugs.debian.org/879474","label":"bugs.debian.org/879474","hostname":"bugs.debian.org","tags":["X Refsource MISC","Issue Tracking","Patch","Third Party Advisory"]},{"url":"http://download.savannah.gnu.org/releases/quagga/quagga-1.2.2.changelog.txt","label":"download.savannah.gnu.org/releases/quagga/quagga-1.2.2.changelog.txt","hostname":"download.savannah.gnu.org","tags":["X Refsource MISC","Issue Tracking","Third Party Advisory","REPORT"]},{"url":"http://www.debian.org/security/2017/dsa-4011","label":"www.debian.org/security/2017/dsa-4011","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Issue Tracking","Third Party Advisory"]},{"url":"https://git.savannah.gnu.org/cgit/quagga.git/commit/?id=7a42b78be9a4108d98833069a88e6fddb9285008","label":"git.savannah.gnu.org/cgit/quagga.git/commit/?id=7a42b78be9a4108d98833069a88e6fddb9285008","hostname":"git.savannah.gnu.org","tags":["X Refsource MISC","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://lists.quagga.net/pipermail/quagga-dev/2017-September/033284.html","label":"lists.quagga.net/pipermail/quagga-dev/2017-September/033284.html","hostname":"lists.quagga.net","tags":["X Refsource MISC","Issue Tracking","Patch","Third Party Advisory","WEB","REPORT"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2017-16227","label":"security.alpinelinux.org/vuln/CVE-2017-16227","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2017-0416.html","label":"advisories.mageia.org/MGASA-2017-0416.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=21967","label":"bugs.mageia.org/show_bug.cgi?id=21967","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"http://openwall.com/lists/oss-security/2017/10/30/4","label":"openwall.com/lists/oss-security/2017/10/30/4","hostname":"openwall.com","tags":["WEB"]},{"url":"https://www.debian.org/security/2017/dsa-4011","label":"www.debian.org/security/2017/dsa-4011","hostname":"www.debian.org","tags":["WEB"]},{"url":"http://git.savannah.gnu.org/cgit/quagga.git/commit/?id=7a42b78be9a4108d98833069a88e6fddb9285008","label":"git.savannah.gnu.org/cgit/quagga.git/commit/?id=7a42b78be9a4108d98833069a88e6fddb9285008","hostname":"git.savannah.gnu.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2017-16227","label":"ubuntu.com/security/CVE-2017-16227","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3471-1","label":"ubuntu.com/security/notices/USN-3471-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-16227","label":"www.cve.org/CVERecord?id=CVE-2017-16227","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:11290-1","SUSE-SU-2018:0455-1","SUSE-SU-2018:0456-1","SUSE-SU-2018:0457-1","USN-3471-1"],"duplicates":["CVE-2017-1000435"],"related":["OPENSUSE-SU-2024:11290-1","SUSE-SU-2018:0455-1","SUSE-SU-2018:0456-1","SUSE-SU-2018:0457-1","USN-3471-1"]},"timeline":[{"kind":"published","date":"2017-10-29T20:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T20:20:04.858Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":34,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T10:13:12.515Z","stale":false,"partial":false}}