#VU68369 Time-of-check Time-of-use (TOCTOU) Race Condition in Juniper Junos OS and Junos OS Evolved


Published: 2022-10-17

Vulnerability identifier: #VU68369

Vulnerability risk: Medium

CVSSv3.1: 5.2 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-22220

CWE-ID: CWE-367

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Juniper Junos OS
Operating systems & Components / Operating system
Junos OS Evolved
Operating systems & Components / Operating system

Vendor: Juniper Networks, Inc.

Description

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Juniper Junos OS: 19.4 - 19.4R3-S7, 19.4R1 - 19.4R1-S4, 18.4 - 18.4R2-S9, 18.4R1-S5, 18.4R2-S3, 20.3 - 20.3R3-S1, 19.2 - 19.2R1-S7, 19.2R1-S4, 19.1 - 19.1R3-S6, 19.1R1-S4, 20.2 - 20.2R3-S2, 21.1 - 21.1R1-S1, 20.4 - 20.4R2-S2

Junos OS Evolved: 21.2-EVO, 21.1 - 21.1R1-S1-EVO, 20.4 - 20.4R1-S2-EVO


External links
http://supportportal.juniper.net/s/article/2022-10-Security-Bulletin-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-CVE-2022-22220


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability