# CVE-2024-21613: Junos OS and Junos OS Evolved: A link flap causes patroot memory leak which leads to rpd crash

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

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| Junos OS 0 | 21.2R3-S3 or later |
| Junos OS 21.3 | 21.3R3-S5 or later |
| Junos OS 21.4 | 21.4R3-S3 or later |
| Junos OS 22.1 | 22.1R3 or later |
| Junos OS 22.2 | 22.2R3 or later |
| Junos OS Evolved 0 | 21.3R3-S5-EVO or later |
| Junos OS Evolved 21.4 | 21.4R3-EVO or later |
| Junos OS Evolved 22.1 | 22.1R3-EVO or later |
| Junos OS Evolved 22.2 | 22.2R3-EVO or later |

## The vendor's description

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.

## Workarounds

There are no known workarounds for this issue.

## Sources

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

---

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.
