Security Resilience

CVE-2025-21593

Juniper Junos ≤ 21.2

Published
09 January 2025
Modified
26 January 2026
Patch / advisory
CVSS Score v4 7.1
Click a component to see what it means
Raw vectorCVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:A/V:X/RE:X/U:X
EPSS Score 0.0025 16th percentile
Risk Priority 35 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-21593 is a high-severity Improper Control of a Resource Through its Lifetime (CWE-664) vulnerability in Juniper Junos. Its CVSS base score is 7.1 (High).

Operationally, ranked at the 16th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SC-39 (Process Isolation) and SC-4 (Information in Shared System Resources) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

An Improper Control of a Resource Through its Lifetime vulnerability in the routing protocol daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated network-based attacker to cause a Denial-of-Service (DoS). On devices with SRv6 (Segment…

more

Routing over IPv6) enabled, an attacker can send a malformed BGP UPDATE packet which will cause the rpd to crash and restart. Continued receipt of these UPDATE packets will cause a sustained DoS condition. This issue affects iBGP and eBGP, and both IPv4 and IPv6 are affected by this vulnerability.This issue affects Junos OS: * All versions before 21.2R3-S9, * from 21.4 before 21.4R3-S10, * from 22.2 before 22.2R3-S5, * from 22.3 before 22.3R3-S4, * from 22.4 before 22.4R3-S3, * from 23.2 before 23.2R2-S2, * from 23.4 before 23.4R2; and Junos OS Evolved: * All versions before 21.2R3-S9-EVO, * from 21.4-EVO before 21.4R3-S10-EVO, * from 22.2-EVO before 22.2R3-S5-EVO, * from 22.3-EVO before 22.3R3-S4-EVO, * from 22.4-EVO before 22.4R3-S3-EVO, * from 23.2-EVO before 23.2R2-S2-EVO, * from 23.4-EVO before 23.4R2-EVO.

CWE(s)

Related Threats

CVEs Like This One

CVE-2026-21908Same product: Juniper Junos
CVE-2025-59960Same product: Juniper Junos
CVE-2025-60003Same product: Juniper Junos
CVE-2023-28964Same product: Juniper Junos
CVE-2024-39516Same product: Juniper Junos
CVE-2024-39514Same product: Juniper Junos
CVE-2026-21901Same product: Juniper Junos
CVE-2025-30646Same product: Juniper Junos
CVE-2023-44204Same product: Juniper Junos
CVE-2026-21919Same product: Juniper Junos

Affected Assets

juniper
junos
21.2, 21.4, 22.2, 22.3, 22.4 · ≤ 21.2
juniper
junos os evolved
21.2, 21.4, 22.2, 22.3, 22.4 · ≤ 21.2

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

SC-39 enforces separate execution domains so one process cannot corrupt or misuse another process's resources across their lifetimes.

SC-4 prevents unintended information transfer through shared resources, limiting blast radius when a product fails to release or reuse resources correctly.

SI-16 blocks unauthorized code execution in memory, stopping exploitation that commonly follows improper allocation, use-after-free, or deallocation errors.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

A.8.29's combined programme of code review, static analysis, dynamic testing and penetration testing reaches most resource-lifecycle defects across creation, use and release phases (initialization errors, resource leaks, uncontrolled consumption, improper shutdown), but CWE-664 is a pillar category broad enough that specialized lifecycle issues — certain race conditions, complex state-management defects, and resource-control flaws only visible under specific deployment conditions — fall outside the standard testing programme's reach.

prevents

Secure coding practices help avoid lifetime control bugs but do not address the full scope.

prevents

A.8.30 carries secure design, coding and testing practice (8.25–8.29) into outsourced software via contractual requirements, which reduces ordinary software resource-lifecycle defects the way those practices do; the effect is partial because the clause depends on those other controls being implemented and the practices are fallible, matching the owner-graded ceiling for A.8.30 on this verb.

finds

A.8.6's detective controls and utilization monitoring detect capacity-exhaustion SYMPTOMS (memory full, CPU saturated, connections exhausted), not the code-level flaw in resource lifetime management; following the A.8.16 vs CWE-778 anchor, observing a symptom does not locate the omission in the code that failed to manage the resource.

finds

A.8.8's reach is DISCLOSURE — it sees only instances carrying a vendor-published flaw, and CWE-664 is a broad pillar category whose instances are mostly in custom code rather than third-party components with CVEs; the disclosed share is a minority, so a well-implemented A.8.8 programme finds some resource-lifecycle flaws (e.g. CVE-2018-1000613-style issues in libraries) but not the bulk.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-664, a pillar-level weakness. Rules are authored against its narrower children: CWE-471.

References