CVE-2023-22402 Use after free in Junos OS Evolved
An unauthenticated attacker can cause a kernel restart and denial of service in Junos OS Evolved if BGP auto-discovery is enabled and a neighbor flaps.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-22402?
CVE-2023-22402 is a medium-severity use after free vulnerability in Juniper Junos Os Evolved, published on 12 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-416
Which versions are affected by CVE-2023-22402?
It affects 1 product.
Products include Juniper Junos Os Evolved.
How do I fix CVE-2023-22402?
No fix has been published for CVE-2023-22402 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2023-22402 being exploited?
There is no known exploitation of CVE-2023-22402 in the wild and no public exploit code.
Other vulnerabilities in Juniper Junos Os Evolved
- CVE-2026-21902 Junos OS Evolved: PTX Series: A vulnerability allows a unauthenticated, network-based attacker to execute code as root
- CVE-2023-28983 Junos OS Evolved: Shell Injection vulnerability in the gNOI server
- CVE-2025-21599 Denial of service in Junos OS Evolved
- CVE-2024-47502 Junos OS Evolved: TCP session state is not always cleared on the Routing Engine leading to DoS
- CVE-2024-39531 Junos OS Evolved: ACX 7000 Series: Protocol specific DDoS configuration affects other protocols
Sources
Also known as GHSA-3gh6-5qqw-c955.