CVE-2021-0243

Junos OS: EX4300: Stateless firewall policer fails to discard traffic

State
Published
Severity
4.7 Medium
Published
Apr 22, 2021
Updated
Sep 17, 2024
Reserved
Oct 27, 2020

Read the record on cve.org

Description

Improper Handling of Unexpected Data in the firewall policer of Juniper Networks Junos OS on EX4300 switches allows matching traffic to exceed set policer limits, possibly leading to a limited Denial of Service (DoS) condition. When the firewall policer discard action fails on a Layer 2 port, it will allow traffic to pass even though it exceeds set policer limits. Traffic will not get discarded, and will be forwarded even though a policer discard action is configured. When the issue occurs, traffic is not discarded as desired, which can be observed by comparing the Input bytes with the Output bytes using the following command: user@junos> monitor interface traffic Interface Link Input bytes (bps) Output bytes (bps) ge-0/0/0 Up 37425422 (82616) 37425354 (82616) <<<< egress ge-0/0/1 Up 37425898 (82616) 37425354 (82616) <<<< ingress The expected output, with input and output counters differing, is shown below: Interface Link Input bytes (bps) Output bytes (bps) ge-0/0/0 Up 342420570 (54600) 342422760 (54600) <<<< egress ge-0/0/1 Up 517672120 (84000) 342420570 (54600) <<<< ingress This issue only affects IPv4 policing. IPv6 traffic and firewall policing actions are not affected by this issue. This issue affects Juniper Networks Junos OS on the EX4300: All versions prior to 17.3R3-S10; 17.4 versions prior to 17.4R3-S3; 18.1 versions prior to 18.1R3-S11; 18.2 versions prior to 18.2R3-S6; 18.3 versions prior to 18.3R3-S4; 18.4 versions prior to 18.4R3-S6; 19.1 versions prior to 19.1R3-S3; 19.2 versions prior to 19.2R3-S1; 19.3 versions prior to 19.3R3-S1; 19.4 versions prior to 19.4R3; 20.1 versions prior to 20.1R2; 20.2 versions prior to 20.2R2.

Scores

CVSSScoreVectorSource
3.14.7 MediumCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:Ljuniper

Weaknesses

  • CWE-241 Improper Handling of Unexpected Data Type

Affected Products

ProductVersions
Junos OSJuniper Networks
  • before 17.3R3-S10Affected
  • 17.4 to before 17.4R3-S3Affected
  • 18.1 to before 18.1R3-S11Affected
  • 18.2 to before 18.2R3-S6Affected
  • 18.3 to before 18.3R3-S4Affected
  • 18.4 to before 18.4R3-S6Affected
  • 19.1 to before 19.1R3-S3Affected
  • 19.2 to before 19.2R3-S1Affected
  • 19.3 to before 19.3R3-S1Affected
  • 19.4 to before 19.4R3Affected
  • 20.1 to before 20.1R2Affected
  • 20.2 to before 20.2R2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.