CVE-2021-31363

Junos OS and Junos OS Evolved: Receipt of a specific LDP message will cause a Denial of Service

AllVuln state: AFFECTED

MEDIUM
CVSS
6.5
3.1
EPSS
0.40%
Percentile 36.78%
CISA KEV
Not listed
Published
October 19, 2021
Updated September 16, 2024

Description

In an MPLS P2MP environment a Loop with Unreachable Exit Condition vulnerability in the routing protocol daemon (RPD) of Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated adjacent attacker to cause high load on RPD which in turn may lead to routing protocol flaps. If a system with sensor-based-stats enabled receives a specific LDP FEC this can lead to the above condition. Continued receipted of such an LDP FEC will create a sustained Denial of Service (DoS) condition. This issue affects: Juniper Networks Junos OS 19.2 version 19.2R2 and later versions prior to 19.2R3-S3; 19.3 versions prior to 19.3R2-S6, 19.3R3-S2; 19.4 versions prior to 19.4R1-S4, 19.4R2-S4, 19.4R3-S2; 20.1 versions prior to 20.1R2-S1, 20.1R3; 20.2 versions prior to 20.2R2-S1, 20.2R3; 20.3 versions prior to 20.3R1-S2, 20.3R2. This issue does not affect Juniper Networks Junos OS versions prior to 19.2R2. Juniper Networks Junos OS Evolved All versions prior to 20.1R2-S3-EVO; 20.3 versions prior to 20.3R1-S2-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-835, Denial of Service (DoS)

What should I do?

Review the vendor remediation for fixed or recommended release 20.1R2-S3-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.1R2-S3-EVO
NOT_AFFECTED · EXACT
20.1R2-S3-EVO
AFFECTED · RANGE
20.3R1-S2-EVO
NOT_AFFECTED · EXACT
20.3R1-S2-EVO
UNKNOWN · DEFAULT
{"defaultStatus": null}

Remediation

FIX_AVAILABLE
Release train: 20.1
First fixed: 20.1R2-S3-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 20.3
First fixed: 20.3R1-S2-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

NOT_AFFECTED · RANGE
19.2R2
AFFECTED · EXACT
19.2R2
UNKNOWN · UNKNOWN
{"lessThan": "19.3R2-S6, 19.3R3-S2", "status": "affected", "version": "19.3", "versionType": "custom"}
UNKNOWN · UNKNOWN
{"lessThan": "19.4R1-S4, 19.4R2-S4, 19.4R3-S2", "status": "affected", "version": "19.4", "versionType": "custom"}
UNKNOWN · UNKNOWN
{"lessThan": "20.1R2-S1, 20.1R3", "status": "affected", "version": "20.1", "versionType": "custom"}
UNKNOWN · UNKNOWN
{"lessThan": "20.2R2-S1, 20.2R3", "status": "affected", "version": "20.2", "versionType": "custom"}
UNKNOWN · UNKNOWN
{"lessThan": "20.3R1-S2, 20.3R2", "status": "affected", "version": "20.3", "versionType": "custom"}
UNKNOWN · DEFAULT
{"defaultStatus": null}

Remediation

No explicit authoritative fix is currently available.

Juniper Networks · Junos OS Evolved
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
unspecified → 20.1R2-S3-EVO
Required configuration: A vulnerable Junos OS configuration would need to have: [protocols ldp p2mp] and [protocols ldp traffic-statistics sensor-based-stats] For Junos OS Evolved only: [protocols ldp p2mp] is need as sensor-based-stats is the default setting which can't be changed.
AFFECTED · RANGE
20.3 → 20.3R1-S2-EVO
Required configuration: A vulnerable Junos OS configuration would need to have: [protocols ldp p2mp] and [protocols ldp traffic-statistics sensor-based-stats] For Junos OS Evolved only: [protocols ldp p2mp] is need as sensor-based-stats is the default setting which can't be changed.

Remediation

UNKNOWN
Release train: Not specified
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 20.3
First fixed: Unknown
Vendor recommended: Not supplied
Juniper Networks · Junos OS
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

NOT_AFFECTED · RANGE
unspecified → 19.2R2
Required configuration: A vulnerable Junos OS configuration would need to have: [protocols ldp p2mp] and [protocols ldp traffic-statistics sensor-based-stats] For Junos OS Evolved only: [protocols ldp p2mp] is need as sensor-based-stats is the default setting which can't be changed.
AFFECTED · RANGE
19.2R2 → 19.2*
Required configuration: A vulnerable Junos OS configuration would need to have: [protocols ldp p2mp] and [protocols ldp traffic-statistics sensor-based-stats] For Junos OS Evolved only: [protocols ldp p2mp] is need as sensor-based-stats is the default setting which can't be changed.
AFFECTED · RANGE
19.3 → 19.3R2-S6, 19.3R3-S2
Required configuration: A vulnerable Junos OS configuration would need to have: [protocols ldp p2mp] and [protocols ldp traffic-statistics sensor-based-stats] For Junos OS Evolved only: [protocols ldp p2mp] is need as sensor-based-stats is the default setting which can't be changed.
AFFECTED · RANGE
19.4 → 19.4R1-S4, 19.4R2-S4, 19.4R3-S2
Required configuration: A vulnerable Junos OS configuration would need to have: [protocols ldp p2mp] and [protocols ldp traffic-statistics sensor-based-stats] For Junos OS Evolved only: [protocols ldp p2mp] is need as sensor-based-stats is the default setting which can't be changed.
AFFECTED · RANGE
20.1 → 20.1R2-S1, 20.1R3
Required configuration: A vulnerable Junos OS configuration would need to have: [protocols ldp p2mp] and [protocols ldp traffic-statistics sensor-based-stats] For Junos OS Evolved only: [protocols ldp p2mp] is need as sensor-based-stats is the default setting which can't be changed.
AFFECTED · RANGE
20.2 → 20.2R2-S1, 20.2R3
Required configuration: A vulnerable Junos OS configuration would need to have: [protocols ldp p2mp] and [protocols ldp traffic-statistics sensor-based-stats] For Junos OS Evolved only: [protocols ldp p2mp] is need as sensor-based-stats is the default setting which can't be changed.
AFFECTED · RANGE
20.3 → 20.3R1-S2, 20.3R2
Required configuration: A vulnerable Junos OS configuration would need to have: [protocols ldp p2mp] and [protocols ldp traffic-statistics sensor-based-stats] For Junos OS Evolved only: [protocols ldp p2mp] is need as sensor-based-stats is the default setting which can't be changed.

Remediation

FIX_AVAILABLE
Release train: 19.2R2
First fixed: 19.2R3-S3
Vendor recommended: Not supplied
UNKNOWN
Release train: 19.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 19.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 20.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 20.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 20.3
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.