CVE-2020-1678 Junos OS and Junos OS Evolved: RPD can crash due to a slow memory leak.

Medium 6.5 Published Updated

Attackers can crash the routing process by sending specific BGP packets, causing a memory leak in Junos OS devices with EVPN configured.

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-2020-1678?

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

Official description

On Juniper Networks Junos OS and Junos OS Evolved platforms with EVPN configured, receipt of specific BGP packets causes a slow memory leak. If the memory is exhausted the rpd process might crash. If the issue occurs, the memory leak could be seen by executing the "show task memory detail | match policy | match evpn" command multiple times to check if memory (Alloc Blocks value) is increasing. root@device> show task memory detail | match policy | match evpn ------------------------ Allocator Memory Report ------------------------ Name | Size | Alloc DTXP Size | Alloc Blocks | Alloc Bytes | MaxAlloc Blocks | MaxAlloc Bytes Policy EVPN Params 20 24 3330678 79936272 3330678 79936272 root@device> show task memory detail | match policy | match evpn ------------------------ Allocator Memory Report ------------------------ Name | Size | Alloc DTXP Size | Alloc Blocks | Alloc Bytes | MaxAlloc Blocks | MaxAlloc Bytes Policy EVPN Params 20 24 36620255 878886120 36620255 878886120 This issue affects: Juniper Networks Junos OS 19.4 versions prior to 19.4R2; 20.1 versions prior to 20.1R1-S4, 20.1R2; Juniper Networks Junos OS Evolved: 19.4 versions; 20.1 versions prior to 20.1R1-S4-EVO, 20.1R2-EVO; 20.2 versions prior to 20.2R1-EVO; This issue does not affect: Juniper Networks Junos OS releases prior to 19.4R1. Juniper Networks Junos OS Evolved releases prior to 19.4R1-EVO.

Weakness: CWE-401, CWE-400

Which versions are affected by CVE-2020-1678?

It affects 2 products.

Products include Juniper Junos, Juniper Junos Os Evolved.

How do I fix CVE-2020-1678?

No fix has been published for CVE-2020-1678 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-2020-1678 being exploited?

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

All Juniper Junos vulnerabilities

Sources

Also known as GHSA-4w73-g2f7-3g9h.

Is CVE-2020-1678 in your software?

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

Check your SBOMs for free