CVE-2021-31367 Denial of service in Junos OS

Medium 6.5 Published Updated

An adjacent attacker can cause a denial of service on Juniper PTX Series routers by sending BGP flowspec packets that trigger a memory leak and crash the forwarding engine.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-31367?

CVE-2021-31367 is a medium-severity denial of service vulnerability in Juniper Junos, published on 19 Oct 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A Missing Release of Memory after Effective Lifetime vulnerability in the Packet Forwarding Engine (PFE) of Juniper Networks Junos OS on PTX Series allows an adjacent attacker to cause a Denial of Service (DoS) by sending genuine BGP flowspec packets which cause an FPC heap memory leak. Once having run out of memory the FPC will crash and restart along with a core dump. Continued receipted of these packets will create a sustained Denial of Service (DoS) condition. This issue affects: Juniper Networks Junos OS All versions prior to 18.4R3-S9; 19.1 versions prior to 19.1R3-S7; 19.2 versions prior to 19.2R1-S7, 19.2R3-S3; 19.3 versions prior to 19.3R2-S6, 19.3R3-S3; 19.4 versions prior to 19.4R1-S4, 19.4R3-S6; 20.1 versions prior to 20.1R2-S2, 20.1R3; 20.2 versions prior to 20.2R3-S1; 20.3 versions prior to 20.3R3; 20.4 versions prior to 20.4R3; 21.1 versions prior to 21.1R2. Juniper Networks Junos Evolved is not affected.

Weakness: CWE-401

Which versions are affected by CVE-2021-31367?

It affects 1 product.

Products include Juniper Junos.

How do I fix CVE-2021-31367?

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

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-31367 being exploited?

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

All Juniper Junos vulnerabilities

Sources

Also known as GHSA-xgc5-8p66-2hp3.

Is CVE-2021-31367 in your software?

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

Check your SBOMs for free