Security Advisory

CVE-2022-22186: Junos EX4650 Management Port Forwarding Flaw

Last updated:
  • CVE-2022-22186

CVE-2022-22186 is an improper initialization flaw in Junos OS on Juniper EX4650 Series switches: packets that arrive on the out-of-band management interface (em0) but are not addressed to the switch may be forwarded out of a data-plane port instead of being dropped, which breaks the separation between management and production networks. NVD scores it 6.5 and Juniper 7.2. Fixed Junos releases start at 19.1R3-S8.

Vulnerability summary

CVSS base score

6.5

Medium severity

EPSS score (FIRST)

0.6%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2022-22186 · Source: NVD

Affected components

ComponentCPEVersion range
Juniper Networks Junos OS on EX4650 Seriescpe:2.3:o:juniper:junos:*:*:*:*:*:*:*:*All versions before 19.1R3-S8; 19.2 before 19.2R3-S5; 19.3 before 19.3R3-S5; 19.4 before 19.4R3-S7; 20.1 before 20.1R3-S3; 20.2 before 20.2R3-S4; 20.3 before 20.3R3-S3; 20.4 before 20.4R3-S2; 21.1 before 21.1R3-S1; 21.2 before 21.2R3; 21.3 before 21.3R2; 21.4 before 21.4R2; 22.1 before 22.1R1 (Juniper CNA record, JSA69494). EX4650 hardware only

What does this mean for affected devices?

Juniper is the CNA, and its description reads: "packets received on the management interface (em0) but not destined to the device, may be improperly forwarded to an egress interface, instead of being discarded. Such traffic being sent by a client may appear genuine, but is non-standard in nature and should be considered as potentially malicious." The record cites Juniper advisory JSA69494, says the issue was found internally, and was published on 2022-04-14 (Juniper JSA69494, CVE record).

Why does management-port leakage matter?

An out-of-band management port exists so that the network that manages a switch stays separate from the traffic the switch carries. In plants, substations and data centres the management network is often the trusted one. If the switch forwards stray packets from em0 into the data plane, a host on the management network can reach production segments it should not see, and the switch becomes an unintended bridge.

How severe is it, and who scored it?

The two scores differ on scope:

Scorer Score Vector
NVD (Primary) 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Juniper (CNA) 7.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Juniper marks scope as changed, because the impact lands on systems behind the switch rather than on the switch itself; NVD keeps scope unchanged. NVD also keeps a CVSS v2 score of 6.4 (NVD). Our CVSS v4 vs v3.1 guide uses this CVE to show how CVSS v4.0 moves that impact into the Subsequent System metrics.

Which Junos releases fix it?

Juniper's solution lists 19.1R3-S8, 19.2R3-S5, 19.3R3-S5, 19.4R3-S7, 20.1R3-S3, 20.2R3-S4, 20.3R3-S3, 20.4R3-S2, 21.1R3-S1, 21.2R3, 21.3R2, 21.4R2, 22.1R1 "and all subsequent releases". Only the EX4650 platform is affected. Where an upgrade has to wait, Juniper's workaround is to disable the net.transit_re sysctl flag (sysctl -w net.transit_re=0), which makes management traffic forwarded to the PFE ports drop; Juniper notes that sysctl flags do not survive a reboot, so the setting has to be reapplied after every restart. Filtering what can reach em0 limits the traffic that could be forwarded in the first place.

NVD's CPE configuration lists every affected Junos build as a separate junos entry combined with the EX4650 hardware, so a scanner has to match both the release and the platform. The authentication bypass fix guide covers the wider class of flaws where a device lets traffic cross a boundary it should enforce. Related advisories: CVE-2015-7755, a Juniper ScreenOS authentication bypass, and CVE-2023-2575, a flaw in an industrial Ethernet switch.

CVE-2022-22186 is not in the CISA KEV catalog as of 2026-11-23 (catalog version 2026.11.20, 1,790 entries), and the Juniper record states that Juniper SIRT is not aware of any malicious exploitation. FIRST EPSS gives it 0.00644, the 51.9th percentile, in the 2026-11-22 dataset (CISA KEV, FIRST EPSS).

How to fix this class of issueNo dedicated SoftWSP guide covers this weakness class; the fix is usually the vendor patch or firmware update referenced above. Our related guide explains how to plan and verify it: NIST SP 800-40 Rev. 4: enterprise patch management planning, explained.

Evidence

  • NVD (read 2026-11-23): status Modified, published 2022-04-14; NVD Primary CVSS v3.1 6.5 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N and CVSS v2 6.4; Juniper Secondary 7.2 AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N; CWE-665 (Juniper); CPE: individual junos builds with ex4650 hardware. — NVD
  • CVE record (checked 2026-11-23): state PUBLISHED, CNA juniper, published 2022-04-14; advisory JSA69494, discovery INTERNAL; platform EX4650 Series; fixed in 19.1R3-S8, 19.2R3-S5, 19.3R3-S5, 19.4R3-S7, 20.1R3-S3, 20.2R3-S4, 20.3R3-S3, 20.4R3-S2, 21.1R3-S1, 21.2R3, 21.3R2, 21.4R2, 22.1R1 and all subsequent releases; workaround sysctl -w net.transit_re=0, which does not survive a reboot; Juniper SIRT not aware of malicious exploitation. — CVE.org
  • Juniper JSA69494 (kb.juniper.net redirects to the 2022-04 Security Bulletin for Junos OS EX4650 Series, CVE-2022-22186), opened 2026-11-23. — Juniper
  • Not in the CISA KEV catalog, version 2026.11.20 (1,790 entries), checked 2026-11-23. — CISA KEV
  • EPSS 0.00644, percentile 0.51852, dataset 2026-11-22, read 2026-11-23. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. Juniper security bulletin JSA69494
  3. CVE.org record CVE-2022-22186 (CNA: Juniper)
  4. CISA KEV
  5. FIRST EPSS

Frequently asked questions

Which Junos releases fix CVE-2022-22186?

Juniper lists 19.1R3-S8, 19.2R3-S5, 19.3R3-S5, 19.4R3-S7, 20.1R3-S3, 20.2R3-S4, 20.3R3-S3, 20.4R3-S2, 21.1R3-S1, 21.2R3, 21.3R2, 21.4R2, 22.1R1 and all subsequent releases. Only Junos OS on EX4650 Series switches is affected.

Is there a workaround without upgrading?

Juniper's workaround is to run sysctl -w net.transit_re=0, which drops management traffic forwarded to the PFE ports. Sysctl flags do not survive a reboot, so the setting must be reapplied after every restart.

Why do NVD and Juniper give different scores?

Juniper scores 7.2 with a changed scope, because the forwarded traffic affects systems behind the switch. NVD scores 6.5 with scope unchanged. Both rate low confidentiality and integrity impact and no availability impact.

Is CVE-2022-22186 exploited in the wild?

It is not in the CISA KEV catalog as of 2026-11-23 (catalog version 2026.11.20, 1,790 entries), and Juniper SIRT says it is not aware of malicious exploitation. Its EPSS score is 0.00644, the 51.9th percentile, in the 2026-11-22 dataset.