CVE-2022-22220

Junos OS and Junos OS Evolved: Due to a race condition the rpd process can crash upon receipt of a BGP update message containing flow spec route

State
Published
Severity
5.9 Medium
Published
Oct 18, 2022
Updated
May 12, 2025
Reserved
Dec 21, 2021

Read the record on cve.org

Description

A Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability in Routing Protocol Daemon (rpd) of Juniper Networks Junos OS, Junos OS Evolved allows a network-based unauthenticated attacker to cause a Denial of Service (DoS). When a BGP flow route with redirect IP extended community is received, and the reachability to the next-hop of the corresponding redirect IP is flapping, the rpd process might crash. Whether the crash occurs depends on the timing of the internally processing of these two events and is outside the attackers control. Please note that this issue also affects Route-Reflectors unless 'routing-options flow firewall-install-disable' is configured. This issue affects: Juniper Networks Junos OS: 18.4 versions prior to 18.4R2-S10, 18.4R3-S10; 19.1 versions prior to 19.1R3-S7; 19.2 versions prior to 19.2R1-S8, 19.2R3-S4; 19.4 versions prior to 19.4R3-S8; 20.2 versions prior to 20.2R3-S3; 20.3 versions prior to 20.3R3-S2; 20.4 versions prior to 20.4R3; 21.1 versions prior to 21.1R2. Juniper Networks Junos OS Evolved: All versions prior to 20.4R2-EVO; 21.1-EVO versions prior to 21.1R2-EVO. This issue does not affect Juniper Networks Junos OS versions prior to 18.4R1.

Scores

CVSSScoreVectorSource
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:Hjuniper

Weaknesses

  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition

Affected Products

ProductVersions
Junos OSJuniper Networks
  • before 18.4R1Not affected
  • 18.4 to before 18.4R2-S10, 18.4R3-S10Affected
  • 19.1 to before 19.1R3-S7Affected
  • 19.2 to before 19.2R1-S8, 19.2R3-S4Affected
  • 19.4 to before 19.4R3-S8Affected
  • 20.2 to before 20.2R3-S3Affected
  • 20.3 to before 20.3R3-S2Affected
  • 20.4 to before 20.4R3Affected
  • 21.1 to before 21.1R2Affected
Junos OS EvolvedJuniper Networks
  • before 20.4R2-EVOAffected
  • 21.1-EVO to before 21.1R2-EVOAffected

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.