SecurityContext

CVE-2022-22220: Juniper Networks Junos OS - Race Condition

  • Cve: CVE-2022-22220
  • Name: Juniper Networks Junos OS - Race Condition
  • 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.
  • Impact: Attackers can cause the rpd process to crash, leading to a denial of service condition.
  • Remediation: Update to Junos OS 18.4R2-S10 or later, 19.1R3-S7 or later, 19.2R1-S8 or later, 19.2R3-S4 or later, 19.4R3-S8 or later, 20.2R3-S3 or later, 20.3R3-S2 or later, 20.4R3 or later, 21.1R2 or later, or Junos OS Evolved 20.4R2-EVO or later, 21.1R2-EVO or later.
  • Vulnerability type: race_condition
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.9
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00538
  • Epss percentile: 0.46178
  • Assignee: [email protected]
  • Published at: 2022-10-18T03:15:09Z
  • Age in days: 1498
  • Modified at: 2026-06-17T04:28:02Z
  • Patch available: yes
  • References total: 1
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-22220
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

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

References

UrlSourceTags
https://kb.juniper.net/JSA69902nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
juniper:junos= 21.1, = 21.1 r1, = 21.1 r1-s1, = 20.4, = 20.4 r1, = 20.4 r1-s1, = 20.4 r2, = 20.4 r2-s1, = 20.4 r2-s2, = 20.3, = 20.3 r1, = 20.3 r1-s1, = 20.3 r1-s2, = 20.3 r2, = 20.3 r2-s1, = 20.3 r3, = 20.3 r3-s1, = 20.3 r3-s2, = 20.2, = 20.2 r1, = 20.2 r1-s1, = 20.2 r1-s2, = 20.2 r1-s3, = 20.2 r2, = 20.2 r2-s1, = 20.2 r2-s2, = 20.2 r2-s3, = 20.2 r3, = 20.2 r3-s1, = 20.2 r3-s2, = 19.4, = 19.4 r1, = 19.4 r1-s1, = 19.4 r1-s2, = 19.4 r1-s3, = 19.4 r1-s4, = 19.4 r2, = 19.4 r2-s1, = 19.4 r2-s2, = 19.4 r2-s3, = 19.4 r2-s4, = 19.4 r2-s5, = 19.4 r3-s6, = 19.4 r3-s7, = 19.1, = 19.1 r1, = 19.1 r1-s1, = 19.1 r1-s2, = 19.1 r1-s3, = 19.1 r1-s4, = 19.1 r1-s5, = 19.1 r1-s6, = 19.1 r2, = 19.1 r2-s1, = 19.1 r2-s2, = 19.1 r2-s3, = 19.1 r3, = 19.1 r3-s1, = 19.1 r3-s2, = 19.1 r3-s3, = 19.1 r3-s4, = 19.1 r3-s5, = 19.1 r3-s6, < 18.4, = 18.4, = 18.4 r1, = 18.4 r1-s1, = 18.4 r1-s2, = 18.4 r1-s3, = 18.4 r1-s4, = 18.4 r1-s5, = 18.4 r1-s6, = 18.4 r1-s7, = 18.4 r2, = 18.4 r2-s1, = 18.4 r2-s2, = 18.4 r2-s3, = 18.4 r2-s4, = 18.4 r2-s5, = 18.4 r2-s6, = 18.4 r2-s7, = 18.4 r2-s8, = 18.4 r2-s9, = 18.4 r3-s10nonvd/v1/products/juniper/junos
juniper:junos_os_evolved= 21.1, = 21.1 r1, = 21.1 r1-s1, < 20.4, = 20.4, = 20.4 r1, = 20.4 r1-s1, = 20.4 r1-s2nonvd/v1/products/juniper/junos_os_evolved

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 23086
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports