CVE-2024-21598

Junos OS and Junos OS Evolved: A malformed BGP tunnel encapsulation attribute will lead to an rpd crash

AllVuln state: AFFECTED

HIGH
CVSS
7.5
3.1
EPSS
0.57%
Percentile 48.70%
CISA KEV
Not listed
Published
April 12, 2024
Updated August 1, 2024

Description

An Improper Validation of Syntactic Correctness of Input vulnerability in the Routing Protocol Daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved allows a network-based, unauthenticated attacker to cause a Denial of Service (DoS). If a BGP update is received over an established BGP session which contains a tunnel encapsulation attribute with a specifically malformed TLV, rpd will crash and restart. This issue affects Juniper Networks Junos OS: * 20.4 versions 20.4R1 and later 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-S5; * 22.1 versions earlier than 22.1R3-S4; * 22.2 versions earlier than 22.2R3-S3; * 22.3 versions earlier than 22.3R3-S1; * 22.4 versions earlier than 22.4R3; * 23.2 versions earlier than 23.2R1-S2, 23.2R2; Junos OS Evolved: * 20.4-EVO versions 20.4R1-EVO and later versions earlier than 20.4R3-S9-EVO; * 21.2-EVO versions earlier than 21.2R3-S7-EVO; * 21.3-EVO versions earlier than 21.3R3-S5-EVO; * 21.4-EVO versions earlier than 21.4R3-S5-EVO; * 22.1-EVO versions earlier than 22.1R3-S4-EVO; * 22.2-EVO versions earlier than 22.2R3-S3-EVO; * 22.3-EVO versions earlier than 22.3R3-S1-EVO; * 22.4-EVO versions earlier than 22.4R3-EVO; * 23.2-EVO versions earlier than 23.2R1-S2-EVO, 23.2R2-EVO; This issue does not affect Juniper Networks * Junos OS versions earlier than 20.4R1; * Junos OS Evolved versions earlier than 20.4R1-EVO. This is a related but separate issue than the one described in JSA79095.

Risk details

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

What should I do?

Review the vendor remediation for fixed or recommended release 20.4R3-S9-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
20.4R3-S9-EVO
NOT_AFFECTED · EXACT
20.4R3-S9-EVO
AFFECTED · RANGE
21.2R3-S7-EVO
NOT_AFFECTED · EXACT
21.2R3-S7-EVO
AFFECTED · RANGE
21.3R3-S5-EVO
NOT_AFFECTED · EXACT
21.3R3-S5-EVO
AFFECTED · RANGE
21.4R3-S5-EVO
NOT_AFFECTED · EXACT
21.4R3-S5-EVO
AFFECTED · RANGE
22.1R3-S4-EVO
NOT_AFFECTED · EXACT
22.1R3-S4-EVO
AFFECTED · RANGE
22.2R3-S3-EVO
NOT_AFFECTED · EXACT
22.2R3-S3-EVO
AFFECTED · RANGE
22.3R3-S1-EVO
NOT_AFFECTED · EXACT
22.3R3-S1-EVO
AFFECTED · RANGE
22.4R3-EVO
NOT_AFFECTED · EXACT
22.4R3-EVO
UNKNOWN · UNKNOWN
{"lessThan": "23.2R1-S2-EVO, 23.2R2-EVO", "status": "affected", "version": "23.2-EVO", "versionType": "semver"}
NOT_AFFECTED · DEFAULT
{"defaultStatus": "unaffected"}

Remediation

