cve.bz

CVE-2021-0247 juniper junos: Race Condition

5.5 mediumEPSS 0.6%

Medium (5.5) in juniper junos. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:L
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 48th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-0247 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-0247?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-0247?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-0247 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Juniper Networks Junos OSfrom 14.1X53 before 14.1X53-D53
Juniper Networks Junos OSfrom 15.1X53 before 15.1X53-D593
Juniper Networks Junos OSfrom 14.1R1 before 14.1*
Juniper Networks Junos OSfrom 15.1 before 15.1R7-S6
Juniper Networks Junos OSfrom 16.1 before 16.1R7-S7
Juniper Networks Junos OSfrom 16.2 before 16.2R2-S11, 16.2R3
Juniper Networks Junos OSfrom 17.1 before 17.1R2-S11, 17.1R3-S2
Juniper Networks Junos OSfrom 17.2 before 17.2R1-S9, 17.2R3-S3
Juniper Networks Junos OSfrom 17.3 before 17.3R2-S5, 17.3R3-S7
Juniper Networks Junos OSfrom 17.4 before 17.4R2-S9, 17.4R3
Juniper Networks Junos OSfrom 18.1 before 18.1R3-S9
Juniper Networks Junos OSfrom 18.2 before 18.2R2-S6, 18.2R3-S3
Juniper Networks Junos OSfrom 18.3 before 18.3R1-S7, 18.3R2-S3, 18.3R3-S1
Juniper Networks Junos OSfrom 18.4 before 18.4R1-S5, 18.4R2-S3, 18.4R3
Juniper Networks Junos OSfrom 19.1 before 19.1R1-S4, 19.1R2-S1, 19.1R3
Juniper Networks Junos OSfrom 19.2 before 19.2R1-S3, 19.2R2

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON