CVE-2024-21617

Junos OS: BGP flap on NSR-enabled devices causes memory leak

AllVuln state: AFFECTED

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

Description

An Incomplete Cleanup vulnerability in Nonstop active routing (NSR) component of Juniper Networks Junos OS allows an adjacent, unauthenticated attacker to cause memory leak leading to Denial of Service (DoS). On all Junos OS platforms, when NSR is enabled, a BGP flap will cause memory leak. A manual reboot of the system will restore the services. Note: NSR is not supported on the SRX Series and is therefore not affected by this vulnerability. The memory usage can be monitored using the below commands. user@host> show chassis routing-engine no-forwarding user@host> show system memory | no-more This issue affects: Juniper Networks Junos OS * 21.2 versions earlier than 21.2R3-S5; * 21.3 versions earlier than 21.3R3-S4; * 21.4 versions earlier than 21.4R3-S4; * 22.1 versions earlier than 22.1R3-S2; * 22.2 versions earlier than 22.2R3-S2; * 22.3 versions earlier than 22.3R2-S1, 22.3R3; * 22.4 versions earlier than 22.4R1-S2, 22.4R2. This issue does not affect Junos OS versions earlier than 20.4R3-S7.

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-459, Denial of Service (DoS)

What should I do?

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

Supported product evidence

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

Applicability

AFFECTED · RANGE
21.2R3-S5
NOT_AFFECTED · EXACT
21.2R3-S5
AFFECTED · RANGE
21.3R3-S4
NOT_AFFECTED · EXACT
21.3R3-S4
AFFECTED · RANGE
21.4R3-S4
NOT_AFFECTED · EXACT
21.4R3-S4
AFFECTED · RANGE
22.1R3-S2
NOT_AFFECTED · EXACT
22.1R3-S2
AFFECTED · RANGE
22.2R3-S2
NOT_AFFECTED · EXACT
22.2R3-S2
UNKNOWN · UNKNOWN
{"lessThan": "22.3R2-S1, 22.3R3", "status": "affected", "version": "22.3", "versionType": "semver"}
UNKNOWN · UNKNOWN
{"lessThan": "22.4R1-S2, 22.4R2", "status": "affected", "version": "22.4", "versionType": "semver"}
NOT_AFFECTED · RANGE
20.4R3-S7
NOT_AFFECTED · DEFAULT
{"defaultStatus": "unaffected"}

Remediation

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

Applicability

AFFECTED · RANGE
21.2 → 21.2R3-S5
Platform: MX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
21.2 → 21.2R3-S5
Platform: PTX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
21.2 → 21.2R3-S5
Platform: ACX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
21.2 → 21.2R3-S5
Platform: EX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
21.2 → 21.2R3-S5
Platform: QFX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
21.3 → 21.3R3-S4
Platform: MX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
21.3 → 21.3R3-S4
Platform: PTX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
21.3 → 21.3R3-S4
Platform: ACX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
21.3 → 21.3R3-S4
Platform: EX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
21.3 → 21.3R3-S4
Platform: QFX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
21.4 → 21.4R3-S4
Platform: MX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
21.4 → 21.4R3-S4
Platform: PTX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
21.4 → 21.4R3-S4
Platform: ACX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
21.4 → 21.4R3-S4
Platform: EX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
21.4 → 21.4R3-S4
Platform: QFX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
22.1 → 22.1R3-S2
Platform: MX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
22.1 → 22.1R3-S2
Platform: PTX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
22.1 → 22.1R3-S2
Platform: ACX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
22.1 → 22.1R3-S2
Platform: EX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
22.1 → 22.1R3-S2
Platform: QFX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
22.2 → 22.2R3-S2
Platform: MX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
22.2 → 22.2R3-S2
Platform: PTX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
22.2 → 22.2R3-S2
Platform: ACX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
22.2 → 22.2R3-S2
Platform: EX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
22.2 → 22.2R3-S2
Platform: QFX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
22.3 → 22.3R2-S1, 22.3R3
Platform: MX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
22.3 → 22.3R2-S1, 22.3R3
Platform: PTX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
22.3 → 22.3R2-S1, 22.3R3
Platform: ACX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
22.3 → 22.3R2-S1, 22.3R3
Platform: EX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
22.3 → 22.3R2-S1, 22.3R3
Platform: QFX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
22.4 → 22.4R1-S2, 22.4R2
Platform: MX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
22.4 → 22.4R1-S2, 22.4R2
Platform: PTX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
22.4 → 22.4R1-S2, 22.4R2
Platform: ACX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
22.4 → 22.4R1-S2, 22.4R2
Platform: EX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
AFFECTED · RANGE
22.4 → 22.4R1-S2, 22.4R2
Platform: QFX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
NOT_AFFECTED · RANGE
20.4R3-S7
Platform: MX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
NOT_AFFECTED · RANGE
20.4R3-S7
Platform: PTX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
NOT_AFFECTED · RANGE
20.4R3-S7
Platform: ACX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
NOT_AFFECTED · RANGE
20.4R3-S7
Platform: EX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]
NOT_AFFECTED · RANGE
20.4R3-S7
Platform: QFX Series
Required configuration: To be exposed to this issue non-stop routing (NSR) needs to be configured: [routing-options nonstop-routing]

Remediation

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.