Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2020-1685

MEDIUM 5.8EPSS 52%

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

Mitigation

  • Vendor workaround: Avoid using the user-vlan-id match criteria.

Who should check

  • Anyone running Juniper Networks Junos OS >= 18.1, < 18.1R3-S7; >= 18.2, < 18.2R2-S7, 18.2R3-S1; >= 18.3, < 18.3R1-S5, 18.3R2-S4, 18.3R3; >= 18.4, < 18.4R1-S7, 18.4R2-S1, 18.4R3; >= 19.1, < 19.1R1-S5, 19.1R2; >= 19.2, < 19.2R1-S5, 19.2R2

Vulnerability facts

Affected
Juniper Networks Junos OS >= 18.1, < 18.1R3-S7; >= 18.2, < 18.2R2-S7, 18.2R3-S1; >= 18.3, < 18.3R1-S5, 18.3R2-S4, 18.3R3; >= 18.4, < 18.4R1-S7, 18.4R2-S1, 18.4R3; >= 19.1, < 19.1R1-S5, 19.1R2; >= 19.2, < 19.2R1-S5, 19.2R2
Fixed in
Juniper Networks Junos OS 18.1R3-S7, Juniper Networks Junos OS 18.2R2-S7, Juniper Networks Junos OS 18.3R1-S5, Juniper Networks Junos OS 18.4R1-S7, Juniper Networks Junos OS 19.1R1-S5, Juniper Networks Junos OS 19.2R1-S5
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
5.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: None
  • Integrity impact: Low
  • Availability impact: None
EPSS
0.76% chance of exploitation in 30 days (percentile 52, 2026-11-26)
CWE
CWE-203
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Juniper Networks Junos OS>= 18.1, < 18.1R3-S7; >= 18.2, < 18.2R2-S7, 18.2R3-S1; >= 18.3, < 18.3R1-S5, 18.3R2-S4, 18.3R3; >= 18.4, < 18.4R1-S7, 18.4R2-S1, 18.4R3; >= 19.1, < 19.1R1-S5, 19.1R2; >= 19.2, < 19.2R1-S5, 19.2R2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2020-1685. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2020-1685.md
Affected: Juniper Networks Junos OS >= 18.1, < 18.1R3-S7; >= 18.2, < 18.2R2-S7, 18.2R3-S1; >= 18.3, < 18.3R1-S5, 18.3R2-S4, 18.3R3; >= 18.4, < 18.4R1-S7, 18.4R2-S1, 18.4R3; >= 19.1, < 19.1R1-S5, 19.1R2; >= 19.2, < 19.2R1-S5, 19.2R2
Fixed in: Juniper Networks Junos OS 18.1R3-S7, Juniper Networks Junos OS 18.2R2-S7, Juniper Networks Junos OS 18.3R1-S5, Juniper Networks Junos OS 18.4R1-S7, Juniper Networks Junos OS 19.1R1-S5, Juniper Networks Junos OS 19.2R1-S5

Steps:
1. Search this machine and project for Juniper Networks Junos OS: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2020-1685 being exploited?

There is no confirmed exploitation: CVE-2020-1685 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.76% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2020-1685?

Medium: CVSS 5.8 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2020-1685?

Juniper Networks Junos OS >= 18.1, < 18.1R3-S7; >= 18.2, < 18.2R2-S7, 18.2R3-S1; >= 18.3, < 18.3R1-S5, 18.3R2-S4, 18.3R3; >= 18.4, < 18.4R1-S7, 18.4R2-S1, 18.4R3; >= 19.1, < 19.1R1-S5, 19.1R2; >= 19.2, < 19.2R1-S5, 19.2R2.

Is there a fix for CVE-2020-1685?

Yes. Fixed in Juniper Networks Junos OS 18.1R3-S7, Juniper Networks Junos OS 18.2R2-S7, Juniper Networks Junos OS 18.3R1-S5, Juniper Networks Junos OS 18.4R1-S7, Juniper Networks Junos OS 19.1R1-S5, Juniper Networks Junos OS 19.2R1-S5. Vendor workaround: Avoid using the user-vlan-id match criteria.

How do I check if I'm affected by CVE-2020-1685?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors