7.4
HIGH
CVE-2021-0217
Juniper Networks Junos OS DHCP Packet Processing Denial of Service (DoS) Vulnerability on EX Series and QFX Series Switches
Description

A vulnerability in processing of certain DHCP packets from adjacent clients on EX Series and QFX Series switches running Juniper Networks Junos OS with DHCP local/relay server configured may lead to exhaustion of DMA memory causing a Denial of Service (DoS). Over time, exploitation of this vulnerability may cause traffic to stop being forwarded, or to crashing of the fxpc process. When Packet DMA heap utilization reaches 99%, the system will become unstable. Packet DMA heap utilization can be monitored through the following command: user@junos# request pfe execute target fpc0 timeout 30 command "show heap" ID Base Total(b) Free(b) Used(b) % Name -- ---------- ----------- ----------- ----------- --- ----------- 0 213301a8 536870488 387228840 149641648 27 Kernel 1 91800000 8388608 3735120 4653488 55 DMA 2 92000000 75497472 74452192 1045280 1 PKT DMA DESC 3 d330000 335544320 257091400 78452920 23 Bcm_sdk 4 96800000 184549376 2408 184546968 99 Packet DMA <--- 5 903fffe0 20971504 20971504 0 0 Blob An indication of the issue occurring may be observed through the following log messages: Dec 10 08:07:00.124 2020 hostname fpc0 brcm_pkt_buf_alloc:523 (buf alloc) failed allocating packet buffer Dec 10 08:07:00.126 2020 hostname fpc0 (buf alloc) failed allocating packet buffer Dec 10 08:07:00.128 2020 hostname fpc0 brcm_pkt_buf_alloc:523 (buf alloc) failed allocating packet buffer Dec 10 08:07:00.130 2020 hostnameC fpc0 (buf alloc) failed allocating packet buffer This issue affects Juniper Networks Junos OS on EX Series and QFX Series: 17.4R3 versions prior to 17.4R3-S3; 18.1R3 versions between 18.1R3-S6 and 18.1R3-S11; 18.2R3 versions prior to 18.2R3-S6; 18.3R3 versions prior to 18.3R3-S4; 18.4R2 versions prior to 18.4R2-S5; 18.4R3 versions prior to 18.4R3-S6; 19.1 versions between 19.1R2 and 19.1R3-S3; 19.2 versions prior to 19.2R3-S1; 19.3 versions prior to 19.3R2-S5, 19.3R3; 19.4 versions prior to 19.4R2-S2, 19.4R3; 20.1 versions prior to 20.1R2; 20.2 versions prior to 20.2R1-S2, 20.2R2. Junos OS versions prior to 17.4R3 are unaffected by this vulnerability.

INFO

Published Date :

Jan. 15, 2021, 6:15 p.m.

Last Modified :

Aug. 5, 2022, 6:29 p.m.

Remotely Exploitable :

No

Impact Score :

4.0

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2021-0217 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Juniper junos
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-0217.

