CVE-2024-21613: Junos OS and Junos OS Evolved: A link flap causes patroot memory leak which leads to rpd crash
A Missing Release of Memory after Effective Lifetime vulnerability in Routing Protocol Daemon (RPD) of Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated, adjacent attacker to cause an rpd crash, leading to Denial of Service (DoS).
On all Junos OS and Junos OS Evolved platforms, when traffic engineering is enabled for OSPF or ISIS, and a link flaps, a patroot memory leak is observed. This memory leak, over time, will lead to an rpd crash and restart.
The memory usage can be monitored using the below command.
user@host> show task memory detail | match patroot This issue affects:
Juniper Networks Junos OS
All versions earlier than 21.2R3-S3; 21.3 versions earlier than 21.3R3-S5; 21.4 versions earlier than 21.4R3-S3; 22.1 versions earlier than 22.1R3; 22.2 versions earlier than 22.2R3.
Juniper Networks Junos OS Evolved
All versions earlier than 21.3R3-S5-EVO; 21.4 versions earlier than 21.4R3-EVO; 22.1 versions earlier than 22.1R3-EVO; 22.2 versions earlier than 22.2R3-EVO.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Juniper Networks Junos OS / Junos OS Evolved (Routing Protocol Daemon rpd)to a version that resolves this vulnerability.Fixed in 21.3R3-S5-EVO - Upgrade
Upgrade
Juniper Networks Junos OS / Junos OS Evolved (Routing Protocol Daemon rpd)to a version that resolves this vulnerability.Fixed in 21.4R3-EVO - Upgrade
Upgrade
Juniper Networks Junos OS / Junos OS Evolved (Routing Protocol Daemon rpd)to a version that resolves this vulnerability.Fixed in 21.4R3-S3 - Upgrade
Upgrade
Juniper Networks Junos OS / Junos OS Evolved (Routing Protocol Daemon rpd)to a version that resolves this vulnerability.Fixed in 22.1R3-EVO - Upgrade
Upgrade
Juniper Networks Junos OS / Junos OS Evolved (Routing Protocol Daemon rpd)to a version that resolves this vulnerability.Fixed in 22.1R3 - Upgrade
Upgrade
Juniper Networks Junos OS / Junos OS Evolved (Routing Protocol Daemon rpd)to a version that resolves this vulnerability.Fixed in 22.2R3-EVO - Upgrade
Upgrade
Juniper Networks Junos OS / Junos OS Evolved (Routing Protocol Daemon rpd)to a version that resolves this vulnerability.Fixed in 22.2R3 - Upgrade
Upgrade
Juniper Networks Junos OS / Junos OS Evolved (Routing Protocol Daemon rpd)to a version that resolves this vulnerability.Fixed in 21.2R3-S3 - Configuration
If not required, disable traffic engineering for OSPF or ISIS to avoid patroot memory leak observed when traffic engineering is enabled and a link flaps.
Traffic engineering for OSPF/ISIS (RPD path) traffic engineering enabled for OSPF or ISIS = disabled - Operational
Monitor memory usage on affected Junos OS / Junos OS Evolved platforms using: "show task memory detail | match patroot" to observe the patroot memory leak leading to an rpd crash and restart.
Event History
Frequently Asked Questions
What is the severity of CVE-2024-21613?
CVE-2024-21613 has a high severity rating due to its potential to cause Denial of Service by crashing the Routing Protocol Daemon.
How do I fix CVE-2024-21613?
To fix CVE-2024-21613, you must upgrade to the patched versions of Junos OS as specified in the advisory.
Which versions of Junos OS are affected by CVE-2024-21613?
CVE-2024-21613 affects Junos OS versions 21.2 through 22.2.
What kind of attack does CVE-2024-21613 facilitate?
CVE-2024-21613 allows an unauthenticated, adjacent attacker to execute a Denial of Service (DoS) attack.
Is CVE-2024-21613 exploitable remotely?
CVE-2024-21613 is not remotely exploitable, as it requires an adjacent attacker to perform the exploit.