CVE-2024-21585: Junos OS and Junos OS Evolved: BGP session flaps on NSR-enabled devices can cause rpd crash
Noroxi assessment
Priority: Monitor (action score 23/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: 0.62% (FIRST EPSS); higher than 50.2% 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. Special conditions such as timing or configuration are required.
- Fixed version: Juniper Networks Junos OS 20.4R3-S9, 21.2R3-S7, 21.3R3-S5; Juniper Networks Junos OS Evolved 21.3R3-S5-EVO, 21.4R3-S5-EVO, 22.1R3-S4-EVO.
Low priority for now. Upgrade to Juniper Networks Junos OS 20.4R3-S9, 21.2R3-S7, 21.3R3-S5; Juniper Networks Junos OS Evolved 21.3R3-S5-EVO, 21.4R3-S5-EVO, 22.1R3-S4-EVO 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
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.
- Published
- Jan 11, 2024
- Updated
- Jun 17, 2026
- EPSS
- 0.6% · 50th percentile
- CWE
- CWE-755
Report tools
Action score
23
Monitor
Low priority for now.
- CVSS
- 23 / 40 · 5.9 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.6%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 5.9
- CNA · juniper
- 5.9
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
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.
Running WordPress? Scan your site free with WP Lens
Noroxi 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 |
|---|---|---|
| juniper | junos | cpe:2.3:o:juniper:junos |
| juniper | junos os evolved | cpe:2.3:o:juniper:junos_os_evolved |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- juniper junos20.4
- juniper junos21.2
- juniper junos21.3
- juniper junos21.4
- juniper junos22.1
- juniper junos22.2
- juniper junos22.3
- juniper junos22.4
- juniper junos23.2
- juniper junos os evolved21.3
- juniper junos os evolved21.4
- juniper junos os evolved22.1
- juniper junos os evolved22.2
- juniper junos os evolved22.3
- juniper junos os evolved22.4
- juniper junos os evolved23.2
Versions reported by the vendor
Affected version ranges reported by the assigning authority (juniper). Independent of NVD's CPE analysis and usually ahead of it.
Juniper Networks Junos OS
- before 20.4R3-S9affected · semver
- 21.2 and later · before 21.2R3-S7affected · semver
- 21.3 and later · before 21.3R3-S5affected · semver
- 21.4 and later · before 21.4R3-S5affected · semver
- 22.1 and later · before 22.1R3-S4affected · semver
- 22.2 and later · before 22.2R3-S3affected · semver
- 22.3 and later · before 22.3R3-S1affected · semver
- 22.4 and later · before 22.4R2-S2, 22.4R3affected · semver
- 23.2 and later · before 23.2R1-S1, 23.2R2affected · semver
Juniper Networks Junos OS Evolved
- before 21.3R3-S5-EVOaffected · semver
- 21.4 and later · before 21.4R3-S5-EVOaffected · semver
- 22.1 and later · before 22.1R3-S4-EVOaffected · semver
- 22.2 and later · before 22.2R3-S3-EVOaffected · semver
- 22.3 and later · before 22.3R3-S1-EVOaffected · semver
- 22.4 and later · before 22.4R2-S2-EVO, 22.4R3-EVOaffected · semver
- 23.2 and later · before 23.2R1-S1-EVO, 23.2R2-EVOaffected · semver
Same product
juniper: all recordsOther highest-scoring records for the same primary product.
- CVE-2023-36845Junos OS: EX and SRX Series: A PHP vulnerability in J-Web allows an unauthenticated to control an important environment variableKEV98Now
- CVE-2023-36846Junos OS: SRX Series: A vulnerability in J-Web allows an unauthenticated attacker to upload arbitrary filesKEV79This week
- CVE-2023-36844Junos OS: EX Series: A PHP vulnerability in J-Web allows an unauthenticated attacker to control important environment variablesKEV78This week
Published before and after this one in the same product
- ← EarlierCVE-2023-44204Oct 12, 2023 · Junos OS and Junos OS Evolved: The rpd will crash upon receiving a malformed BGP UPDATE message26Monitor
- ← EarlierCVE-2023-36842Jan 11, 2024 · Junos OS: jdhcpd will hang on receiving a specific DHCP packet26Monitor
- Later →CVE-2024-21587Jan 11, 2024 · Junos OS: MX Series: Memory leak in bbe-smgd process if BFD liveness detection for DHCP subscribers is enabled26Monitor
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 |
|---|---|---|
| Juniper Networks Junos OS | 20.4R3-S9 | Vendor (CNA) |
| Juniper Networks Junos OS | 21.2R3-S7 | Vendor (CNA) |
| Juniper Networks Junos OS | 21.3R3-S5 | Vendor (CNA) |
| Juniper Networks Junos OS | 21.4R3-S5 | Vendor (CNA) |
| Juniper Networks Junos OS | 22.1R3-S4 | Vendor (CNA) |
| Juniper Networks Junos OS | 22.2R3-S3 | Vendor (CNA) |
| Juniper Networks Junos OS | 22.3R3-S1 | Vendor (CNA) |
| Juniper Networks Junos OS | 22.4R2-S2, 22.4R3 | Vendor (CNA) |
| Juniper Networks Junos OS | 23.2R1-S1, 23.2R2 | Vendor (CNA) |
| Juniper Networks Junos OS Evolved | 21.3R3-S5-EVO | Vendor (CNA) |
| Juniper Networks Junos OS Evolved | 21.4R3-S5-EVO | Vendor (CNA) |
| Juniper Networks Junos OS Evolved | 22.1R3-S4-EVO | Vendor (CNA) |
| Juniper Networks Junos OS Evolved | 22.2R3-S3-EVO | Vendor (CNA) |
| Juniper Networks Junos OS Evolved | 22.3R3-S1-EVO | Vendor (CNA) |
| Juniper Networks Junos OS Evolved | 22.4R2-S2-EVO, 22.4R3-EVO | Vendor (CNA) |
| Juniper Networks Junos OS Evolved | 23.2R1-S1-EVO, 23.2R2-EVO | Vendor (CNA) |
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.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2024-3038292 days apartJunos OS and Junos OS Evolved: RPD crash when CoS-based forwarding (CBF) policy is configured34Monitor
- CVE-2024-39555181 days apartJunos OS and Junos OS Evolved: Receipt of a specific malformed BGP update causes the session to reset34Monitor
- CVE-2024-39552182 days apartJunos OS and Junos OS Evolved: Malformed BGP UPDATE causes RPD crash34Monitor
- CVE-2024-39525272 days apartJunos OS and Junos OS Evolved: When BGP traceoptions is enabled, receipt of specially crafted BGP packet causes RPD crash34Monitor
- CVE-2024-47491274 days apartJunos OS and Junos OS Evolved: Receipt of a specific malformed BGP path attribute leads to an RPD crash32Monitor
- CVE-2023-4418692 days apartJunos OS and Junos OS Evolved: RPD crash when attempting to send a very long AS PATH to a non-4-byte-AS capable BGP neighbor30Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
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.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-755 · Improper Handling of Exceptional ConditionsCVSS vector
CVSS:3.1/AV:N/AC:H/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.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (2 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.