CVE-2024-21613

Junos OS and Junos OS Evolved: A link flap causes patroot memory leak which leads to rpd crash

AllVuln state: AFFECTED

MEDIUM
CVSS
6.5
3.1
EPSS
0.28%
Percentile 21.68%
CISA KEV
Not listed
Published
January 12, 2024
Updated June 17, 2025

Description

A Missing Release of Memory after Effective Lifetime vulnerability in Routing Protocol Daemon (RPD) of Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated, adjacent attacker to cause an rpd crash, leading to Denial of Service (DoS). On all Junos OS and Junos OS Evolved platforms, when traffic engineering is enabled for OSPF or ISIS, and a link flaps, a patroot memory leak is observed. This memory leak, over time, will lead to an rpd crash and restart. The memory usage can be monitored using the below command. user@host> show task memory detail | match patroot This issue affects: Juniper Networks Junos OS * All versions earlier than 21.2R3-S3; * 21.3 versions earlier than 21.3R3-S5; * 21.4 versions earlier than 21.4R3-S3; * 22.1 versions earlier than 22.1R3; * 22.2 versions earlier than 22.2R3. Juniper Networks Junos OS Evolved * All versions earlier than 21.3R3-S5-EVO; * 21.4 versions earlier than 21.4R3-EVO; * 22.1 versions earlier than 22.1R3-EVO; * 22.2 versions earlier than 22.2R3-EVO.

Risk details

CVSS vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
attack vector
A
attack complexity
L
privileges required
N
user interaction
N
scope
U
CWE
CWE-401, Denial of Service (DoS)

What should I do?

Review the vendor remediation for fixed or recommended release 21.3R3-S5-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.3R3-S5-EVO
NOT_AFFECTED · EXACT
21.3R3-S5-EVO
AFFECTED · RANGE
21.4R3-EVO
NOT_AFFECTED · EXACT
21.4R3-EVO
AFFECTED · RANGE
22.1R3-EVO
NOT_AFFECTED · EXACT
22.1R3-EVO
AFFECTED · RANGE
22.2R3-EVO
NOT_AFFECTED · EXACT
22.2R3-EVO
NOT_AFFECTED · DEFAULT
{"defaultStatus": "unaffected"}

Remediation

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-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.1
First fixed: 22.1R3-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.2
First fixed: 22.2R3-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
21.2R3-S3
NOT_AFFECTED · EXACT
21.2R3-S3
AFFECTED · RANGE
21.3R3-S5
NOT_AFFECTED · EXACT
21.3R3-S5
AFFECTED · RANGE
21.4R3-S3
NOT_AFFECTED · EXACT
21.4R3-S3
AFFECTED · RANGE
22.1R3
NOT_AFFECTED · EXACT
22.1R3
AFFECTED · RANGE
22.2R3
NOT_AFFECTED · EXACT
22.2R3
NOT_AFFECTED · DEFAULT
{"defaultStatus": "unaffected"}

Remediation

FIX_AVAILABLE
Release train: 21.2
First fixed: 21.2R3-S3
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-S3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.1
First fixed: 22.1R3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.2
First fixed: 22.2R3
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS Evolved
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
21.3R3-S5-EVO
Required configuration: For this issue to occur, OSPF or ISIS with traffic engineering needs to be enabled. [ protocols ospf traffic-engineering ] [ protocols isis traffic-engineering ]
AFFECTED · RANGE
21.4 → 21.4R3-EVO
Required configuration: For this issue to occur, OSPF or ISIS with traffic engineering needs to be enabled. [ protocols ospf traffic-engineering ] [ protocols isis traffic-engineering ]
AFFECTED · RANGE
22.1 → 22.1R3-EVO
Required configuration: For this issue to occur, OSPF or ISIS with traffic engineering needs to be enabled. [ protocols ospf traffic-engineering ] [ protocols isis traffic-engineering ]
AFFECTED · RANGE
22.2 → 22.2R3-EVO
Required configuration: For this issue to occur, OSPF or ISIS with traffic engineering needs to be enabled. [ protocols ospf traffic-engineering ] [ protocols isis traffic-engineering ]

Remediation

UNKNOWN
Release train: 21.3R3
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
Juniper Networks · Junos OS
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
21.2R3-S3
Required configuration: For this issue to occur, OSPF or ISIS with traffic engineering needs to be enabled. [ protocols ospf traffic-engineering ] [ protocols isis traffic-engineering ]
AFFECTED · RANGE
21.3 → 21.3R3-S5
Required configuration: For this issue to occur, OSPF or ISIS with traffic engineering needs to be enabled. [ protocols ospf traffic-engineering ] [ protocols isis traffic-engineering ]
AFFECTED · RANGE
21.4 → 21.4R3-S3
Required configuration: For this issue to occur, OSPF or ISIS with traffic engineering needs to be enabled. [ protocols ospf traffic-engineering ] [ protocols isis traffic-engineering ]
AFFECTED · RANGE
22.1 → 22.1R3
Required configuration: For this issue to occur, OSPF or ISIS with traffic engineering needs to be enabled. [ protocols ospf traffic-engineering ] [ protocols isis traffic-engineering ]
AFFECTED · RANGE
22.2 → 22.2R3
Required configuration: For this issue to occur, OSPF or ISIS with traffic engineering needs to be enabled. [ protocols ospf traffic-engineering ] [ protocols isis traffic-engineering ]

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

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.