CVE-2018-0021

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

8.8 high EPSS 0.60%

Published 11 Apr 2018 Updated 17 Sep 2024 CNA: juniper

Description

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.

Severity (CVSS)

8.8 high CVSS 3.0 from juniper (CNA)
CVSS:3.0/AV:A/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Attack vector
adjacent: the attacker has to be on the same local network or link
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
required: a user has to do something, such as open a link or a file
Scope
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.60%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 42.8% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Junos OS
affected from 14.1, before 14.1R10, 14.1R9
affected from 14.1X53, before 14.1X53-D47
affected from 15.1, before 15.1R4-S9, 15.1R6-S6, 15.1R7
affected from 15.1X49, before 15.1X49-D100
affected from 15.1X53, before 15.1X53-D59
affected from 16.1, before 16.1R3-S8, 16.1R4-S8, 16.1R5
affected from 16.2, before 16.2R1-S6, 16.2R2
affected from 17.1, before 17.1R2

Is my server affected?

This CVE is in Junos OS of Juniper Networks, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Advisories

Other references

  • 1040789 securitytracker.com · vdb entry

Source: the record CVE-2018-0021 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.