CVE-2021-0247

Junos OS: PTX Series, QFX Series: Due to a race condition input loopback firewall filters applied to interfaces may not operate even when listed in the running configuration.

MEDIUM
5.5
CVSS Score
Published: April 22, 2021 at 07:37 PM UTC
Updated: June 17, 2026 at 03:29 AM UTC
20 products affected across 2 vendorsJunosQfx5200Qfx5110

Using Junos OS by Juniper Networks?

Get instant alerts when new vulnerabilities affect Junos OS - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.6%

Description

A Race Condition (Concurrent Execution using Shared Resource with Improper Synchronization) vulnerability in the firewall process (dfwd) of Juniper Networks Junos OS allows an attacker to bypass the firewall rule sets applied to the input loopback filter on any interfaces of a device. This issue is detectable by reviewing the PFE firewall rules, as well as the firewall counters and seeing if they are incrementing or not. For example: show firewall Filter: __default_bpdu_filter__ Filter: FILTER-INET-01 Counters: Name Bytes Packets output-match-inet 0 0 <<<<<< missing firewall packet count This issue affects: Juniper Networks Junos OS 14.1X53 versions prior to 14.1X53-D53 on QFX Series; 14.1 versions 14.1R1 and later versions prior to 15.1 versions prior to 15.1R7-S6 on QFX Series, PTX Series; 15.1X53 versions prior to 15.1X53-D593 on QFX Series; 16.1 versions prior to 16.1R7-S7 on QFX Series, PTX Series; 16.2 versions prior to 16.2R2-S11, 16.2R3 on QFX Series, PTX Series; 17.1 versions prior to 17.1R2-S11, 17.1R3-S2 on QFX Series, PTX Series; 17.2 versions prior to 17.2R1-S9, 17.2R3-S3 on QFX Series, PTX Series; 17.3 versions prior to 17.3R2-S5, 17.3R3-S7 on QFX Series, PTX Series; 17.4 versions prior to 17.4R2-S9, 17.4R3 on QFX Series, PTX Series; 18.1 versions prior to 18.1R3-S9 on QFX Series, PTX Series; 18.2 versions prior to 18.2R2-S6, 18.2R3-S3 on QFX Series, PTX Series; 18.3 versions prior to 18.3R1-S7, 18.3R2-S3, 18.3R3-S1 on QFX Series, PTX Series; 18.4 versions prior to 18.4R1-S5, 18.4R2-S3, 18.4R2-S7, 18.4R3 on QFX Series, PTX Series; 19.1 versions prior to 19.1R1-S4, 19.1R2-S1, 19.1R3 on QFX Series, PTX Series; 19.2 versions prior to 19.2R1-S3, 19.2R2 on QFX Series, PTX Series.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

