CVE-2022-22240

published 18 Oct 2022 · updated 9 May 2025

Junos OS and Junos OS Evolved: An rpd memory leak might be observed while running a specific cli command in a RIB sharding scenario

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 20.4R3-S1-EVO, 21.1-EVO*, 21.2R1-S2-EVO, 21.2R3-EVO and 8 more.

An Allocation of Resources Without Limits or Throttling and a Missing Release of Memory after Effective Lifetime vulnerability in the routing protocol daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved allows a locally authenticated low privileged attacker to cause a Denial of Sevice (DoS). In a high-scaled BGP routing environment with rib-sharding enabled, two issues may occur when executing a specific CLI command. One is a memory leak issue with rpd where the leak rate is not constant, and the other is a temporary spike in rpd memory usage during command execution. This issue affects: Juniper Networks Junos OS 19.4 versions prior to 19.4R3-S9; 20.2 versions prior to 20.2R3-S5; 20.3 versions prior to 20.3R3-S2; 20.4 versions prior to 20.4R3-S1; 21.1 versions prior to 21.1R3; 21.2 versions prior to 21.2R1-S2, 21.2R2-S1, 21.2R3; 21.3 versions prior to 21.3R2. Juniper Networks Junos OS Evolved All versions prior to 20.4R3-S1-EVO; 21.1-EVO version 21.1R1-EVO and later versions; 21.2-EVO versions prior to 21.2R1-S2-EVO, 21.2R3-EVO; 21.3-EVO versions prior to 21.3R2-EVO. This issue does not affect Juniper Networks Junos OS versions prior to 19.2R1.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Juniper Networks<20.4R3-S1-EVO, >=21.1R1-EVO <21.1-EVO*, >=21.2-EVO <21.2R1-S2-EVO, 21.2R3-EVO, >=21.3-EVO <21.3R2-EVO, >=19.4 <19.4R3-S9, >=20.2 <20.2R3-S5, >=20.3 <20.3R3-S2, >=20.4 <20.4R3-S1, >=21.1 <21.1R3, >=21.2 <21.2R1-S2, 21.2R2-S1, 21.2R3, >=21.3 <21.3R220.4R3-S1-EVO, 21.1-EVO*, 21.2R1-S2-EVO, 21.2R3-EVO, 21.3R2-EVO, 19.4R3-S9, 20.2R3-S5, 20.3R3-S2, 20.4R3-S1, 21.1R3, 21.2R1-S2, 21.2R2-S1, 21.2R3, 21.3R2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-22240 severity on Zeptric[![CVE-2022-22240](https://zeptric.io/badge/cve/CVE-2022-22240.svg)](https://zeptric.io/cve/CVE-2022-22240)