CVE-2024-30382

Junos OS and Junos OS Evolved: RPD crash when CoS-based forwarding (CBF) policy is configured

AllVuln state: AFFECTED

HIGH
CVSS
7.5
3.1
EPSS
0.71%
Percentile 54.93%
CISA KEV
Not listed
Published
April 12, 2024
Updated August 2, 2024

Description

An Improper Handling of Exceptional Conditions vulnerability in the routing protocol daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved allows a network-based, unauthenticated attacker to send a specific routing update, causing an rpd core due to memory corruption, leading to a Denial of Service (DoS). This issue can only be triggered when the system is configured for CoS-based forwarding (CBF) with a policy map containing a cos-next-hop-map action (see below). This issue affects: Junos OS: * all versions before 20.4R3-S10, * from 21.2 before 21.2R3-S8, * from 21.3 before 21.3R3, * from 21.4 before 21.4R3, * from 22.1 before 22.1R2; Junos OS Evolved: * all versions before 21.2R3-S8-EVO, * from 21.3 before 21.3R3-EVO, * from 21.4 before 21.4R3-EVO, * from 22.1 before 22.1R2-EVO.

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

What should I do?

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

Remediation

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

Remediation

FIX_AVAILABLE
Release train: 20.4
First fixed: 20.4R3-S10
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.2
First fixed: 21.2R3-S8
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.3
First fixed: 21.3R3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.4
First fixed: 21.4R3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.1
First fixed: 22.1R2
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS Evolved
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
21.2R3-S8-EVO
Required configuration: The following is an example of CoS-based forwarding configuration: [edit policy-options] set policy-statement my-cos-forwarding term 1 from route-filter destination-prefix match-type set policy-statement my-cos-forwarding term 1 then cos-next-hop-map map-name
AFFECTED · RANGE
21.3 → 21.3R3-EVO
Required configuration: The following is an example of CoS-based forwarding configuration: [edit policy-options] set policy-statement my-cos-forwarding term 1 from route-filter destination-prefix match-type set policy-statement my-cos-forwarding term 1 then cos-next-hop-map map-name
AFFECTED · RANGE
21.4 → 21.4R3-EVO
Required configuration: The following is an example of CoS-based forwarding configuration: [edit policy-options] set policy-statement my-cos-forwarding term 1 from route-filter destination-prefix match-type set policy-statement my-cos-forwarding term 1 then cos-next-hop-map map-name
AFFECTED · RANGE
22.1 → 22.1R2-EVO
Required configuration: The following is an example of CoS-based forwarding configuration: [edit policy-options] set policy-statement my-cos-forwarding term 1 from route-filter destination-prefix match-type set policy-statement my-cos-forwarding term 1 then cos-next-hop-map map-name

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

Applicability

AFFECTED · RANGE
20.4R3-S10
Required configuration: The following is an example of CoS-based forwarding configuration: [edit policy-options] set policy-statement my-cos-forwarding term 1 from route-filter destination-prefix match-type set policy-statement my-cos-forwarding term 1 then cos-next-hop-map map-name
AFFECTED · RANGE
21.2 → 21.2R3-S8
Required configuration: The following is an example of CoS-based forwarding configuration: [edit policy-options] set policy-statement my-cos-forwarding term 1 from route-filter destination-prefix match-type set policy-statement my-cos-forwarding term 1 then cos-next-hop-map map-name
AFFECTED · RANGE
21.3 → 21.3R3
Required configuration: The following is an example of CoS-based forwarding configuration: [edit policy-options] set policy-statement my-cos-forwarding term 1 from route-filter destination-prefix match-type set policy-statement my-cos-forwarding term 1 then cos-next-hop-map map-name
AFFECTED · RANGE
21.4 → 21.4R3
Required configuration: The following is an example of CoS-based forwarding configuration: [edit policy-options] set policy-statement my-cos-forwarding term 1 from route-filter destination-prefix match-type set policy-statement my-cos-forwarding term 1 then cos-next-hop-map map-name
AFFECTED · RANGE
22.1 → 22.1R2
Required configuration: The following is an example of CoS-based forwarding configuration: [edit policy-options] set policy-statement my-cos-forwarding term 1 from route-filter destination-prefix match-type set policy-statement my-cos-forwarding term 1 then cos-next-hop-map map-name

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

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.