Vulnerability Name:

CVE-2020-1685 (CCN-189911)

Assigned:2019-11-04
Published:2020-10-14
Updated:2021-02-05
Summary: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.
CVSS v3 Severity:5.8 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N)
5.1 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): None
Integrity (I): Low
Availibility (A): None
5.8 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N)
5.1 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): None
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:5.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
5.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-203
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2020-1685

Source: XF
Type: UNKNOWN
juniper-cve20201685-sec-bypass(189911)

Source: CCN
Type: Juniper Networks Security Bulletin JSA11082
Junos OS: EX4600, QFX5K Series: Stateless firewall filter matching 'user-vlan-id' will cause incomplete discard action (CVE-2020-1685)

Source: CONFIRM
Type: Vendor Advisory
https://kb.juniper.net/JSA11082

Vulnerable Configuration:Configuration 1:
  • cpe:/o:juniper:junos:18.1:-:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r2-s1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r2-s2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r2-s4:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r3:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r3-s1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r3-s2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r3-s3:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r3-s4:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.1:r3-s6:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:-:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r2-s1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r2-s2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r1-s3:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.3:r1-s1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.3:r2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.3:r1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.3:r1-s2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.3:-:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r1:-:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.3:r1-s3:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r2-s3:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r2-s4:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.3:r1-s4:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r1-s4:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r1-s5:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r3:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r2-s5:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.2:r2-s6:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.3:r2-s1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.3:r2-s2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.3:r2-s3:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:r1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:-:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:r1-s1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:r1-s3:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:r1-s4:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:r1-s2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:19.1:r1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:19.1:-:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:19.2:r1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:r2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:19.1:r1-s1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:19.1:r1-s3:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:19.1:r1-s2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:r1-s5:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:19.2:r1-s1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:19.2:r1-s2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:19.2:-:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:19.2:r1-s3:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:19.2:r1-s4:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:19.1:r1-s4:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:r1-s6:*:*:*:*:*:*
  • AND
  • cpe:/h:juniper:qfx5100:-:*:*:*:*:*:*:*
  • OR cpe:/h:juniper:qfx5110:-:*:*:*:*:*:*:*
  • OR cpe:/h:juniper:qfx5120:-:*:*:*:*:*:*:*
  • OR cpe:/h:juniper:qfx5130:-:*:*:*:*:*:*:*
  • OR cpe:/h:juniper:qfx5200:-:*:*:*:*:*:*:*
  • OR cpe:/h:juniper:qfx5210:-:*:*:*:*:*:*:*
  • OR cpe:/h:juniper:qfx5220:-:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:juniper:junos:18.1:-:*:*:*:*:*:*
  • OR cpe:/a:juniper:junos:18.2:*:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.3:-:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:18.4:-:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:19.1:-:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos:19.2:-:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    juniper junos 18.1 -
    juniper junos 18.1 r1
    juniper junos 18.1 r2
    juniper junos 18.1 r2-s1
    juniper junos 18.1 r2-s2
    juniper junos 18.1 r2-s4
    juniper junos 18.1 r3
    juniper junos 18.1 r3-s1
    juniper junos 18.1 r3-s2
    juniper junos 18.1 r3-s3
    juniper junos 18.1 r3-s4
    juniper junos 18.1 r3-s6
    juniper junos 18.2 r1
    juniper junos 18.2 -
    juniper junos 18.2 r2-s1
    juniper junos 18.2 r2-s2
    juniper junos 18.2 r1-s3
    juniper junos 18.3 r1-s1
    juniper junos 18.3 r2
    juniper junos 18.3 r1
    juniper junos 18.3 r1-s2
    juniper junos 18.3 -
    juniper junos 18.2 r1
    juniper junos 18.3 r1-s3
    juniper junos 18.2 r2-s3
    juniper junos 18.2 r2-s4
    juniper junos 18.3 r1-s4
    juniper junos 18.2 r1-s4
    juniper junos 18.2 r1-s5
    juniper junos 18.2 r2
    juniper junos 18.2 r3
    juniper junos 18.2 r2-s5
    juniper junos 18.2 r2-s6
    juniper junos 18.3 r2-s1
    juniper junos 18.3 r2-s2
    juniper junos 18.3 r2-s3
    juniper junos 18.4 r1
    juniper junos 18.4 -
    juniper junos 18.4 r1-s1
    juniper junos 18.4 r1-s3
    juniper junos 18.4 r1-s4
    juniper junos 18.4 r1-s2
    juniper junos 19.1 r1
    juniper junos 19.1 -
    juniper junos 19.2 r1
    juniper junos 18.4 r2
    juniper junos 19.1 r1-s1
    juniper junos 19.1 r1-s3
    juniper junos 19.1 r1-s2
    juniper junos 18.4 r1-s5
    juniper junos 19.2 r1-s1
    juniper junos 19.2 r1-s2
    juniper junos 19.2 -
    juniper junos 19.2 r1-s3
    juniper junos 19.2 r1-s4
    juniper junos 19.1 r1-s4
    juniper junos 18.4 r1-s6
    juniper qfx5100 -
    juniper qfx5110 -
    juniper qfx5120 -
    juniper qfx5130 -
    juniper qfx5200 -
    juniper qfx5210 -
    juniper qfx5220 -
    juniper junos 18.1 -
    juniper junos 18.2
    juniper junos 18.3 -
    juniper junos 18.4 -
    juniper junos 19.1 -
    juniper junos 19.2 -