CVE-2022-22240: Junos OS and Junos OS Evolved: An rpd memory leak might be observed while running a specific cli command in a RIB sharding scenario
Vulnerability summary
CVE-2022-22240 is a medium (CVSS 5.5) vulnerability in juniper networks junos os. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 10.9% of scored vulnerabilities.
Timeline
- 18-10-2022PublishedVulnerability first disclosed.
- 09-05-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
11%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.20% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-401Missing Release of Memory after Effective LifetimeThe product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.
- CWE-770Allocation of Resources Without Limits or ThrottlingThe product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Affected systems
Juniper2 products
- junos19.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:r2-s6 | 19.4:r3 | 19.4:r3-s1 | 19.4:r3-s2 | 19.4:r3-s3 | 19.4:r3-s4 | 19.4:r3-s5 | 19.4:r3-s6 | 19.4:r3-s7 | 19.4:r3-s8 | 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 | 20.2:r3-s3 | 20.2:r3-s4 | 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.4 | 20.4:r1 | 20.4:r1-s1 | 20.4:r2 | 20.4:r2-s1 | 20.4:r2-s2 | 20.4:r3 | 21.1 | 21.1:r1 | 21.1:r1-s1 | 21.1:r2 | 21.1:r2-s1 | 21.1:r2-s2 | 21.2 | 21.2:r1 | 21.2:r1-s1 | 21.2:r2 | 21.3 | 21.3:r1 | 21.3:r1-s1 | 21.3:r1-s2
- junos_os_evolved< 20.4 | 20.4 | 20.4:r1 | 20.4:r1-s1 | 20.4:r1-s2 | 20.4:r2 | 20.4:r2-s1 | 20.4:r2-s2 | 20.4:r2-s3 | 20.4:r3 | 21.1:r1 | 21.1:r1-s1 | 21.1:r2 | 21.1:r3 | 21.1:r3-s1 | 21.2 | 21.2:r1 | 21.2:r1-s1 | 21.2:r2 | 21.2:r2-s1 | 21.2:r2-s2 | 21.3 | 21.3:r1 | 21.3:r1-s1
Juniper networks2 products
- junos os≥ 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.3R2
- junos os evolved≥ unspecified, < 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
2 vendors · 4 products
References
1 links- kb.juniper.net/JSA69896Vendor Advisory