# CVE-2024-21611: Junos OS and Junos OS Evolved: In a jflow scenario continuous route churn will cause a memory leak and eventually an rpd crash

- Vendor: Juniper Networks, Junos OS, Junos OS Evolved
- Severity: HIGH (CVSS 3.1 7.5)
- Exploited (CISA KEV): not listed
- EPSS: 0.6% on 2026-12-02
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: JSA75752, https://supportportal.juniper.net/JSA75752
- Published: 2024-01-10; updated: 2024-01-10
- Page: https://patchtonight.com/cve/CVE-2024-21611/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| Junos OS 21.4 | 21.4R3 or later |
| Junos OS 22.1 | 22.1R3 or later |
| Junos OS 22.2 | 22.2R3 or later |
| Junos OS Evolved 21.4-EVO | 21.4R3-EVO or later |
| Junos OS Evolved 22.1-EVO | 22.1R3-EVO or later |
| Junos OS Evolved 22.2-EVO | 22.2R3-EVO or later |

## The vendor's description

A Missing Release of Memory after Effective Lifetime vulnerability in the Routing Protocol Daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated, network-based attacker to cause a Denial of Service (DoS).

In a Juniper Flow Monitoring (jflow) scenario route churn that causes BGP next hops to be updated will cause a slow memory leak and eventually a crash and restart of rpd.

Thread level memory utilization for the areas where the leak occurs can be checked using the below command:

user@host> show task memory detail | match so_in
so_in6 28 32 344450 11022400 344760 11032320
so_in 8 16 1841629 29466064 1841734 29467744
This issue affects:

Junos OS



  *  21.4 versions earlier than 21.4R3;
  *  22.1 versions earlier than 22.1R3;
  *  22.2 versions earlier than 22.2R3.




Junos OS Evolved



  *  21.4-EVO versions earlier than 21.4R3-EVO;
  *  22.1-EVO versions earlier than 22.1R3-EVO;
  *  22.2-EVO versions earlier than 22.2R3-EVO.




This issue does not affect:

Juniper Networks Junos OS versions earlier than 21.4R1.

Juniper Networks Junos OS Evolved versions earlier than 21.4R1.

## Workarounds

Although not a workaround, it is advised to monitor the memory utilization proactively and when it reaches 85% of total RE memory, restart rpd or reboot the system.

## Sources

- [Juniper Networks advisory](https://supportportal.juniper.net/JSA75752)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
