Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-22209

HIGH 7.5PoCEPSS 61%

Junos OS: RIB and PFEs can get out of sync due to a memory leak caused by interface flaps or route churn

Mitigation

  • Vendor workaround: There are no known workarounds for this issue.

Who should check

  • Anyone running Juniper Networks Junos OS >= 21.2, < 21.2R3; >= 21.3, < 21.3R2-S1, 21.3R3; >= 21.4, < 21.4R1-S2, 21.4R2

Vulnerability facts

Affected
Juniper Networks Junos OS >= 21.2, < 21.2R3; >= 21.3, < 21.3R2-S1, 21.3R3; >= 21.4, < 21.4R1-S2, 21.4R2
Fixed in
Juniper Networks Junos OS 21.2R3, Juniper Networks Junos OS 21.3R2-S1, Juniper Networks Junos OS 21.4R1-S2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.98% chance of exploitation in 30 days (percentile 61, 2026-11-26)
CWE
CWE-401
Published
Modified

Description

A Missing Release of Memory after Effective Lifetime vulnerability in the kernel of Juniper Networks Junos OS allows an unauthenticated network based attacker to cause a Denial of Service (DoS). On all Junos platforms, the Kernel Routing Table (KRT) queue can get stuck due to a memory leak triggered by interface flaps or route churn leading to RIB and PFEs getting out of sync. The memory leak causes RTNEXTHOP/route and next-hop memory pressure issue and the KRT queue will eventually get stuck with the error- 'ENOMEM -- Cannot allocate memory'. The out-of-sync state between RIB and FIB can be seen with the "show route" and "show route forwarding-table" command. This issue will lead to failures for adding new routes. The KRT queue status can be checked using the CLI command "show krt queue": user@host > show krt state High-priority add queue: 1 queued ADD nhtype Router index 0 (31212) error 'ENOMEM -- Cannot allocate memory' kqp '0x8ad5e40' The following messages will be observed in /var/log/messages, which indicate high memory for routes/nexthops: host rpd[16279]: RPD_RT_HWM_NOTICE: New RIB highwatermark for routes: 266 [2022-03-04 05:06:07] host rpd[16279]: RPD_KRT_Q_RETRIES: nexthop ADD: Cannot allocate memory host rpd[16279]: RPD_KRT_Q_RETRIES: nexthop ADD: Cannot allocate memory host kernel: rts_veto_net_delayed_unref_limit: Route/nexthop memory is severe pressure. User Application to perform recovery actions. O p 8 err 12, rtsm_id 0:-1, msg type 10, veto simulation: 0. host kernel: rts_veto_net_delayed_unref_limit: Memory usage of M_RTNEXTHOP type = (806321208) Max size possible for M_RTNEXTHOP type = (689432176) Current delayed unref = (0), Max delayed unref on this platform = (120000) Current delayed weight unref = (0) Max delayed weight unref on this platform = (400000) curproc = rpd. This issue affects: Juniper Networks Junos OS 21.2 versions prior to 21.2R3; 21.3 versions prior to 21.3R2-S1, 21.3R3; 21.4 versions prior to 21.4R1-S2, 21.4R2; This issue does not affect Juniper Networks Junos OS versions prior to 21.2R1.

Affected and fixed versions

Package / productAffectedFixedSource
Juniper Networks Junos OS>= 21.2, < 21.2R3; >= 21.3, < 21.3R2-S1, 21.3R3; >= 21.4, < 21.4R1-S2, 21.4R2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-22209. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-22209.md
Affected: Juniper Networks Junos OS >= 21.2, < 21.2R3; >= 21.3, < 21.3R2-S1, 21.3R3; >= 21.4, < 21.4R1-S2, 21.4R2
Fixed in: Juniper Networks Junos OS 21.2R3, Juniper Networks Junos OS 21.3R2-S1, Juniper Networks Junos OS 21.4R1-S2

Steps:
1. Search this machine and project for Juniper Networks Junos OS: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-22209 being exploited?

There is no confirmed exploitation: CVE-2022-22209 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.98% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-22209?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2022-22209?

Juniper Networks Junos OS >= 21.2, < 21.2R3; >= 21.3, < 21.3R2-S1, 21.3R3; >= 21.4, < 21.4R1-S2, 21.4R2.

Is there a fix for CVE-2022-22209?

Yes. Fixed in Juniper Networks Junos OS 21.2R3, Juniper Networks Junos OS 21.3R2-S1, Juniper Networks Junos OS 21.4R1-S2. Vendor workaround: There are no known workarounds for this issue.

How do I check if I'm affected by CVE-2022-22209?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors