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

State
Published
Severity
5.5 Medium
Published
Oct 18, 2022
Updated
May 9, 2025
Reserved
Dec 21, 2021

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:Hjuniper

Weaknesses

  • CWE-770 Allocation of Resources Without Limits or Throttling
  • CWE-401 Missing Release of Memory after Effective Lifetime

Affected Products

ProductVersions
Junos OSJuniper Networks
  • before 19.2R1Not affected
  • 19.4 to before 19.4R3-S9Affected
  • 20.2 to before 20.2R3-S5Affected
  • 20.3 to before 20.3R3-S2Affected
  • 20.4 to before 20.4R3-S1Affected
  • 21.1 to before 21.1R3Affected
  • 21.2 to before 21.2R1-S2, 21.2R2-S1, 21.2R3Affected
  • 21.3 to before 21.3R2Affected
Junos OS EvolvedJuniper Networks
  • before 20.4R3-S1-EVOAffected
  • 21.1R1-EVO to before 21.1-EVO*Affected
  • 21.2-EVO to before 21.2R1-S2-EVO, 21.2R3-EVOAffected
  • 21.3-EVO to before 21.3R2-EVOAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.