FIX_AVAILABLE
Release train: 20.4
First fixed: 20.4R3-S9-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.2
First fixed: 21.2R3-S7-EVO
Vendor recommended: Not supplied
Remediation source ↗
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-S5-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.1
First fixed: 22.1R3-S4-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.2
First fixed: 22.2R3-S3-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.3
First fixed: 22.3R3-S1-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.4
First fixed: 22.4R3-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
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-S5
NOT_AFFECTED · EXACT
21.4R3-S5
AFFECTED · RANGE
22.1R3-S4
NOT_AFFECTED · EXACT
22.1R3-S4
AFFECTED · RANGE
22.2R3-S3
NOT_AFFECTED · EXACT
22.2R3-S3
AFFECTED · RANGE
22.3R3-S1
NOT_AFFECTED · EXACT
22.3R3-S1
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-S5
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.1
First fixed: 22.1R3-S4
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.2
First fixed: 22.2R3-S3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.3
First fixed: 22.3R3-S1
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 Evolved
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
20.4-EVO → 20.4R3-S9-EVO
Required configuration: To be exposed to this vulnerability BGP needs to be configured as in the following example, but no further options need to be enabled:   [ protocols bgp group <group> neighbor ... ]
AFFECTED · RANGE
21.2-EVO → 21.2R3-S7-EVO
Required configuration: To be exposed to this vulnerability BGP needs to be configured as in the following example, but no further options need to be enabled:   [ protocols bgp group <group> neighbor ... ]
AFFECTED · RANGE
21.3-EVO → 21.3R3-S5-EVO
Required configuration: To be exposed to this vulnerability BGP needs to be configured as in the following example, but no further options need to be enabled:   [ protocols bgp group <group> neighbor ... ]
AFFECTED · RANGE
21.4-EVO → 21.4R3-S5-EVO
Required configuration: To be exposed to this vulnerability BGP needs to be configured as in the following example, but no further options need to be enabled:   [ protocols bgp group <group> neighbor ... ]
AFFECTED · RANGE
22.1-EVO → 22.1R3-S4-EVO
Required configuration: To be exposed to this vulnerability BGP needs to be configured as in the following example, but no further options need to be enabled:   [ protocols bgp group <group> neighbor ... ]
AFFECTED · RANGE
22.2-EVO → 22.2R3-S3-EVO
Required configuration: To be exposed to this vulnerability BGP needs to be configured as in the following example, but no further options need to be enabled:   [ protocols bgp group <group> neighbor ... ]
AFFECTED · RANGE
22.3-EVO → 22.3R3-S1-EVO
Required configuration: To be exposed to this vulnerability BGP needs to be configured as in the following example, but no further options need to be enabled:   [ protocols bgp group <group> neighbor ... ]
AFFECTED · RANGE
22.4-EVO → 22.4R3-EVO
Required configuration: To be exposed to this vulnerability BGP needs to be configured as in the following example, but no further options need to be enabled:   [ protocols bgp group <group> neighbor ... ]
AFFECTED · RANGE
23.2-EVO → 23.2R1-S2-EVO, 23.2R2-EVO
Required configuration: To be exposed to this vulnerability BGP needs to be configured as in the following example, but no further options need to be enabled:   [ protocols bgp group <group> neighbor ... ]

Remediation

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

Applicability

AFFECTED · RANGE
23.2 → 23.2R1-S2, 23.2R2
Required configuration: To be exposed to this vulnerability BGP needs to be configured as in the following example, but no further options need to be enabled:   [ protocols bgp group <group> neighbor ... ]
AFFECTED · RANGE
20.4 → 20.4R3-S9
Required configuration: To be exposed to this vulnerability BGP needs to be configured as in the following example, but no further options need to be enabled:   [ protocols bgp group <group> neighbor ... ]
AFFECTED · RANGE
21.2 → 21.2R3-S7
Required configuration: To be exposed to this vulnerability BGP needs to be configured as in the following example, but no further options need to be enabled:   [ protocols bgp group <group> neighbor ... ]
AFFECTED · RANGE
21.3 → 21.3R3-S5
Required configuration: To be exposed to this vulnerability BGP needs to be configured as in the following example, but no further options need to be enabled:   [ protocols bgp group <group> neighbor ... ]
AFFECTED · RANGE
21.4 → 21.4R3-S5
Required configuration: To be exposed to this vulnerability BGP needs to be configured as in the following example, but no further options need to be enabled:   [ protocols bgp group <group> neighbor ... ]
AFFECTED · RANGE
22.1 → 22.1R3-S4
Required configuration: To be exposed to this vulnerability BGP needs to be configured as in the following example, but no further options need to be enabled:   [ protocols bgp group <group> neighbor ... ]
AFFECTED · RANGE
22.2 → 22.2R3-S3
Required configuration: To be exposed to this vulnerability BGP needs to be configured as in the following example, but no further options need to be enabled:   [ protocols bgp group <group> neighbor ... ]
AFFECTED · RANGE
22.3 → 22.3R3-S1
Required configuration: To be exposed to this vulnerability BGP needs to be configured as in the following example, but no further options need to be enabled:   [ protocols bgp group <group> neighbor ... ]
AFFECTED · RANGE
22.4 → 22.4R3
Required configuration: To be exposed to this vulnerability BGP needs to be configured as in the following example, but no further options need to be enabled:   [ protocols bgp group <group> neighbor ... ]

Remediation

UNKNOWN
Release train: 20.4
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.