Home / Juniper Networks / Junos OS / CVE-2024-21585
CVE-2024-21585: is it exploited, and which versions of Juniper Networks Junos OS are affected and fixed?
CVE-2024-21585 is an exceptional condition mishandled vulnerability in Juniper Networks Junos OS. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: Junos OS before 20.4R3-S9, Junos OS from 21.2 before 21.2R3-S7, Junos OS from 21.3 before 21.3R3-S5 and 13 more (CVE record by juniper). Fixed in 20.4R3-S9, 21.2R3-S7, 21.3R3-S5, 21.4R3-S5 and 2 more (CVE record by juniper). Severity: Medium (5.9, CVSS 3.1, from juniper).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:33 UTC.
What is CVE-2024-21585?
Junos OS and Junos OS Evolved: BGP session flaps on NSR-enabled devices can cause rpd crash
An Improper Handling of Exceptional Conditions vulnerability in BGP session processing of Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated network-based attacker, using specific timing outside the attacker's control, to flap BGP sessions and cause the routing protocol daemon (rpd) process to crash and restart, leading to a Denial of Service (DoS) condition. Continued BGP session flapping will create a sustained Denial of Service (DoS) condition. This issue only affects routers configured with non-stop routing (NSR) enabled. Graceful Restart (GR) helper mode, enabled by default, is also required for this issue to be exploitable. Note: NSR is not supported on the SRX Series and is therefore not affected by this vulnerability. When the BGP session flaps on the NSR-enabled router, the device enters GR-helper/LLGR-helper mode due to the peer having negotiated GR/LLGR-restarter capability and the backup BGP requests for replication of the GR/LLGR-helper session, master BGP schedules, and initiates replication of GR/LLGR stale routes to the backup BGP. In this state, if the BGP session with the BGP peer comes up again, unsolicited replication is initiated for the peer without cleaning up the ongoing GR/LLGR-helper mode replication. This parallel two instances of replication for the same peer leads to the assert if the BGP session flaps again. This issue affects: Juniper Networks Junos OS * All versions earlier than 20.4R3-S9; * 21.2 versions earlier than 21.2R3-S7; * 21.3 versions earlier than 21.3R3-S5; * 21.4 versions earlier than 21.4R3-S5; * 22.1 versions earlier than 22.1R3-S4; * 22.2 versions earlier than 22.2R3-S3; * 22.3 versions earlier than 22.3R3-S1; * 22.4 versions earlier than 22.4R2-S2, 22.4R3; * 23.2 versions earlier than 23.2R1-S1, 23.2R2. Juniper Networks Junos OS Evolved * All versions earlier than 21.3R3-S5-EVO; * 21.4 versions earlier than 21.4R3-S5-EVO; * 22.1 versions earlier than 22.1R3-S4-EVO; * 22.2 versions earlier than 22.2R3-S3-EVO; * 22.3 versions earlier than 22.3R3-S1-EVO; * 22.4 versions earlier than 22.4R2-S2-EVO, 22.4R3-EVO; * 23.2 versions earlier than 23.2R1-S1-EVO, 23.2R2-EVO.
From the CVE record by juniper, last updated November 14, 2024, 14:40 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Juniper Networks | Junos OS MX Series, PTX Series, ACX Series, EX Series, QFX Series | before 20.4R3-S9 from 21.2 before 21.2R3-S7 from 21.3 before 21.3R3-S5 from 21.4 before 21.4R3-S5 from 22.1 before 22.1R3-S4 from 22.2 before 22.2R3-S3 from 22.3 before 22.3R3-S1 from 22.4 before 22.4R2-S2, 22.4R3 from 23.2 before 23.2R1-S1, 23.2R2 | 20.4R3-S9, 21.2R3-S7, 21.3R3-S5, 21.4R3-S5, 22.1R3-S4, 22.2R3-S3, 22.3R3-S1, 22.4R2-S2, 22.4R3, 23.2R1-S1, 23.2R2 |
| Juniper Networks | Junos OS Evolved PTX Series, ACX Series, QFX Series | before 21.3R3-S5-EVO from 21.4 before 21.4R3-S5-EVO from 22.1 before 22.1R3-S4-EVO from 22.2 before 22.2R3-S3-EVO from 22.3 before 22.3R3-S1-EVO from 22.4 before 22.4R2-S2-EVO, 22.4R3-EVO from 23.2 before 23.2R1-S1-EVO, 23.2R2-EVO | 21.3R3-S5-EVO, 21.4R3-S5-EVO, 22.1R3-S4-EVO, 22.2R3-S3-EVO, 22.3R3-S1-EVO, 22.4R2-S2-EVO, 22.4R3-EVO, 23.2R1-S1-EVO, 23.2R2-EVO |
As the CVE record by juniper states it, last updated November 14, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| juniper | junos | 20.4 | operating system |
| juniper | junos | 21.2 | operating system |
| juniper | junos | 21.3 | operating system |
| juniper | junos | 21.4 | operating system |
| juniper | junos | 22.1 | operating system |
| juniper | junos | 22.2 | operating system |
| juniper | junos | 22.3 | operating system |
| juniper | junos | 22.4 | operating system |
| juniper | junos | 23.2 | operating system |
| juniper | junos os evolved | 21.3 | operating system |
| juniper | junos os evolved | 21.4 | operating system |
| juniper | junos os evolved | 22.1 | operating system |
| juniper | junos os evolved | 22.2 | operating system |
| juniper | junos os evolved | 22.3 | operating system |
| juniper | junos os evolved | 22.4 | operating system |
| juniper | junos os evolved | 23.2 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 07:09 UTC.
How severe is CVE-2024-21585?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | juniper |
| Medium 5.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-21585 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 14, 2024)
- EPSS
- 0.62% probability of exploitation activity in the next 30 days, percentile 51.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-755 Improper Handling of Exceptional Conditions
How do I fix it? (from the CVE record)
The following software releases have been updated to resolve this specific issue: Junos OS: 20.4R3-S9, 21.2R3-S7, 21.3R3-S5, 21.4R3-S5, 22.1R3-S4, 22.2R3-S3, 22.3R3-S1, 22.4R2-S2, 22.4R3, 23.1R2, 23.2R1-S1, 23.2R2, 23.3R1, and all subsequent releases. Junos OS Evolved: 21.3R3-S5-EVO, 21.4R3-S5-EVO, 22.1R3-S4-EVO, 22.2R3-S3-EVO, 22.3R3-S1-EVO, 22.4R2-S2-EVO, 22.4R3-EVO, 23.1R2-EVO, 23.2R1-S1-EVO, 23.2R2-EVO, 23.3R1-EVO, and all subsequent releases.
Is there a workaround? (from the CVE record)
Graceful Restart (GR) helper mode and Long-Lived Graceful Restart (LLGR) helper mode can be disabled to prevent this issue. [edit protocols bgp graceful-restart] disable; [edit protocols bgp graceful-restart long-lived receiver] disable;
Where are the vendor advisories and references?
- https://supportportal.juniper.net/JSA75723 vendor-advisory
- https://www.first.org/cvss/calculator/4.0#CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L technical-description
- https://supportportal.juniper.net/s/article/MX-GR-and-LLGR-capability-and-compatibility-changes-after-15-1-release product
When was it published, and where is the official record?
- Reserved
- December 27, 2023
- Published
- January 12, 2024, 00:50 UTC
- CVE record updated
- November 14, 2024, 14:40 UTC by juniper
- NVD
- Modified, last modified June 17, 2026, 07:09 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:33 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Junos OS?
- Mar 12, 2025CVE-2025-21590 Juniper Networks Junos OS: improper Isolation or Compartmentalization exploited
- Sep 26, 2023CVE-2023-36851 Juniper Networks Junos OS: missing authentication for a critical function exploited
- Aug 17, 2023CVE-2023-36846 Juniper Networks Junos OS: missing authentication for a critical function exploited
- Aug 17, 2023CVE-2023-36845 Juniper Networks Junos OS: PHP External Variable Modification exploited
- Aug 17, 2023CVE-2023-36844 Juniper Networks Junos OS: PHP External Variable Modification exploited
- Aug 17, 2023CVE-2023-36847 Juniper Networks Junos OS: missing authentication for a critical function exploited
- May 4, 2020CVE-2020-1631 Juniper Networks Junos OS: path traversal (reading or writing files outside the intended folder) exploited
- Oct 14, 2026CVE-2026-101954 Juniper Networks Junos OS: authentication bypass (improper authentication)
Questions about CVE-2024-21585
Is CVE-2024-21585 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.62% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Juniper Networks Junos OS are affected by CVE-2024-21585?
Junos OS before 20.4R3-S9, Junos OS from 21.2 before 21.2R3-S7, Junos OS from 21.3 before 21.3R3-S5, Junos OS from 21.4 before 21.4R3-S5, Junos OS from 22.1 before 22.1R3-S4, Junos OS from 22.2 before 22.2R3-S3 and 10 more, per the CVE record by juniper. The tables above give every range the sources list.
Which version fixes CVE-2024-21585?
20.4R3-S9, 21.2R3-S7, 21.3R3-S5, 21.4R3-S5, 22.1R3-S4 and 22.2R3-S3, per the CVE record by juniper. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-21585?
Medium (5.9, CVSS 3.1, from juniper). The severity table above shows each score with its source.
Where is the official record of CVE-2024-21585?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.