URL Resource
https://kb.juniper.net/JSA11107 Exploit Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-0217 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-0217 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Reanalysis by [email protected]

    Aug. 05, 2022

    Action Type Old Value New Value
    Removed CWE NIST CWE-119
    Added CWE NIST CWE-770
  • Reanalysis by [email protected]

    Jan. 28, 2021

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:o:juniper:junos:17.4:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:17.4:r3-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:17.4:r3-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.1:r3-s10:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.1:r3-s7:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.1:r3-s8:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.1:r3-s9:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.2:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.2:r3-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.2:r3-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.2:r3-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.2:r3-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.2:r3-s5:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.3:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.3:r3-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.3:r3-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.3:r3-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.4:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.4:r2-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.4:r2-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.4:r2-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.4:r2-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r2-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r3-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r3-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:-:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r1-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r1-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r1-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:-:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r2-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r2-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r2-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r2-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r1-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r2-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.1:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.1:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.1:r1-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.1:r1-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.2:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.2:r1-s1:*:*:*:*:*:* AND OR *cpe:2.3:o:juniper:junos:17.4:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:17.4:r3-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:17.4:r3-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.1:r3-s10:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.1:r3-s7:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.1:r3-s8:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.1:r3-s9:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.2:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.2:r3-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.2:r3-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.2:r3-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.2:r3-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.2:r3-s5:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.3:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.3:r3-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.3:r3-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.3:r3-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.4:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.4:r2-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.4:r2-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.4:r2-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.4:r2-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r2-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r3-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r3-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:-:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r1-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r1-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r1-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:-:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r2-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r2-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r2-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r2-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r1-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r2-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.1:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.1:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.1:r1-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.1:r1-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.2:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.2:r1-s1:*:*:*:*:*:* OR cpe:2.3:h:juniper:ex2300:-:*:*:*:*:*:*:* cpe:2.3:h:juniper:ex2300-c:-:*:*:*:*:*:*:* cpe:2.3:h:juniper:ex2300m:-:*:*:*:*:*:*:* cpe:2.3:h:juniper:ex3400:-:*:*:*:*:*:*:* cpe:2.3:h:juniper:ex4300:-:*:*:*:*:*:*:* cpe:2.3:h:juniper:ex4300m:-:*:*:*:*:*:*:* cpe:2.3:h:juniper:ex4600:-:*:*:*:*:*:*:* cpe:2.3:h:juniper:ex4650:-:*:*:*:*:*:*:* cpe:2.3:h:juniper:ex9200:-:*:*:*:*:*:*:* cpe:2.3:h:juniper:ex9250:-:*:*:*:*:*:*:* cpe:2.3:h:juniper:qfx10002:-:*:*:*:*:*:*:* cpe:2.3:h:juniper:qfx10008:-:*:*:*:*:*:*:* cpe:2.3:h:juniper:qfx10016:-:*:*:*:*:*:*:* cpe:2.3:h:juniper:qfx5100:-:*:*:*:*:*:*:* cpe:2.3:h:juniper:qfx5110:-:*:*:*:*:*:*:* cpe:2.3:h:juniper:qfx5120:-:*:*:*:*:*:*:* cpe:2.3:h:juniper:qfx5130:-:*:*:*:*:*:*:* cpe:2.3:h:juniper:qfx5200:-:*:*:*:*:*:*:* cpe:2.3:h:juniper:qfx5210:-:*:*:*:*:*:*:* cpe:2.3:h:juniper:qfx5220:-:*:*:*:*:*:*:*
  • Initial Analysis by [email protected]

    Jan. 22, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:A/AC:L/Au:N/C:N/I:N/A:P)
    Changed Reference Type https://kb.juniper.net/JSA11107 No Types Assigned https://kb.juniper.net/JSA11107 Exploit, Vendor Advisory
    Added CWE NIST CWE-119
    Added CPE Configuration OR *cpe:2.3:o:juniper:junos:17.4:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:17.4:r3-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:17.4:r3-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.1:r3-s10:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.1:r3-s7:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.1:r3-s8:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.1:r3-s9:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.2:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.2:r3-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.2:r3-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.2:r3-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.2:r3-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.2:r3-s5:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.3:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.3:r3-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.3:r3-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.3:r3-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.4:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.4:r2-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.4:r2-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.4:r2-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:18.4:r2-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r2-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r3-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r3-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:-:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r1-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r1-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r1-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:-:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r2-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r2-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r2-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r2-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r1-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r2-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.1:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.1:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.1:r1-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.1:r1-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.2:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.2:r1-s1:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-0217 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-0217 weaknesses.

CAPEC-8: Buffer Overflow in an API Call Buffer Overflow in an API Call CAPEC-9: Buffer Overflow in Local Command-Line Utilities Buffer Overflow in Local Command-Line Utilities CAPEC-10: Buffer Overflow via Environment Variables Buffer Overflow via Environment Variables CAPEC-14: Client-side Injection-induced Buffer Overflow Client-side Injection-induced Buffer Overflow CAPEC-24: Filter Failure through Buffer Overflow Filter Failure through Buffer Overflow CAPEC-42: MIME Conversion MIME Conversion CAPEC-44: Overflow Binary Resource File Overflow Binary Resource File CAPEC-45: Buffer Overflow via Symbolic Links Buffer Overflow via Symbolic Links CAPEC-46: Overflow Variables and Tags Overflow Variables and Tags CAPEC-47: Buffer Overflow via Parameter Expansion Buffer Overflow via Parameter Expansion CAPEC-100: Overflow Buffers Overflow Buffers CAPEC-123: Buffer Manipulation Buffer Manipulation CAPEC-125: Flooding Flooding CAPEC-130: Excessive Allocation Excessive Allocation CAPEC-147: XML Ping of the Death XML Ping of the Death CAPEC-197: Exponential Data Expansion Exponential Data Expansion CAPEC-229: Serialized Data Parameter Blowup Serialized Data Parameter Blowup CAPEC-230: Serialized Data with Nested Payloads Serialized Data with Nested Payloads CAPEC-231: Oversized Serialized Data Payloads Oversized Serialized Data Payloads CAPEC-469: HTTP DoS HTTP DoS CAPEC-482: TCP Flood TCP Flood CAPEC-486: UDP Flood UDP Flood CAPEC-487: ICMP Flood ICMP Flood CAPEC-488: HTTP Flood HTTP Flood CAPEC-489: SSL Flood SSL Flood CAPEC-490: Amplification Amplification CAPEC-491: Quadratic Data Expansion Quadratic Data Expansion CAPEC-493: SOAP Array Blowup SOAP Array Blowup CAPEC-494: TCP Fragmentation TCP Fragmentation CAPEC-495: UDP Fragmentation UDP Fragmentation CAPEC-496: ICMP Fragmentation ICMP Fragmentation CAPEC-528: XML Flood XML Flood
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.08 }} 0.01%

score

0.34097

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability