CVE-2024-21609

Junos OS: MX Series with SPC3, and SRX Series: If specific IPsec parameters are negotiated iked will crash due to a memory leak

AllVuln state: AFFECTED

MEDIUM
CVSS
6.5
3.1
EPSS
0.29%
Percentile 23.82%
CISA KEV
Not listed
Published
April 12, 2024
Updated August 1, 2024

Description

A Missing Release of Memory after Effective Lifetime vulnerability in the IKE daemon (iked) of Juniper Networks Junos OS on MX Series with SPC3, and SRX Series allows an administratively adjacent attacker which is able to successfully establish IPsec tunnels to cause a Denial of Service (DoS). If specific values for the IPsec parameters local-ip, remote-ip, remote ike-id, and traffic selectors are sent from the peer, a memory leak occurs during every IPsec SA rekey which is carried out with a specific message sequence. This will eventually result in an iked process crash and restart. The iked process memory consumption can be checked using the below command:   user@host> show system processes extensive | grep iked           PID USERNAME   PRI NICE   SIZE   RES   STATE   C TIME WCPU COMMAND           56903 root       31   0     4016M 2543M CPU0   0 2:10 10.50% iked This issue affects Juniper Networks Junos OS: * All versions earlier than 20.4R3-S9; * 21.2 versions earlier than 21.2R3-S7; * 21.3 versions earlier than 21.3R3-S5; * 21.4 versions earlier than 21.4R3-S4; * 22.1 versions earlier than 22.1R3-S3; * 22.2 versions earlier than 22.2R3-S2; * 22.3 versions earlier than 22.3R3; * 22.4 versions earlier than 22.4R3; * 23.2 versions earlier than 23.2R1-S2, 23.2R2.

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 20.4R3-S9.

Supported product evidence

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

Applicability

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

Remediation

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

Applicability

