CVE-2020-1685

Junos OS: EX4600, QFX5K Series: Stateless firewall filter matching 'user-vlan-id' will cause incomplete discard action

AllVuln state: AFFECTED

MEDIUM
CVSS
5.8
3.1
EPSS
0.76%
Percentile 56.69%
CISA KEV
Not listed
Published
October 16, 2020
Updated September 16, 2024

Description

When configuring stateless firewall filters in Juniper Networks EX4600 and QFX 5000 Series devices using Virtual Extensible LAN protocol (VXLAN), the discard action will fail to discard traffic under certain conditions. Given a firewall filter configuration similar to: family ethernet-switching { filter L2-VLAN { term ALLOW { from { user-vlan-id 100; } then { accept; } } term NON-MATCH { then { discard; } } when there is only one term containing a 'user-vlan-id' match condition, and no other terms in the firewall filter except discard, the discard action for non-matching traffic will only discard traffic with the same VLAN ID specified under 'user-vlan-id'. Other traffic (e.g. VLAN ID 200) will not be discarded. This unexpected behavior can lead to unintended traffic passing through the interface where the firewall filter is applied. This issue only affects systems using VXLANs. This issue affects Juniper Networks Junos OS on QFX5K Series: 18.1 versions prior to 18.1R3-S7, except 18.1R3; 18.2 versions prior to 18.2R2-S7, 18.2R3-S1; 18.3 versions prior to 18.3R1-S5, 18.3R2-S4, 18.3R3; 18.4 versions prior to 18.4R1-S7, 18.4R2-S1, 18.4R3; 19.1 versions prior to 19.1R1-S5, 19.1R2; 19.2 versions prior to 19.2R1-S5, 19.2R2.

Risk details

CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
attack vector
N
attack complexity
L
privileges required
N
user interaction
N
scope
C
CWE
CWE-203

What should I do?

Review the vendor remediation for fixed or recommended release 18.1R3-S7.

Supported product evidence

Juniper Networks · Junos OS
Confirmed affected by authoritative structured evidence · Juniper Networks CNA / CVE List V5
Vendor advisory ↗

Applicability

NOT_AFFECTED · EXACT
18.1R3
AFFECTED · RANGE
18.1R3-S7
NOT_AFFECTED · EXACT
18.1R3-S7
UNKNOWN · UNKNOWN
{"lessThan": "18.2R2-S7, 18.2R3-S1", "status": "affected", "version": "18.2", "versionType": "custom"}
UNKNOWN · UNKNOWN
{"lessThan": "18.3R1-S5, 18.3R2-S4, 18.3R3", "status": "affected", "version": "18.3", "versionType": "custom"}
UNKNOWN · UNKNOWN
{"lessThan": "18.4R1-S7, 18.4R2-S1, 18.4R3", "status": "affected", "version": "18.4", "versionType": "custom"}
UNKNOWN · UNKNOWN
{"lessThan": "19.1R1-S5, 19.1R2", "status": "affected", "version": "19.1", "versionType": "custom"}
UNKNOWN · UNKNOWN
{"lessThan": "19.2R1-S5, 19.2R2", "status": "affected", "version": "19.2", "versionType": "custom"}
UNKNOWN · DEFAULT
{"defaultStatus": null}

Remediation

FIX_AVAILABLE
Release train: 18.1
First fixed: 18.1R3-S7
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

UNKNOWN · UNKNOWN
{'status': 'unaffected', 'version': '18.1R3'}
Required configuration: A sample VXLAN configuration is shown below: evpn { encapsulation vxlan; }
AFFECTED · RANGE
18.1 → 18.1R3-S7
Platform: EX4600
Required configuration: A sample VXLAN configuration is shown below: evpn { encapsulation vxlan; }
AFFECTED · RANGE
18.1 → 18.1R3-S7
Platform: QFX5K Series
Required configuration: A sample VXLAN configuration is shown below: evpn { encapsulation vxlan; }
AFFECTED · RANGE
18.2 → 18.2R2-S7, 18.2R3-S1
Platform: EX4600
Required configuration: A sample VXLAN configuration is shown below: evpn { encapsulation vxlan; }
AFFECTED · RANGE
18.2 → 18.2R2-S7, 18.2R3-S1
Platform: QFX5K Series
Required configuration: A sample VXLAN configuration is shown below: evpn { encapsulation vxlan; }
AFFECTED · RANGE
18.3 → 18.3R1-S5, 18.3R2-S4, 18.3R3
Platform: EX4600
Required configuration: A sample VXLAN configuration is shown below: evpn { encapsulation vxlan; }
AFFECTED · RANGE
18.3 → 18.3R1-S5, 18.3R2-S4, 18.3R3
Platform: QFX5K Series
Required configuration: A sample VXLAN configuration is shown below: evpn { encapsulation vxlan; }
AFFECTED · RANGE
18.4 → 18.4R1-S7, 18.4R2-S1, 18.4R3
Platform: EX4600
Required configuration: A sample VXLAN configuration is shown below: evpn { encapsulation vxlan; }
AFFECTED · RANGE
18.4 → 18.4R1-S7, 18.4R2-S1, 18.4R3
Platform: QFX5K Series
Required configuration: A sample VXLAN configuration is shown below: evpn { encapsulation vxlan; }
AFFECTED · RANGE
19.1 → 19.1R1-S5, 19.1R2
Platform: EX4600
Required configuration: A sample VXLAN configuration is shown below: evpn { encapsulation vxlan; }
AFFECTED · RANGE
19.1 → 19.1R1-S5, 19.1R2
Platform: QFX5K Series
Required configuration: A sample VXLAN configuration is shown below: evpn { encapsulation vxlan; }
AFFECTED · RANGE
19.2 → 19.2R1-S5, 19.2R2
Platform: EX4600
Required configuration: A sample VXLAN configuration is shown below: evpn { encapsulation vxlan; }
AFFECTED · RANGE
19.2 → 19.2R1-S5, 19.2R2
Platform: QFX5K Series
Required configuration: A sample VXLAN configuration is shown below: evpn { encapsulation vxlan; }

Remediation

UNKNOWN
Release train: 18.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 18.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 18.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 18.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 19.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 19.2
First fixed: Unknown
Vendor recommended: Not supplied

Evidence sources

Coverage varies by vendor, product, platform, and historical source availability. Absence of a finding is not a security guarantee. Validate critical remediation against the linked vendor advisory.

AllVuln data refreshed November 5, 2026.