CVEBrief

Home / Juniper Networks / Junos OS / CVE-2018-0021

CVE-2018-0021: is it exploited, and which versions of Juniper Networks Junos OS are affected and fixed?

CVE-2018-0021 is a weak encryption man-in-the-middle attack brute force attack dictionary attack 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, 10:08 UTC). Affected: Junos OS from 14.1 before 14.1R10, 14.1R9, Junos OS from 14.1X53 before 14.1X53-D47, Junos OS from 15.1 before 15.1R4-S9, 15.1R6-S6, 15.1R7 and 5 more (CVE record by juniper). Fixed in 14.1R10, 14.1R9, 14.1X53-D47, 15.1R4-S9, 15.1R6-S6, 15.1R7, 15.1X49-D100 and 2 more (CVE record by juniper). Severity: High (8.8, CVSS 3.0, from juniper).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:33 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 10:08 UTC
Affected
Junos OS from 14.1 before 14.1R10, 14.1R9, Junos OS from 14.1X53 before 14.1X53-D47, Junos OS from 15.1 before 15.1R4-S9, 15.1R6-S6, 15.1R7 and 5 more
CVE record by juniper
Fixed in
14.1R10, 14.1R9, 14.1X53-D47, 15.1R4-S9, 15.1R6-S6, 15.1R7, 15.1X49-D100 and 2 more
CVE record by juniper
Severity
High 8.8
CVSS 3.0 from juniper
Exploit odds (EPSS)
0.60% in 30 days
higher than 50% of CVEs; FIRST, December 2, 2026

What is CVE-2018-0021?

Junos OS: Short MacSec keys may allow man-in-the-middle attacks.

If all 64 digits of the connectivity association name (CKN) key or all 32 digits of the connectivity association key (CAK) key are not configured, all remaining digits will be auto-configured to 0. Hence, Juniper devices configured with short MacSec keys are at risk to an increased likelihood that an attacker will discover the secret passphrases configured for these keys through dictionary-based and brute-force-based attacks using spoofed packets. Affected releases are Juniper Networks Junos OS: 14.1 versions prior to 14.1R10, 14.1R9; 14.1X53 versions prior to 14.1X53-D47; 15.1 versions prior to 15.1R4-S9, 15.1R6-S6, 15.1R7; 15.1X49 versions prior to 15.1X49-D100; 15.1X53 versions prior to 15.1X53-D59; 16.1 versions prior to 16.1R3-S8, 16.1R4-S8, 16.1R5; 16.2 versions prior to 16.2R1-S6, 16.2R2; 17.1 versions prior to 17.1R2.

From the CVE record by juniper, last updated September 17, 2024, 00:36 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
Juniper NetworksJunos OSfrom 14.1 before 14.1R10, 14.1R9
from 14.1X53 before 14.1X53-D47
from 15.1 before 15.1R4-S9, 15.1R6-S6, 15.1R7
from 15.1X49 before 15.1X49-D100
from 15.1X53 before 15.1X53-D59
from 16.1 before 16.1R3-S8, 16.1R4-S8, 16.1R5
from 16.2 before 16.2R1-S6, 16.2R2
from 17.1 before 17.1R2
14.1R10, 14.1R9, 14.1X53-D47, 15.1R4-S9, 15.1R6-S6, 15.1R7, 15.1X49-D100, 15.1X53-D59, 16.1R3-S8, 16.1R4-S8, 16.1R5, 16.2R1-S6, 16.2R2, 17.1R2

As the CVE record by juniper states it, last updated September 17, 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?

VendorProductVersionsType
juniperjunos15.1x49operating system
juniperjunos14.1operating system
juniperjunos14.1x53operating system
juniperjunos15.1x53operating system
juniperjunos16.1operating system
juniperjunos16.2operating system
juniperjunos17.1operating system
juniperjunos15.1operating system

NVD analysis (status Modified), last modified June 17, 2026, 01:29 UTC.

How severe is CVE-2018-0021?

ScoreVersionVectorSource
High 8.8CVSS 3.0CVSS:3.0/AV:A/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:Hjuniper
High 8.8CVSS 3.0CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
Low 3.3CVSS 2.0AV:A/AC:L/Au:N/C:P/I:N/A:NNVD

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-2018-0021 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
0.60% probability of exploitation activity in the next 30 days, percentile 50.1 (FIRST EPSS, scores of December 2, 2026)

How do I fix it? (from the CVE record)

The following software releases have been updated to resolve this specific issue: 14.1R9, 14.1X53-D47, 15.1R4-S9, 15.1R6-S6, 15.1R7, 15.1X49-D100, 15.1X53-D59, 16.1R3-S8, 16.1R4-S8, 16.1R5, 16.2R1-S6, 16.2R2, 17.1R2, 17.2R1 and all subsequent releases.

Is there a workaround? (from the CVE record)

Configure all 64 digits of a CKN. Configure all 32 digits of a CAK. See the junos task topic macsec for further information.

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
November 16, 2017
Published
April 11, 2018, 19:00 UTC
CVE record updated
September 17, 2024, 00:36 UTC by juniper
NVD
Modified, last modified June 17, 2026, 01:29 UTC
Last checked
CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:33 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Junos OS?

Every CVE in Junos OS

Questions about CVE-2018-0021

Is CVE-2018-0021 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 0.60% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Juniper Networks Junos OS are affected by CVE-2018-0021?

Junos OS from 14.1 before 14.1R10, 14.1R9, Junos OS from 14.1X53 before 14.1X53-D47, Junos OS from 15.1 before 15.1R4-S9, 15.1R6-S6, 15.1R7, Junos OS from 15.1X49 before 15.1X49-D100, Junos OS from 15.1X53 before 15.1X53-D59, Junos OS from 16.1 before 16.1R3-S8, 16.1R4-S8, 16.1R5 and 2 more, per the CVE record by juniper. The tables above give every range the sources list.

Which version fixes CVE-2018-0021?

14.1R10, 14.1R9, 14.1X53-D47, 15.1R4-S9, 15.1R6-S6, 15.1R7, 15.1X49-D100, 15.1X53-D59 and 16.1R3-S8, 16.1R4-S8, 16.1R5, per the CVE record by juniper. Check the vendor's advisory before you rely on it.

How severe is CVE-2018-0021?

High (8.8, CVSS 3.0, from juniper). The severity table above shows each score with its source.

Where is the official record of CVE-2018-0021?

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.