Home / Juniper Networks / Junos OS / CVE-2022-22215
CVE-2022-22215: is it exploited, and which versions of Juniper Networks Junos OS are affected and fixed?
CVE-2022-22215 is a resource not released after use vulnerability in Juniper Networks Junos OS. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: Junos OS before 19.1R3-S8, Junos OS from 19.2 before 19.2R3-S6, Junos OS from 19.3 before 19.3R3-S5 and 10 more (CVE record by juniper). Fixed in 19.1R3-S8, 19.2R3-S6, 19.3R3-S5, 19.4R2-S6, 19.4R3-S7 and 2 more (CVE record by juniper). Severity: Medium (6.5, CVSS 3.1, from juniper).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 28, 2026, 19:49 UTC and NVD November 19, 2026, 07:47 UTC.
What is CVE-2022-22215?
Junos OS and Junos OS Evolved: /var/run/<pid>.env files are potentially not deleted during termination of a gRPC connection causing inode exhaustion
A Missing Release of File Descriptor or Handle after Effective Lifetime vulnerability in plugable authentication module (PAM) of Juniper Networks Junos OS and Junos OS Evolved allows a locally authenticated attacker with low privileges to cause a Denial of Service (DoS). It is possible that after the termination of a gRPC connection the respective/var/run/<pid>.env file is not getting deleted which if occurring repeatedly can cause inode exhaustion. Inode exhaustion can present itself in two different ways: 1. The following log message can be observed: host kernel: pid <pid> (<process>), uid <uid> inumber <number> on /.mount/var: out of inodes which by itself is a clear indication. 2. The following log message can be observed: host <process>[<pid>]: ... : No space left on device which is not deterministic and just a representation of a write error which could have several reasons. So the following check needs to be done: user@host> show system storage no-forwarding Filesystem Size Used Avail Capacity Mounted on /dev/ada1p1 475M 300M 137M 69% /.mount/var which indicates that the write error is not actually due to a lack of disk space. If either 1. or 2. has been confirmed, then the output of: user@host> file list /var/run/*.env | count need to be checked and if it indicates a high (>10000) number of files the system has been affected by this issue. This issue affects: Juniper Networks Junos OS All versions prior to 19.1R3-S8; 19.2 versions prior to 19.2R3-S6; 19.3 versions prior to 19.3R3-S5; 19.4 versions prior to 19.4R2-S6, 19.4R3-S7; 20.1 version 20.1R1 and later versions; 20.2 versions prior to 20.2R3-S5; 20.3 versions prior to 20.3R3-S4; 20.4 versions prior to 20.4R3; 21.1 versions prior to 21.1R3; 21.2 versions prior to 21.2R2. Juniper Networks Junos OS Evolved All versions prior to 20.4R3-EVO; 21.1 versions prior to 21.1R3-S1-EVO; 21.2 versions prior to 21.2R1-S1-EVO, 21.2R2-EVO.
From the CVE record by juniper, last updated September 17, 2024, 01:11 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Juniper Networks | Junos OS | before 19.1R3-S8 from 19.2 before 19.2R3-S6 from 19.3 before 19.3R3-S5 from 19.4 before 19.4R2-S6, 19.4R3-S7 every 20.1 version from 20.2 before 20.2R3-S5 from 20.3 before 20.3R3-S4 from 20.4 before 20.4R3 from 21.1 before 21.1R3 from 21.2 before 21.2R2 | 19.1R3-S8, 19.2R3-S6, 19.3R3-S5, 19.4R2-S6, 19.4R3-S7, 20.2R3-S5, 20.3R3-S4, 20.4R3, 21.1R3, 21.2R2 |
| Juniper Networks | Junos OS Evolved | before 20.4R3-EVO from 21.1 before 21.1R3-S1-EVO from 21.2 before 21.2R1-S1-EVO, 21.2R2-EVO | 20.4R3-EVO, 21.1R3-S1-EVO, 21.2R1-S1-EVO, 21.2R2-EVO |
As the CVE record by juniper states it, last updated September 17, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| juniper | junos | before 19.1 | operating system |
| juniper | junos | 19.1 | operating system |
| juniper | junos | 19.2 | operating system |
| juniper | junos | 19.3 | operating system |
| juniper | junos | 19.4 | operating system |
| juniper | junos | 20.1 | operating system |
| juniper | junos | 20.2 | operating system |
| juniper | junos | 20.3 | operating system |
| juniper | junos | 20.4 | operating system |
| juniper | junos | 21.1 | operating system |
| juniper | junos | 21.2 | operating system |
| juniper | junos os evolved | before 20.4 | operating system |
| juniper | junos os evolved | 20.4 | operating system |
| juniper | junos os evolved | 21.1 | operating system |
| juniper | junos os evolved | 21.2 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 04:28 UTC.
How severe is CVE-2022-22215?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | juniper |
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-22215 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.62% probability of exploitation activity in the next 30 days, percentile 51.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-772 Missing Release of Resource after Effective Lifetime
How do I fix it? (from the CVE record)
The following software releases have been updated to resolve this specific issue: Junos OS: 19.1R3-S8, 19.2R3-S6, 19.3R3-S5, 19.4R2-S6, 19.4R3-S7, 20.2R3-S5, 20.3R3-S4, 20.4R3, 21.1R3, 21.2R2, 21.3R1, and all subsequent releases; Junos OS Evolved: 20.4R3-EVO, 21.1R3-S1-EVO, 21.2R1-S1-EVO, 21.2R2-EVO, 21.3R1-EVO, and all subsequent releases.
Is there a workaround? (from the CVE record)
There are no viable workarounds for this issue. To reduce the risk of exploitation use access lists or firewall filters to the device only from trusted, administrative networks or hosts.
Where are the vendor advisories and references?
- https://kb.juniper.net/JSA69719 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- December 21, 2021
- Published
- July 20, 2022, 14:15 UTC
- CVE record updated
- September 17, 2024, 01:11 UTC by juniper
- NVD
- Modified, last modified June 17, 2026, 04:28 UTC
- Last checked
- CVE list November 28, 2026, 19:49 UTC; NVD November 19, 2026, 07:47 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Junos OS?
- Mar 12, 2025CVE-2025-21590 Juniper Networks Junos OS: improper Isolation or Compartmentalization exploited
- Sep 26, 2023CVE-2023-36851 Juniper Networks Junos OS: missing authentication for a critical function exploited
- Aug 17, 2023CVE-2023-36846 Juniper Networks Junos OS: missing authentication for a critical function exploited
- Aug 17, 2023CVE-2023-36845 Juniper Networks Junos OS: PHP External Variable Modification exploited
- Aug 17, 2023CVE-2023-36844 Juniper Networks Junos OS: PHP External Variable Modification exploited
- Aug 17, 2023CVE-2023-36847 Juniper Networks Junos OS: missing authentication for a critical function exploited
- May 4, 2020CVE-2020-1631 Juniper Networks Junos OS: path traversal (reading or writing files outside the intended folder) exploited
- Oct 14, 2026CVE-2026-101954 Juniper Networks Junos OS: authentication bypass (improper authentication)
Questions about CVE-2022-22215
Is CVE-2022-22215 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.62% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Juniper Networks Junos OS are affected by CVE-2022-22215?
Junos OS before 19.1R3-S8, Junos OS from 19.2 before 19.2R3-S6, Junos OS from 19.3 before 19.3R3-S5, Junos OS from 19.4 before 19.4R2-S6, 19.4R3-S7, Junos OS every 20.1 version, Junos OS from 20.2 before 20.2R3-S5 and 7 more, per the CVE record by juniper. The tables above give every range the sources list.
Which version fixes CVE-2022-22215?
19.1R3-S8, 19.2R3-S6, 19.3R3-S5, 19.4R2-S6, 19.4R3-S7, 20.2R3-S5 and 20.3R3-S4, per the CVE record by juniper. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-22215?
Medium (6.5, CVSS 3.1, from juniper). The severity table above shows each score with its source.
Where is the official record of CVE-2022-22215?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.