CVE-2021-31383 Memory corruption in Junos OS

High 7.5 Published Updated

Remote unauthenticated attackers can cause a denial of service by sending crafted packets that trigger a stack-based buffer overflow in the routing protocol daemon.

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-2021-31383?

CVE-2021-31383 is a high-severity memory corruption vulnerability in Juniper Junos, published on 19 Oct 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Point to MultiPoint (P2MP) scenarios within established sessions between network or adjacent neighbors the improper use of a source to destination copy write operation combined with a Stack-based Buffer Overflow on certain specific packets processed by the routing protocol daemon (RPD) of Juniper Networks Junos OS and Junos OS Evolved sent by a remote unauthenticated network attacker causes the RPD to crash causing a Denial of Service (DoS). Continued receipt and processing of these packets will create a sustained Denial of Service (DoS) condition. This issue affects: Juniper Networks Junos OS 19.2 versions prior to 19.2R3-S2; 19.3 versions prior to 19.3R2-S6, 19.3R3-S2; 19.4 versions prior to 19.4R1-S4, 19.4R2-S4, 19.4R3-S3; 20.1 versions prior to 20.1R2-S2, 20.1R3; 20.2 versions prior to 20.2R2-S3, 20.2R3; 20.3 versions prior to 20.3R2. This issue does not affect Juniper Networks Junos OS versions prior to 19.2R1. Juniper Networks Junos OS Evolved 20.1 versions prior to 20.1R3-EVO; 20.2 versions prior to 20.2R3-EVO; 20.3 versions prior to 20.3R2-EVO.

Weakness: CWE-787, CWE-121

Which versions are affected by CVE-2021-31383?

It affects 2 products.

Products include Juniper Junos, Juniper Junos Os Evolved.

How do I fix CVE-2021-31383?

No fix has been published for CVE-2021-31383 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-31383 being exploited?

There is no known exploitation of CVE-2021-31383 in the wild and no public exploit code.

All Juniper Junos vulnerabilities

Sources

Also known as GHSA-m54q-hvr6-96wf.

Is CVE-2021-31383 in your software?

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

Check your SBOMs for free