Home / Juniper Networks / Junos OS / CVE-2021-0277
CVE-2021-0277: is it exploited, and which versions of Juniper Networks Junos OS are affected and fixed?
CVE-2021-0277 is an out-of-bounds read vulnerability in Juniper Networks Junos OS. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: Junos OS from 12.3 before 12.3R12-S18, Junos OS from 15.1 before 15.1R7-S9, Junos OS from 17.3 before 17.3R3-S12 and 14 more (CVE record by juniper). Fixed in 12.3R12-S18, 15.1R7-S9, 17.3R3-S12, 17.4R2-S13, 17.4R3-S5 and 2 more (CVE record by juniper). Severity: High (8.8, CVSS 3.1, from juniper).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 28, 2026, 20:23 UTC and NVD November 19, 2026, 07:56 UTC.
What is CVE-2021-0277?
Junos OS and Junos OS Evolved: LLDP Out-of-Bounds Read vulnerability in l2cpd
An Out-of-bounds Read vulnerability in the processing of specially crafted LLDP frames by the Layer 2 Control Protocol Daemon (l2cpd) of Juniper Networks Junos OS and Junos OS Evolved may allow an attacker to cause a Denial of Service (DoS), or may lead to remote code execution (RCE). Continued receipt and processing of these frames, sent from the local broadcast domain, will repeatedly crash the l2cpd process and sustain the Denial of Service (DoS) condition. This issue affects: Juniper Networks Junos OS: 12.3 versions prior to 12.3R12-S18; 15.1 versions prior to 15.1R7-S9; 17.3 versions prior to 17.3R3-S12; 17.4 versions prior to 17.4R2-S13, 17.4R3-S5; 18.1 versions prior to 18.1R3-S13; 18.2 versions prior to 18.2R3-S8; 18.3 versions prior to 18.3R3-S5; 18.4 versions prior to 18.4R2-S8, 18.4R3-S8; 19.1 versions prior to 19.1R3-S5; 19.2 versions prior to 19.2R3-S3; 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.2R3-S1; 20.3 versions prior to 20.3R2-S1, 20.3R3; 20.4 versions prior to 20.4R2. Juniper Networks Junos OS Evolved versions prior to 20.4R2-EVO.
From the CVE record by juniper, last updated September 16, 2024, 18:29 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Juniper Networks | Junos OS | from 12.3 before 12.3R12-S18 from 15.1 before 15.1R7-S9 from 17.3 before 17.3R3-S12 from 17.4 before 17.4R2-S13, 17.4R3-S5 from 18.1 before 18.1R3-S13 from 18.2 before 18.2R3-S8 from 18.3 before 18.3R3-S5 from 18.4 before 18.4R2-S8, 18.4R3-S8 from 19.1 before 19.1R3-S5 from 19.2 before 19.2R3-S3 from 19.3 before 19.3R2-S6, 19.3R3-S2 from 19.4 before 19.4R1-S4, 19.4R2-S4, 19.4R3-S3 and 4 more ranges | 12.3R12-S18, 15.1R7-S9, 17.3R3-S12, 17.4R2-S13, 17.4R3-S5, 18.1R3-S13, 18.2R3-S8, 18.3R3-S5, 18.4R2-S8, 18.4R3-S8, 19.1R3-S5, 19.2R3-S3, 19.3R2-S6, 19.3R3-S2, 19.4R1-S4, 19.4R2-S4, 19.4R3-S3, 20.1R2-S2, 20.1R3, 20.2R3-S1, 20.3R2-S1, 20.3R3, 20.4R2 |
| Juniper Networks | Junos OS Evolved | before 20.4R2-EVO | 20.4R2-EVO |
As the CVE record by juniper states it, last updated September 16, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| juniper | junos | 12.3 | operating system |
| juniper | junos | 15.1 | operating system |
| juniper | junos | 17.3 | operating system |
| juniper | junos | 17.4 | operating system |
| juniper | junos | 18.1 | operating system |
| juniper | junos | 18.2 | operating system |
| juniper | junos | 18.4 | operating system |
| juniper | junos | 19.1 | operating system |
| juniper | junos | 19.2 | operating system |
| juniper | junos | 19.3 | operating system |
| juniper | junos | 19.4 | operating system |
| juniper | junos | 20.1 | operating system |
| juniper | junos | 20.2 | operating system |
| juniper | junos | 20.3 | operating system |
| juniper | junos | 20.4 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 03:29 UTC.
How severe is CVE-2021-0277?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | juniper |
| Medium 5.8 | CVSS 2.0 | AV:A/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-0277 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.65% probability of exploitation activity in the next 30 days, percentile 52.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-125 Out-of-bounds Read
How do I fix it? (from the CVE record)
The following software releases have been updated to resolve this specific issue: Junos OS 12.3R12-S18, 15.1R7-S9, 17.3R3-S12, 17.4R2-S13, 17.4R3-S5, 18.1R3-S13, 18.2R3-S8, 18.3R3-S5, 18.4R2-S8, 18.4R3-S8, 19.1R3-S5, 19.3R2-S6, 19.3R3-S2, 19.4R1-S4, 19.4R2-S4, 19.4R3-S3, 20.1R2-S2, 20.1R3, 20.2R3-S1, 20.3R2-S1, 20.3R3, 20.4R2, 20.4R3, 21.1R1, 21.1R2, 21.2R1, and all subsequent releases. Junos OS Evolved 20.4R2-EVO, 21.1R1-EVO, and all subsequent releases.
Is there a workaround? (from the CVE record)
1. Configure the device to not load the L2CPD daemon using the following CLI config stanza. set system processes l2cpd-service disable Additional protocols L2CPD daemon supports include RSTP, MSTP, VSTP, ERP, xSTP and ERP protocols. After issuing set system processes l2cpd-service disable, RSTP, MSTP, VSTP, ERP, xSTP and ERP protocols will cease to operate. Please note, this is not an exhaustive list, disabling L2CPD may affect other protocols and services that rely upon L2CPD daemon to be present. For example, L2ALD, MRVP, EVPN traffic, etc. may also cease to operate. To avoid downtime, customers considering applying this workaround should carefully test all workaround changes to their environment in a non-production environment first that mirrors or as closely as possible matches the production environment before applying to the production environment. 2. Configure target interfaces on the device to disable LLDP packet processing: set protocols lldp interface <interface name> disable 3. On Switching platforms such as EX/QFX Series devices implement packet filters to discard LLDP packets with an EtherType of 0x88cc. For example: set firewall family ethernet-switching filter LLDP_EXAMPLE term 1 from ether-type 0x88cc set firewall family ethernet-switching filter LLDP_EXAMPLE term 1 then discard Workaround #3 does not work on MX Series devices. MX Series devices should disable LLDP processing, filter off-system, or upgrade to a fixed release. 4. Lastly, as a method to reduce the risk of exploitation for this vulnerability, customers may implement off-system IDP and/or Firewall filtering methods such as disallowing LLDP EtherType to propagate completely on local segments, or by filtering broadcast addressed LLDP packets or unicast addressed LLDP packets not originated from trusted sources targeted to trusted destinations. Additionally, it is good security practice to limit the exploitable attack surface of critical infrastructure networking equipment. Use access lists or firewall filters to limit access to the device via all means to only trusted, administrative networks, hosts and users.
Where are the vendor advisories and references?
- https://kb.juniper.net/JSA11181 x_refsource_CONFIRM
Who found and reported it?
- The Juniper SIRT would like to acknowledge and thank Qian Chen from the Codesafe Team of Legendsec at the Qi'anxin Group. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 27, 2020
- Published
- July 15, 2021, 20:00 UTC
- CVE record updated
- September 16, 2024, 18:29 UTC by juniper
- NVD
- Modified, last modified June 17, 2026, 03:29 UTC
- Last checked
- CVE list November 28, 2026, 20:23 UTC; NVD November 19, 2026, 07:56 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Junos OS?
- Mar 12, 2025CVE-2025-21590 Juniper Networks Junos OS: improper Isolation or Compartmentalization exploited
- Sep 26, 2023CVE-2023-36851 Juniper Networks Junos OS: missing authentication for a critical function exploited
- Aug 17, 2023CVE-2023-36846 Juniper Networks Junos OS: missing authentication for a critical function exploited
- Aug 17, 2023CVE-2023-36845 Juniper Networks Junos OS: PHP External Variable Modification exploited
- Aug 17, 2023CVE-2023-36844 Juniper Networks Junos OS: PHP External Variable Modification exploited
- Aug 17, 2023CVE-2023-36847 Juniper Networks Junos OS: missing authentication for a critical function exploited
- May 4, 2020CVE-2020-1631 Juniper Networks Junos OS: path traversal (reading or writing files outside the intended folder) exploited
- Oct 14, 2026CVE-2026-101954 Juniper Networks Junos OS: authentication bypass (improper authentication)
Questions about CVE-2021-0277
Is CVE-2021-0277 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.65% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Juniper Networks Junos OS are affected by CVE-2021-0277?
Junos OS from 12.3 before 12.3R12-S18, Junos OS from 15.1 before 15.1R7-S9, Junos OS from 17.3 before 17.3R3-S12, Junos OS from 17.4 before 17.4R2-S13, 17.4R3-S5, Junos OS from 18.1 before 18.1R3-S13, Junos OS from 18.2 before 18.2R3-S8 and 11 more, per the CVE record by juniper. The tables above give every range the sources list.
Which version fixes CVE-2021-0277?
12.3R12-S18, 15.1R7-S9, 17.3R3-S12, 17.4R2-S13, 17.4R3-S5, 18.1R3-S13 and 18.2R3-S8, per the CVE record by juniper. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-0277?
High (8.8, CVSS 3.1, from juniper). The severity table above shows each score with its source.
Where is the official record of CVE-2021-0277?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.