CVE-2017-5495: 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…
Noroxi assessment
Priority: Monitor (action score 36/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 18.8% (FIRST EPSS); higher than 97.3% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: quagga (Alpine:v3.10) 1.1.1-r0; quagga (openSUSE:Tumbleweed) 1.2.4-2.14; quagga (Red Hat:enterprise_linux:6::server) 0:0.99.15-14.el6.
Low priority for now. Upgrade to quagga (Alpine:v3.10) 1.1.1-r0; quagga (openSUSE:Tumbleweed) 1.2.4-2.14; quagga (Red Hat:enterprise_linux:6::server) 0:0.99.15-14.el6 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jan 24, 2017
- Updated
- Jun 16, 2026
- EPSS
- 18.8% · 97th percentile
- CWE
- CWE-119
Report tools
Action score
36
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 6 / 30 · 18.8%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| quagga | quagga | cpe:2.3:a:quagga:quagga |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- quagga quaggaup to 1.1.0 inclusive
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | quagga | before 1.1.1-r0 | 1.1.1-r0 |
| openSUSE:Tumbleweed | quagga | before 1.2.4-2.14 | 1.2.4-2.14 |
| Red Hat:enterprise_linux:6::server | quagga | before 0:0.99.15-14.el6 | 0:0.99.15-14.el6 |
| Red Hat:enterprise_linux:6::server | quagga-contrib | before 0:0.99.15-14.el6 | 0:0.99.15-14.el6 |
| Red Hat:enterprise_linux:6::server | quagga-debuginfo | before 0:0.99.15-14.el6 | 0:0.99.15-14.el6 |
| Red Hat:enterprise_linux:6::server | quagga-devel | before 0:0.99.15-14.el6 | 0:0.99.15-14.el6 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | quagga | before 1.1.1-17.3.3 | 1.1.1-17.3.3 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | quagga | before 0.99.15-0.30.3.1 | 0.99.15-0.30.3.1 |
| SUSE:OpenStack Cloud 6 | quagga | before 0.99.22.1-16.4.1 | 0.99.22.1-16.4.1 |
Same product
quagga: all recordsOther highest-scoring records for the same primary product.
- CVE-2018-5379The Quagga BGP daemon (bgpd) prior to version 1.2.3 can double-free memory when processing certain forms of UPDATE message, containing…51Plan
- CVE-2018-5378The 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…45Plan
- CVE-2017-16227The 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…44Plan
Published before and after this one in the same product
- ← EarlierCVE-2016-2342Mar 17, 2016 · The bgp_nlri_parse_vpnv4 function in bgp_mplsvpn.c in the VPNv4 NLRI parser in bgpd in Quagga before 1.0.20160309, when a certain VPNv4…36Monitor
- ← EarlierCVE-2016-4049May 23, 2016 · The bgp_dump_routes_func function in bgpd/bgp_dump.c in Quagga does not perform size checks when dumping data, which might allow remote…31Monitor
- Later →CVE-2016-1245Feb 22, 2017 · It was discovered that the zebra daemon in Quagga before 1.0.20161017 suffered from a stack-based buffer overflow when processing IPv6…40Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:quagga | 1.1.1-r0 · Alpine:v3.10 | Package registry (OSV) |
| opensuse:quagga | 1.2.4-2.14 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:quagga | 0:0.99.15-14.el6 · Red Hat:enterprise_linux:6::server | Package registry (OSV) |
| red hat:quagga-contrib | 0:0.99.15-14.el6 · Red Hat:enterprise_linux:6::server | Package registry (OSV) |
| red hat:quagga-debuginfo | 0:0.99.15-14.el6 · Red Hat:enterprise_linux:6::server | Package registry (OSV) |
| red hat:quagga-devel | 0:0.99.15-14.el6 · Red Hat:enterprise_linux:6::server | Package registry (OSV) |
| suse:quagga | 1.1.1-17.3.3 · SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory BufferCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Buffer ManipulationCAPEC-123likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (5 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.