CVE-2023-22402

Junos OS Evolved: The kernel might restart in a BGP scenario where "bgp auto-discovery" is enabled and such a neighbor flaps

AllVuln state: AFFECTED

MEDIUM
CVSS
5.9
3.1
EPSS
0.56%
Percentile 47.79%
CISA KEV
Not listed
Published
January 12, 2023
Updated April 7, 2025

Description

A Use After Free vulnerability in the kernel of Juniper Networks Junos OS Evolved allows an unauthenticated, network-based attacker to cause a Denial of Service (DoS). In a Non Stop Routing (NSR) scenario, an unexpected kernel restart might be observed if "bgp auto-discovery" is enabled and if there is a BGP neighbor flap of auto-discovery sessions for any reason. This is a race condition which is outside of an attackers direct control and it depends on system internal timing whether this issue occurs. This issue affects Juniper Networks Junos OS Evolved: 21.3 versions prior to 21.3R3-EVO; 21.4 versions prior to 21.4R2-EVO; 22.1 versions prior to 22.1R2-EVO; 22.2 versions prior to 22.2R1-S1-EVO, 22.2R2-EVO.

Risk details

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

What should I do?

Review the vendor remediation for fixed or recommended release 21.3R3-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.3R3-EVO
NOT_AFFECTED · EXACT
21.3R3-EVO
AFFECTED · RANGE
21.4R2-EVO
NOT_AFFECTED · EXACT
21.4R2-EVO
AFFECTED · RANGE
22.1R2-EVO
NOT_AFFECTED · EXACT
22.1R2-EVO
UNKNOWN · UNKNOWN
{"lessThan": "22.2R1-S1-EVO, 22.2R2-EVO", "status": "affected", "version": "22.2", "versionType": "custom"}
UNKNOWN · DEFAULT
{"defaultStatus": null}

Remediation

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.4R2-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 Evolved
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
21.3 → 21.3R3-EVO
Required configuration: To be exposed to this is issue non-stop routing (NSR) and BGP auto-discovery need to be configured: [routing-options nonstop-routing] [protocols bgp group <name> dynamic-neighbor <template> peer-auto-discovery]
AFFECTED · RANGE
21.4 → 21.4R2-EVO
Required configuration: To be exposed to this is issue non-stop routing (NSR) and BGP auto-discovery need to be configured: [routing-options nonstop-routing] [protocols bgp group <name> dynamic-neighbor <template> peer-auto-discovery]
AFFECTED · RANGE
22.1 → 22.1R2-EVO
Required configuration: To be exposed to this is issue non-stop routing (NSR) and BGP auto-discovery need to be configured: [routing-options nonstop-routing] [protocols bgp group <name> dynamic-neighbor <template> peer-auto-discovery]
AFFECTED · RANGE
22.2 → 22.2R1-S1-EVO, 22.2R2-EVO
Required configuration: To be exposed to this is issue non-stop routing (NSR) and BGP auto-discovery need to be configured: [routing-options nonstop-routing] [protocols bgp group <name> dynamic-neighbor <template> peer-auto-discovery]

Remediation

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

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.