Improper check for unusual or exceptional conditions in Junos OS and Junos OS Evolved - CVE-2025-21597

 

Improper check for unusual or exceptional conditions in Junos OS and Junos OS Evolved - CVE-2025-21597

Published: May 1, 2025


Vulnerability identifier: #VU108102
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-21597
CWE-ID: CWE-754
Exploitation vector: Adjecent network
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to improper check for unusual or exceptional conditions error in routing protocol daemon (rpd). A remote non-authenticated attacker can 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.


Affected software

Junos OS
Junos OS Evolved

How to mitigate CVE-2025-21597

Install updates from vendor's website.

Junos OS - addressed in versions 20.4R3-S8, 21.2R3-S6, 21.3R3-S5, 21.4R3-S4, 22.1R3-S3, 22.2R3-S1, 22.3R3, 22.4R3, 23.2R1
Junos OS Evolved - addressed in versions 21.2R3-S6-EVO, 21.3R3-S5-EVO, 21.4R3-S4-EVO, 22.1R3-S3-EVO, 22.2R3-S1-EVO, 22.3R3-EVO, 22.4R3-EVO, 23.2R1-EVO

External References

Related Security Bulletins