CVE-2023-22402 Use after free in Junos OS Evolved

Medium 5.9 Published Updated

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.

All Juniper Junos Os Evolved vulnerabilities

Sources

Also known as GHSA-3gh6-5qqw-c955.

Is CVE-2023-22402 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free