14.1R1 ≤ v < 14.1*14.1X53 ≤ v < 14.1X53-D5315.1 ≤ v < 15.1R7-S615.1X53 ≤ v < 15.1X53-D59316.1 ≤ v < 16.1R7-S716.2 ≤ v < 16.2R2-S11, 16.2R317.1 ≤ v < 17.1R2-S11, 17.1R3-S217.2 ≤ v < 17.2R1-S9, 17.2R3-S317.3 ≤ v < 17.3R2-S5, 17.3R3-S717.4 ≤ v < 17.4R2-S9, 17.4R318.1 ≤ v < 18.1R3-S918.2 ≤ v < 18.2R2-S6, 18.2R3-S318.3 ≤ v < 18.3R1-S7, 18.3R2-S3, 18.3R3-S118.4 ≤ v < 18.4R1-S5, 18.4R2-S3, 18.4R319.1 ≤ v < 19.1R1-S4, 19.1R2-S1, 19.1R319.2 ≤ v < 19.2R1-S3, 19.2R214.114.1 r114.1 r214.1 r314.1 r414.1 r514.1 r614.1 r714.1 r814.1 r8-s314.1 r914.1R114.1X5314.1x5314.1x53 d1014.1x53 d1514.1x53 d1614.1x53 d2014.1x53 d2514.1x53 d2614.1x53 d2714.1x53 d3014.1x53 d3414.1x53 d3514.1x53 d3814.1x53 d4014.1x53 d4214.1x53 d4314.1x53 d4414.1x53 d4514.1x53 d4614.1x53 d4714.1x53 d4814.1x53 d4914.1x53 d5014.1x53 d5114.1x53 d5214.214.2 r14.2 r114.2 r214.2 r314.2 r414.2 r514.2 r614.2 r714.2 r7-s614.2 r7-s714.2 r7-s814.2 r815.115.1 a115.1 f15.1 f115.1 f215.1 f2-s115.1 f2-s215.1 f2-s315.1 f2-s415.1 f315.1 f415.1 f515.1 f5-s715.1 f615.1 f6-s115.1 f6-s1015.1 f6-s1215.1 f6-s215.1 f6-s315.1 f6-s415.1 f6-s515.1 f6-s615.1 f6-s715.1 f6-s815.1 f6-s915.1 f715.1 r15.1 r115.1 r215.1 r315.1 r415.1 r4-s715.1 r4-s815.1 r4-s915.1 r515.1 r5-s115.1 r5-s315.1 r5-s515.1 r5-s615.1 r615.1 r6-s115.1 r6-s215.1 r6-s315.1 r6-s415.1 r6-s615.1 r715.1 r7-s115.1 r7-s215.1 r7-s315.1 r7-s415.1 r7-s515.1X5315.1x5315.1x53 d1015.1x53 d2015.1x53 d2115.1x53 d21015.1x53 d23015.1x53 d23115.1x53 d23215.1x53 d23315.1x53 d23415.1x53 d23515.1x53 d23615.1x53 d23715.1x53 d2515.1x53 d3015.1x53 d3115.1x53 d3215.1x53 d3315.1x53 d3415.1x53 d4015.1x53 d4515.1x53 d4715.1x53 d47015.1x53 d47115.1x53 d4815.1x53 d49015.1x53 d49515.1x53 d5015.1x53 d5115.1x53 d5215.1x53 d5515.1x53 d5615.1x53 d5715.1x53 d5815.1x53 d5915.1x53 d59015.1x53 d59115.1x53 d59215.1x53 d6015.1x53 d6115.1x53 d6215.1x53 d6315.1x53 d6415.1x53 d6515.1x53 d6615.1x53 d6715.1x53 d6815.1x53 d6915.1x53 d7016.116.1 r16.1 r116.1 r216.1 r316.1 r3-s1016.1 r3-s1116.1 r3-s816.1 r416.1 r4-s1216.1 r4-s216.1 r4-s316.1 r4-s416.1 r4-s616.1 r4-s816.1 r4-s916.1 r516.1 r5-s416.1 r616.1 r6-s116.1 r6-s316.1 r6-s416.1 r6-s616.1 r716.1 r7-s216.1 r7-s316.1 r7-s416.1 r7-s516.1 r7-s616.216.2 r116.2 r1-s616.2 r216.2 r2-s116.2 r2-s1016.2 r2-s216.2 r2-s516.2 r2-s616.2 r2-s716.2 r2-s816.2 r2-s917.117.1 r117.1 r1-s717.1 r217.1 r2-s117.1 r2-s1017.1 r2-s217.1 r2-s317.1 r2-s417.1 r2-s517.1 r2-s617.1 r2-s717.1 r2-s817.1 r2-s917.1 r317.1 r3-s117.217.2 r117.2 r1-s117.2 r1-s217.2 r1-s317.2 r1-s417.2 r1-s517.2 r1-s617.2 r1-s717.2 r1-s817.2 r217.2 r2-s1117.2 r2-s417.2 r2-s617.2 r2-s717.2 r317.2 r3-s117.2 r3-s217.317.3 r117.3 r1-s117.3 r1-s417.3 r217.3 r2-s117.3 r2-s217.3 r2-s317.3 r2-s417.3 r317.3 r3-s117.3 r3-s1017.3 r3-s217.3 r3-s317.3 r3-s417.3 r3-s517.3 r3-s617.417.4 r117.4 r1-s117.4 r1-s217.4 r1-s317.4 r1-s417.4 r1-s517.4 r1-s617.4 r1-s717.4 r217.4 r2-s117.4 r2-s1017.4 r2-s1117.4 r2-s217.4 r2-s317.4 r2-s417.4 r2-s517.4 r2-s617.4 r2-s717.4 r2-s818.118.1 r118.1 r218.1 r2-s118.1 r2-s218.1 r2-s418.1 r318.1 r3-s118.1 r3-s1018.1 r3-s1118.1 r3-s218.1 r3-s318.1 r3-s418.1 r3-s518.1 r3-s618.1 r3-s718.1 r3-s818.218.2 r118.2 r1-s218.2 r1-s318.2 r1-s418.2 r1-s518.2 r218.2 r2-s118.2 r2-s218.2 r2-s318.2 r2-s418.2 r2-s518.2 r318.2 r3-s118.2 r3-s218.318.3 r118.3 r1-s118.3 r1-s218.3 r1-s318.3 r1-s418.3 r1-s518.3 r1-s618.3 r318.418.4 r218.4 r2-s118.4 r2-s219.119.1 r119.1 r1-s119.1 r1-s219.1 r1-s319.1 r219.219.2 r119.2 r1-s119.2 r1-s2
Affected range stops below 14.1*, so it looks safe — our inference, not a vendor statement
Affected range stops below 14.1X53-D53, so it looks safe — our inference, not a vendor statement
Affected range stops below 15.1R7-S6, so it looks safe — our inference, not a vendor statement
Affected range stops below 15.1X53-D593, so it looks safe — our inference, not a vendor statement
Affected range stops below 16.1R7-S7, so it looks safe — our inference, not a vendor statement
Affected range stops below 16.2R2-S11, 16.2R3, so it looks safe — our inference, not a vendor statement
Affected range stops below 17.1R2-S11, 17.1R3-S2, so it looks safe — our inference, not a vendor statement
Affected range stops below 17.2R1-S9, 17.2R3-S3, so it looks safe — our inference, not a vendor statement
Affected range stops below 17.3R2-S5, 17.3R3-S7, so it looks safe — our inference, not a vendor statement
Affected range stops below 17.4R2-S9, 17.4R3, so it looks safe — our inference, not a vendor statement
Affected range stops below 18.1R3-S9, so it looks safe — our inference, not a vendor statement
Affected range stops below 18.2R2-S6, 18.2R3-S3, so it looks safe — our inference, not a vendor statement
Affected range stops below 18.3R1-S7, 18.3R2-S3, 18.3R3-S1, so it looks safe — our inference, not a vendor statement
Affected range stops below 18.4R1-S5, 18.4R2-S3, 18.4R3, so it looks safe — our inference, not a vendor statement
Affected range stops below 19.1R1-S4, 19.1R2-S1, 19.1R3, so it looks safe — our inference, not a vendor statement
Affected range stops below 19.2R1-S3, 19.2R2, so it looks safe — our inference, not a vendor statement
juniper-ptx1000 (environment) · juniper-ptx10001-36mr (environment) · juniper-ptx10002 (environment) · juniper-ptx10003 (environment) · juniper-ptx10004 (environment) · juniper-ptx10008 (environment) · juniper-ptx10016 (environment) · juniper-ptx3000 (environment) · juniper-ptx5000 (environment) · juniper-qfx10002 (environment) · juniper-qfx10008 (environment) · juniper-qfx10016 (environment) · juniper-qfx5100 (environment) · juniper-qfx5110 (environment) · juniper-qfx5120 (environment) · juniper-qfx5130 (environment) · juniper-qfx5200 (environment) · juniper-qfx5210 (environment) · juniper-qfx5220 (environment)
All versions
All versions
All versions
All versions
All versions
All versions
All versions
All versions
All versions

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

Patch and advisory references

References (1)

x_refsource_MISCVendor Advisory
https://kb.juniper.net/JSA11140

CVSS

Attack Vector
NETWORK
Complexity
HIGH
Privileges
HIGH
User Interaction
NONE
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
LOW
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-362

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card