CVE-2025-21597

Junos OS and Junos OS Evolved: When BGP rib-sharding and update-threading are configured and a peer flaps, an rpd core is observed

AllVuln state: AFFECTED

MEDIUM
CVSS
5.3
3.1
EPSS
0.25%
Percentile 17.71%
CISA KEV
Not listed
Published
April 9, 2025
Updated April 10, 2025

Description

An Improper Check for Unusual or Exceptional Conditions vulnerability in routing protocol daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated, logically adjacent BGP peer to cause Denial of Service (DoS). On all Junos OS and Junos OS Evolved platforms, when BGP rib-sharding and update-threading are configured, and a BGP peer flap is done with specific timing, rpd crashes and restarts. Continuous peer flapping at specific time intervals will result in a sustained Denial of Service (DoS) condition. This issue affects eBGP and iBGP, in both IPv4 and IPv6 implementations. This issue requires a remote attacker to have at least one established BGP session. The issue can occur with or without logical-systems enabled. This issue affects: Junos OS: * All versions before 20.4R3-S8, * 21.2 versions before 21.2R3-S6, * 21.3 versions before 21.3R3-S5, * 21.4 versions before 21.4R3-S4, * 22.1 versions before 22.1R3-S3, * 22.2 versions before 22.2R3-S1, * 22.3 versions before 22.3R3, * 22.4 versions before 22.4R3. Junos OS Evolved: * All versions before 21.2R3-S6-EVO, * 21.3-EVO versions before 21.3R3-S5-EVO, * 21.4-EVO versions before 21.4R3-S4-EVO, * 22.1-EVO versions before 22.1R3-S3-EVO, * 22.2-EVO versions before :22.2R3-S1-EVO, * 22.3-EVO versions before 22.3R3-EVO, * 22.4-EVO versions before 22.4R3-EVO.

Risk details

CVSS vector
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
attack vector
A
attack complexity
H
privileges required
N
user interaction
N
scope
U
CWE
CWE-754

What should I do?

Review the vendor remediation for fixed or recommended release 21.2R3-S6-EVO.

Supported product evidence

Juniper Networks · Junos OS Evolved
Confirmed affected by authoritative structured evidence · Juniper Networks CNA / CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
21.2R3-S6-EVO
NOT_AFFECTED · EXACT
21.2R3-S6-EVO
AFFECTED · RANGE
21.3R3-S5-EVO
NOT_AFFECTED · EXACT
21.3R3-S5-EVO
AFFECTED · RANGE
21.4R3-S4-EVO
NOT_AFFECTED · EXACT
21.4R3-S4-EVO
AFFECTED · RANGE
22.1R3-S3-EVO
NOT_AFFECTED · EXACT
22.1R3-S3-EVO
AFFECTED · RANGE
22.2R3-S1-EVO
NOT_AFFECTED · EXACT
22.2R3-S1-EVO
AFFECTED · RANGE
22.3R3-EVO
NOT_AFFECTED · EXACT
22.3R3-EVO
AFFECTED · RANGE
22.4R3-EVO
NOT_AFFECTED · EXACT
22.4R3-EVO
NOT_AFFECTED · DEFAULT
{"defaultStatus": "unaffected"}

Remediation

FIX_AVAILABLE
Release train: 21.2
First fixed: 21.2R3-S6-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.3
First fixed: 21.3R3-S5-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.4
First fixed: 21.4R3-S4-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.1
First fixed: 22.1R3-S3-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.2
First fixed: 22.2R3-S1-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.3
First fixed: 22.3R3-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.4
First fixed: 22.4R3-EVO
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS
Confirmed affected by authoritative structured evidence · Juniper Networks CNA / CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
20.4R3-S8
NOT_AFFECTED · EXACT
20.4R3-S8
AFFECTED · RANGE
21.2R3-S6
NOT_AFFECTED · EXACT
21.2R3-S6
AFFECTED · RANGE
21.3R3-S5
NOT_AFFECTED · EXACT
21.3R3-S5
AFFECTED · RANGE
21.4R3-S4
NOT_AFFECTED · EXACT
21.4R3-S4
AFFECTED · RANGE
22.1R3-S3
NOT_AFFECTED · EXACT
22.1R3-S3
AFFECTED · RANGE
22.2R3-S1
NOT_AFFECTED · EXACT
22.2R3-S1
AFFECTED · RANGE
22.3R3
NOT_AFFECTED · EXACT
22.3R3
AFFECTED · RANGE
22.4R3
NOT_AFFECTED · EXACT
22.4R3
NOT_AFFECTED · DEFAULT
{"defaultStatus": "unaffected"}