AFFECTED · RANGE
20.4R3-S9
Platform: MX Series with SPC3
Required configuration: To be exposed to this issue IPsec VPN needs to be configured with a minimal ike configuration:   [ security ike gateway ike-policy ]   [ security ipsec vpn ike gateway ] and the system needs to run iked (vs. kmd which is not affected), which can be verified with:   show system processes extensive | match "KMD|IKED"
AFFECTED · RANGE
20.4R3-S9
Platform: SRX Series
Required configuration: To be exposed to this issue IPsec VPN needs to be configured with a minimal ike configuration:   [ security ike gateway ike-policy ]   [ security ipsec vpn ike gateway ] and the system needs to run iked (vs. kmd which is not affected), which can be verified with:   show system processes extensive | match "KMD|IKED"
AFFECTED · RANGE
21.2 → 21.2R3-S7
Platform: MX Series with SPC3
Required configuration: To be exposed to this issue IPsec VPN needs to be configured with a minimal ike configuration:   [ security ike gateway ike-policy ]   [ security ipsec vpn ike gateway ] and the system needs to run iked (vs. kmd which is not affected), which can be verified with:   show system processes extensive | match "KMD|IKED"
AFFECTED · RANGE
21.2 → 21.2R3-S7
Platform: SRX Series
Required configuration: To be exposed to this issue IPsec VPN needs to be configured with a minimal ike configuration:   [ security ike gateway ike-policy ]   [ security ipsec vpn ike gateway ] and the system needs to run iked (vs. kmd which is not affected), which can be verified with:   show system processes extensive | match "KMD|IKED"
AFFECTED · RANGE
21.3 → 21.3R3-S5
Platform: MX Series with SPC3
Required configuration: To be exposed to this issue IPsec VPN needs to be configured with a minimal ike configuration:   [ security ike gateway ike-policy ]   [ security ipsec vpn ike gateway ] and the system needs to run iked (vs. kmd which is not affected), which can be verified with:   show system processes extensive | match "KMD|IKED"
AFFECTED · RANGE
21.3 → 21.3R3-S5
Platform: SRX Series
Required configuration: To be exposed to this issue IPsec VPN needs to be configured with a minimal ike configuration:   [ security ike gateway ike-policy ]   [ security ipsec vpn ike gateway ] and the system needs to run iked (vs. kmd which is not affected), which can be verified with:   show system processes extensive | match "KMD|IKED"
AFFECTED · RANGE
21.4 → 21.4R3-S4
Platform: MX Series with SPC3
Required configuration: To be exposed to this issue IPsec VPN needs to be configured with a minimal ike configuration:   [ security ike gateway ike-policy ]   [ security ipsec vpn ike gateway ] and the system needs to run iked (vs. kmd which is not affected), which can be verified with:   show system processes extensive | match "KMD|IKED"
AFFECTED · RANGE
21.4 → 21.4R3-S4
Platform: SRX Series
Required configuration: To be exposed to this issue IPsec VPN needs to be configured with a minimal ike configuration:   [ security ike gateway ike-policy ]   [ security ipsec vpn ike gateway ] and the system needs to run iked (vs. kmd which is not affected), which can be verified with:   show system processes extensive | match "KMD|IKED"
AFFECTED · RANGE
22.1 → 22.1R3-S3
Platform: MX Series with SPC3
Required configuration: To be exposed to this issue IPsec VPN needs to be configured with a minimal ike configuration:   [ security ike gateway ike-policy ]   [ security ipsec vpn ike gateway ] and the system needs to run iked (vs. kmd which is not affected), which can be verified with:   show system processes extensive | match "KMD|IKED"
AFFECTED · RANGE
22.1 → 22.1R3-S3
Platform: SRX Series
Required configuration: To be exposed to this issue IPsec VPN needs to be configured with a minimal ike configuration:   [ security ike gateway ike-policy ]   [ security ipsec vpn ike gateway ] and the system needs to run iked (vs. kmd which is not affected), which can be verified with:   show system processes extensive | match "KMD|IKED"
AFFECTED · RANGE
22.2 → 22.2R3-S2
Platform: MX Series with SPC3
Required configuration: To be exposed to this issue IPsec VPN needs to be configured with a minimal ike configuration:   [ security ike gateway ike-policy ]   [ security ipsec vpn ike gateway ] and the system needs to run iked (vs. kmd which is not affected), which can be verified with:   show system processes extensive | match "KMD|IKED"
AFFECTED · RANGE
22.2 → 22.2R3-S2
Platform: SRX Series
Required configuration: To be exposed to this issue IPsec VPN needs to be configured with a minimal ike configuration:   [ security ike gateway ike-policy ]   [ security ipsec vpn ike gateway ] and the system needs to run iked (vs. kmd which is not affected), which can be verified with:   show system processes extensive | match "KMD|IKED"
AFFECTED · RANGE
22.3 → 22.3R3
Platform: MX Series with SPC3
Required configuration: To be exposed to this issue IPsec VPN needs to be configured with a minimal ike configuration:   [ security ike gateway ike-policy ]   [ security ipsec vpn ike gateway ] and the system needs to run iked (vs. kmd which is not affected), which can be verified with:   show system processes extensive | match "KMD|IKED"
AFFECTED · RANGE
22.3 → 22.3R3
Platform: SRX Series
Required configuration: To be exposed to this issue IPsec VPN needs to be configured with a minimal ike configuration:   [ security ike gateway ike-policy ]   [ security ipsec vpn ike gateway ] and the system needs to run iked (vs. kmd which is not affected), which can be verified with:   show system processes extensive | match "KMD|IKED"
AFFECTED · RANGE
22.4 → 22.4R3
Platform: MX Series with SPC3
Required configuration: To be exposed to this issue IPsec VPN needs to be configured with a minimal ike configuration:   [ security ike gateway ike-policy ]   [ security ipsec vpn ike gateway ] and the system needs to run iked (vs. kmd which is not affected), which can be verified with:   show system processes extensive | match "KMD|IKED"
AFFECTED · RANGE
22.4 → 22.4R3
Platform: SRX Series
Required configuration: To be exposed to this issue IPsec VPN needs to be configured with a minimal ike configuration:   [ security ike gateway ike-policy ]   [ security ipsec vpn ike gateway ] and the system needs to run iked (vs. kmd which is not affected), which can be verified with:   show system processes extensive | match "KMD|IKED"
AFFECTED · RANGE
23.2 → 23.2R1-S2, 23.2R2
Platform: MX Series with SPC3
Required configuration: To be exposed to this issue IPsec VPN needs to be configured with a minimal ike configuration:   [ security ike gateway ike-policy ]   [ security ipsec vpn ike gateway ] and the system needs to run iked (vs. kmd which is not affected), which can be verified with:   show system processes extensive | match "KMD|IKED"
AFFECTED · RANGE
23.2 → 23.2R1-S2, 23.2R2
Platform: SRX Series
Required configuration: To be exposed to this issue IPsec VPN needs to be configured with a minimal ike configuration:   [ security ike gateway ike-policy ]   [ security ipsec vpn ike gateway ] and the system needs to run iked (vs. kmd which is not affected), which can be verified with:   show system processes extensive | match "KMD|IKED"

Remediation

UNKNOWN
Release train: 20.4R3
First fixed: Unknown
Vendor recommended: Not supplied
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
UNKNOWN
Release train: 23.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.