Time-of-check Time-of-use (TOCTOU) Race Condition in Junos OS and Junos OS Evolved - CVE-2022-22220

 

Time-of-check Time-of-use (TOCTOU) Race Condition in Junos OS and Junos OS Evolved - CVE-2022-22220

Published: October 17, 2022


Vulnerability identifier: #VU68369
CSH Severity: Medium
CVSS v4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-22220
CWE-ID: CWE-367
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a race condition in Routing Protocol Daemon (rpd) when handling BGP traffic. 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.


Affected software

Junos OS
Junos OS Evolved

How to mitigate CVE-2022-22220

Install updates from vendor's website.

Junos OS - addressed in versions 18.4R2-S10, 18.4R3-S10, 19.1R3-S7, 19.2R1-S8, 19.2R3-S4, 19.4R3-S8, 20.2R3-S3, 20.3R3-S2, 20.4R3, 21.1R2, 21.2R1
Junos OS Evolved - addressed in versions 20.4R2-EVO, 21.1R2-EVO, 21.2R1-EVO

External References

Related Security Bulletins