{"schemaVersion":4,"id":"CVE-2017-5495","aliases":["ALPINE-CVE-2017-5495","MGASA-2017-0071","UBUNTU-CVE-2017-5495"],"status":"published","duplicateOf":null,"title":null,"description":"All versions of Quagga, 0.93 through 1.1.0, are vulnerable to an unbounded memory allocation in the telnet 'vty' CLI, leading to a Denial-of-Service of Quagga daemons, or even the entire host. When Quagga daemons are configured with their telnet CLI enabled, anyone who can connect to the TCP ports can trigger this vulnerability, prior to authentication. Most distributions restrict the Quagga telnet interface to local access only by default. The Quagga telnet interface 'vty' input buffer grows automatically, without bound, so long as a newline is not entered. This allows an attacker to cause the Quagga daemon to allocate unbounded memory by sending very long strings without a newline. Eventually the daemon is terminated by the system, or the system itself runs out of memory. This is fixed in Quagga 1.1.1 and Free Range Routing (FRR) Protocol Suite 2017-01-10.","dates":{"published":"2017-01-24T07:40:00.000Z","modified":"2024-08-05T15:04:14.942Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:C","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":7.8,"severity":"high","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:C","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.18803,"percentile":0.97362,"severity":"medium","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.18803},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.1248,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.18803,"percentile":0.97362}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.18803,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.18803,"percentile":0.97362}]},"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-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/119.html"}],"affected":[{"vendor":"alpine","product":"quagga","name":"quagga","label":"quagga","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/quagga","purlType":"apk","versions":[{"text":"< 1.1.1-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.1.1-r0","endInclusive":false}}],"versionsText":"< 1.1.1-r0","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,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.99.22.4-3ubuntu1.4","endInclusive":false}},{"text":"< 0.99.24.1-2ubuntu1.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.99.24.1-2ubuntu1.3","endInclusive":false}}],"versionsText":"< 0.99.22.4-3ubuntu1.4 | < 0.99.24.1-2ubuntu1.3","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.22.4-4.4.mga5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.99.22.4-4.4.mga5","endInclusive":false}}],"versionsText":"< 0.99.22.4-4.4.mga5","eol":null,"hubHref":null},{"vendor":"quagga","product":"quagga","name":"quagga","label":"quagga","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.1.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.1.0","endInclusive":true}}],"versionsText":"≤ 1.1.0","eol":null,"hubHref":"/vendor/quagga/quagga"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://rhn.redhat.com/errata/RHSA-2017-0794.html","label":"rhn.redhat.com/errata/RHSA-2017-0794.html","hostname":"rhn.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://savannah.nongnu.org/forum/forum.php?forum_id=8783","label":"savannah.nongnu.org/forum/forum.php?forum_id=8783","hostname":"savannah.nongnu.org","tags":["X Refsource CONFIRM","Release Notes","Vendor Advisory","REPORT"]},{"url":"https://github.com/freerangerouting/frr/pull/63","label":"github.com/freerangerouting/frr/pull/63","hostname":"github.com","tags":["X Refsource CONFIRM","Patch","Vendor Advisory","REPORT"]},{"url":"http://www.securitytracker.com/id/1037688","label":"www.securitytracker.com/id/1037688","hostname":"www.securitytracker.com","tags":["VDB Entry","X Refsource SECTRACK"]},{"url":"https://lists.quagga.net/pipermail/quagga-dev/2017-January/016586.html","label":"lists.quagga.net/pipermail/quagga-dev/2017-January/016586.html","hostname":"lists.quagga.net","tags":["X Refsource CONFIRM","WEB"]},{"url":"http://www.securityfocus.com/bid/95745","label":"www.securityfocus.com/bid/95745","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2017-5495","label":"security.alpinelinux.org/vuln/CVE-2017-5495","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2017-0071.html","label":"advisories.mageia.org/MGASA-2017-0071.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=20271","label":"bugs.mageia.org/show_bug.cgi?id=20271","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/NKP6QWJW7XWDE4O42UCR5L534GOHVIQN/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2017-5495","label":"ubuntu.com/security/CVE-2017-5495","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"http://mirror.easyname.at/nongnu//quagga/quagga-1.1.1.changelog.txt","label":"mirror.easyname.at/nongnu//quagga/quagga-1.1.1.changelog.txt","hostname":"mirror.easyname.at","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-5495","label":"www.cve.org/CVERecord?id=CVE-2017-5495","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:11290-1","RHSA-2017:0794","SUSE-SU-2017:2294-1","SUSE-SU-2018:0455-1","SUSE-SU-2018:0457-1","USN-3471-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:11290-1","SUSE-SU-2017:2294-1","SUSE-SU-2018:0455-1","SUSE-SU-2018:0457-1","USN-3471-1"]},"timeline":[{"kind":"published","date":"2017-01-24T07:40:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T15:04:14.942Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 19% (FIRST, 04-12-2026)","nextStep":"Check applicability and the vendor advisory: no fix release is recorded here","rank":[0,0,0,0,19,75],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.18803,"stale":false,"promoted":null},{"type":"cvss","source":"nvd","date":"2024-08-05T15:04:14.942Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.0","headline":true},{"type":"cvss","source":"nvd","date":"2024-08-05T15:04:14.942Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:C","version":"2.0"},{"type":"cvss","source":"osv_alpine","date":"2024-08-05T15:04:14.942Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.0"},{"type":"cvss","source":"osv_ubuntu","date":"2024-08-05T15:04:14.942Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.0"}],"epss":{"value":0.18803,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T04:02:19.840Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T04:02:20.356Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T04:02:20.556Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T04:00:57.992Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T04:02:18.199Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T04:02:17.270Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T04:25:34.909Z","stale":false,"partial":false}}