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.

AllVuln state: AFFECTED

MEDIUM
CVSS
5.1
3.1
EPSS
0.58%
Percentile 48.95%
CISA KEV
Not listed
Published
April 22, 2021
Updated September 16, 2024

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.

Risk details

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

What should I do?

Review the vendor remediation for fixed or recommended release 14.1X53-D53.

Supported product evidence

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

Applicability

AFFECTED · RANGE
14.1X53 → 14.1X53-D53
NOT_AFFECTED · EXACT
14.1X53-D53
AFFECTED · RANGE
15.1X53 → 15.1X53-D593
NOT_AFFECTED · EXACT
15.1X53-D593
UNKNOWN · DEFAULT
{"defaultStatus": null}
AFFECTED · EXACT
14.1R1
AFFECTED · RANGE
15.1R7-S6
NOT_AFFECTED · EXACT
15.1R7-S6
AFFECTED · RANGE
16.1R7-S7
NOT_AFFECTED · EXACT
16.1R7-S7
UNKNOWN · UNKNOWN
{"lessThan": "16.2R2-S11, 16.2R3", "status": "affected", "version": "16.2", "versionType": "custom"}
UNKNOWN · UNKNOWN
{"lessThan": "17.1R2-S11, 17.1R3-S2", "status": "affected", "version": "17.1", "versionType": "custom"}
UNKNOWN · UNKNOWN
{"lessThan": "17.2R1-S9, 17.2R3-S3", "status": "affected", "version": "17.2", "versionType": "custom"}
UNKNOWN · UNKNOWN
{"lessThan": "17.3R2-S5, 17.3R3-S7", "status": "affected", "version": "17.3", "versionType": "custom"}
UNKNOWN · UNKNOWN
{"lessThan": "17.4R2-S9, 17.4R3", "status": "affected", "version": "17.4", "versionType": "custom"}
AFFECTED · RANGE
18.1R3-S9
NOT_AFFECTED · EXACT
18.1R3-S9
UNKNOWN · UNKNOWN
{"lessThan": "18.2R2-S6, 18.2R3-S3", "status": "affected", "version": "18.2", "versionType": "custom"}
UNKNOWN · UNKNOWN
{"lessThan": "18.3R1-S7, 18.3R2-S3, 18.3R3-S1", "status": "affected", "version": "18.3", "versionType": "custom"}
UNKNOWN · UNKNOWN
{"lessThan": "18.4R1-S5, 18.4R2-S3, 18.4R3", "status": "affected", "version": "18.4", "versionType": "custom"}
UNKNOWN · UNKNOWN
{"lessThan": "19.1R1-S4, 19.1R2-S1, 19.1R3", "status": "affected", "version": "19.1", "versionType": "custom"}
UNKNOWN · UNKNOWN
{"lessThan": "19.2R1-S3, 19.2R2", "status": "affected", "version": "19.2", "versionType": "custom"}
UNKNOWN · DEFAULT
{"defaultStatus": null}

Remediation

FIX_AVAILABLE
Release train: 14.1
First fixed: 14.1X53-D53
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 15.1
First fixed: 15.1X53-D593
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 15.1
First fixed: 15.1R7-S6
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 16.1
First fixed: 16.1R7-S7
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 18.1
First fixed: 18.1R3-S9
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
14.1X53 → 14.1X53-D53
Platform: QFX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
15.1X53 → 15.1X53-D593
Platform: QFX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
14.1R1 → 14.1*
Platform: QFX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
14.1R1 → 14.1*
Platform: PTX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
15.1 → 15.1R7-S6
Platform: QFX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
15.1 → 15.1R7-S6
Platform: PTX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
16.1 → 16.1R7-S7
Platform: QFX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
16.1 → 16.1R7-S7
Platform: PTX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
16.2 → 16.2R2-S11, 16.2R3
Platform: QFX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
16.2 → 16.2R2-S11, 16.2R3
Platform: PTX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
17.1 → 17.1R2-S11, 17.1R3-S2
Platform: QFX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
17.1 → 17.1R2-S11, 17.1R3-S2
Platform: PTX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
17.2 → 17.2R1-S9, 17.2R3-S3
Platform: QFX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
17.2 → 17.2R1-S9, 17.2R3-S3
Platform: PTX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
17.3 → 17.3R2-S5, 17.3R3-S7
Platform: QFX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
17.3 → 17.3R2-S5, 17.3R3-S7
Platform: PTX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
17.4 → 17.4R2-S9, 17.4R3
Platform: QFX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
17.4 → 17.4R2-S9, 17.4R3
Platform: PTX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
18.1 → 18.1R3-S9
Platform: QFX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
18.1 → 18.1R3-S9
Platform: PTX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
18.2 → 18.2R2-S6, 18.2R3-S3
Platform: QFX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
18.2 → 18.2R2-S6, 18.2R3-S3
Platform: PTX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
18.3 → 18.3R1-S7, 18.3R2-S3, 18.3R3-S1
Platform: QFX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
18.3 → 18.3R1-S7, 18.3R2-S3, 18.3R3-S1
Platform: PTX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
18.4 → 18.4R1-S5, 18.4R2-S3, 18.4R3
Platform: QFX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
18.4 → 18.4R1-S5, 18.4R2-S3, 18.4R3
Platform: PTX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
19.1 → 19.1R1-S4, 19.1R2-S1, 19.1R3
Platform: QFX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
19.1 → 19.1R1-S4, 19.1R2-S1, 19.1R3
Platform: PTX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
19.2 → 19.2R1-S3, 19.2R2
Platform: QFX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.
AFFECTED · RANGE
19.2 → 19.2R1-S3, 19.2R2
Platform: PTX Series
Required configuration: This issue impact all filters families (inet, inet6, etc.) yet only on input loopback filters. It does not does not rely upon the location where a filter is set, impacting both logical and physical interfaces. Configuration examples for input filtering are posted on the support site and in product documentation.

Remediation

UNKNOWN
Release train: 18.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 14.1X53
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 15.1X53
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 14.1R1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 15.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 16.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 16.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 17.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 17.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 17.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 17.4
First fixed: Unknown
Vendor recommended: Not supplied
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.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.