Remediation

FIX_AVAILABLE
Release train: 20.4
First fixed: 20.4R3-S8
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.2
First fixed: 21.2R3-S6
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.3
First fixed: 21.3R3-S5
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.4
First fixed: 21.4R3-S4
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.1
First fixed: 22.1R3-S3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.2
First fixed: 22.2R3-S1
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.3
First fixed: 22.3R3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.4
First fixed: 22.4R3
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS Evolved
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
21.3-EVO → 21.3R3-S5-EVO
Required configuration: For this issue to occur, BGP rib-sharding and update-threading needs to be configured: [system processes routing bgp rib-sharding] [system processes routing bgp update-threading]
AFFECTED · RANGE
21.4-EVO → 21.4R3-S4-EVO
Required configuration: For this issue to occur, BGP rib-sharding and update-threading needs to be configured: [system processes routing bgp rib-sharding] [system processes routing bgp update-threading]
AFFECTED · RANGE
21.2R3-S6-EVO
Required configuration: For this issue to occur, BGP rib-sharding and update-threading needs to be configured: [system processes routing bgp rib-sharding] [system processes routing bgp update-threading]
AFFECTED · RANGE
22.1-EVO → 22.1R3-S3-EVO
Required configuration: For this issue to occur, BGP rib-sharding and update-threading needs to be configured: [system processes routing bgp rib-sharding] [system processes routing bgp update-threading]
AFFECTED · RANGE
22.2-EVO → 22.2R3-S1-EVO
Required configuration: For this issue to occur, BGP rib-sharding and update-threading needs to be configured: [system processes routing bgp rib-sharding] [system processes routing bgp update-threading]
AFFECTED · RANGE
22.3-EVO → 22.3R3-EVO
Required configuration: For this issue to occur, BGP rib-sharding and update-threading needs to be configured: [system processes routing bgp rib-sharding] [system processes routing bgp update-threading]
AFFECTED · RANGE
22.4-EVO → 22.4R3-EVO
Required configuration: For this issue to occur, BGP rib-sharding and update-threading needs to be configured: [system processes routing bgp rib-sharding] [system processes routing bgp update-threading]

Remediation

UNKNOWN
Release train: 21.2R3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.4
First fixed: Unknown
Vendor recommended: Not supplied
Juniper Networks · Junos OS
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
20.4R3-S8
Required configuration: For this issue to occur, BGP rib-sharding and update-threading needs to be configured: [system processes routing bgp rib-sharding] [system processes routing bgp update-threading]
AFFECTED · RANGE
21.2 → 21.2R3-S6
Required configuration: For this issue to occur, BGP rib-sharding and update-threading needs to be configured: [system processes routing bgp rib-sharding] [system processes routing bgp update-threading]
AFFECTED · RANGE
21.3 → 21.3R3-S5
Required configuration: For this issue to occur, BGP rib-sharding and update-threading needs to be configured: [system processes routing bgp rib-sharding] [system processes routing bgp update-threading]
AFFECTED · RANGE
21.4 → 21.4R3-S4
Required configuration: For this issue to occur, BGP rib-sharding and update-threading needs to be configured: [system processes routing bgp rib-sharding] [system processes routing bgp update-threading]
AFFECTED · RANGE
22.1 → 22.1R3-S3
Required configuration: For this issue to occur, BGP rib-sharding and update-threading needs to be configured: [system processes routing bgp rib-sharding] [system processes routing bgp update-threading]
AFFECTED · RANGE
22.2 → 22.2R3-S1
Required configuration: For this issue to occur, BGP rib-sharding and update-threading needs to be configured: [system processes routing bgp rib-sharding] [system processes routing bgp update-threading]
AFFECTED · RANGE
22.3 → 22.3R3
Required configuration: For this issue to occur, BGP rib-sharding and update-threading needs to be configured: [system processes routing bgp rib-sharding] [system processes routing bgp update-threading]
AFFECTED · RANGE
22.4 → 22.4R3
Required configuration: For this issue to occur, BGP rib-sharding and update-threading needs to be configured: [system processes routing bgp rib-sharding] [system processes routing bgp update-threading]

Remediation

UNKNOWN
Release train: 20.4R3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.4
First fixed: Unknown
Vendor recommended: Not supplied

Evidence sources

Coverage varies by vendor, product, platform, and historical source availability. Absence of a finding is not a security guarantee. Validate critical remediation against the linked vendor advisory.

AllVuln data refreshed November 5, 2026.