#VU102521 Improper control of a resource through its lifetime in Juniper Junos OS and Junos OS Evolved - CVE-2025-21593


Vulnerability identifier: #VU102521

Vulnerability risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2025-21593

CWE-ID: CWE-664

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Juniper Junos OS
Operating systems & Components / Operating system
Junos OS Evolved
Operating systems & Components / Operating system

Vendor: Juniper Networks, Inc.

Description

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

The vulnerability exists due to an improper control of a resource through its lifetime in the routing protocol daemon (rpd). A remote attacker can send a malformed BGP UPDATE packet to the affected device and perform a denial of service attack.

The vulnerability affects iBGP and eBGP, and both IPv4 and IPv6 protocols.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Juniper Junos OS: 21.1R1-S1 - 21.1, 21.2R1-S1 - 21.2R3, 21.3R1-S1 - 21.3R3, 21.4R1-S1 - 21.4R3, 22.1R1-S1 - 22.1R3, 22.2R1-S1 - 22.2R3, 22.3R1-S1 - 22.3R3, 22.4R1-S1 - 22.4R3, 23.1R1-S1 - 23.1R2, 23.2R1-S1 - 23.2R2, 23.3R1, 23.4R1-S1 - 23.4R1

Junos OS Evolved: 21.1-EVO - 21.1, 21.2-EVO - 21.2R3-S8-EVO, 21.3-EVO - 21.3R3-S5-EVO, 21.4R1-EVO - 21.4R3-S9-EVO, 22.1-EVO - 22.1R3-S6-EVO, 22.2-EVO - 22.2R3-S4-EVO, 22.3R1-EVO - 22.3R3-S3-EVO, 22.4R1-EVO - 22.4R3-S2-EVO, 23.1R1-EVO - 23.1R2-EVO, 23.2R1-EVO - 23.2R2-S1-EVO, 23.3R1-EVO - 23.3R3-EVO, 23.4R1-EVO - 23.4R1-S2-EVO


External links
https://supportportal.juniper.net/s/article/2025-01-Security-Bulletin-Junos-OS-and-Junos-OS-Evolved-On-SRv6-enabled-devices-an-attacker-sending-a-malformed-BGP-update-can-cause-the-rpd-to-crash-CVE-2025-21593


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability