6.5
MEDIUM
CVE-2022-22215
Juniper Networks Junos OS and Junos OS Evolved File Descriptor Leak DoS
Description

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.

INFO

Published Date :

July 20, 2022, 3:15 p.m.

Last Modified :

July 29, 2022, 10:58 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

2.8
Public PoC/Exploit Available at Github

CVE-2022-22215 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2022-22215 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Juniper junos
2 Juniper junos_os_evolved
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-22215.

URL Resource
https://kb.juniper.net/JSA69719 Exploit Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

test 反向辣鸡数据投放 CVE-2022-23305 工具 利用 教程 Exploit POC

cve-2020-

Updated: 1 year, 10 months ago
5 stars 2 fork 2 watcher
Born at : Jan. 21, 2022, 5:07 a.m. This repo has been linked 2608 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-22215 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-22215 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Jul. 29, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://kb.juniper.net/JSA69719 No Types Assigned https://kb.juniper.net/JSA69719 Exploit, Vendor Advisory
    Added CWE NIST CWE-772
    Added CPE Configuration OR *cpe:2.3:o:juniper:junos:*:*:*:*:*:*:*:* versions up to (excluding) 19.1 *cpe:2.3:o:juniper:junos:19.1:-:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r1-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r1-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r1-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r1-s5:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r1-s6:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r2-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r2-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r2-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r3-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r3-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r3-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r3-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r3-s5:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r3-s6:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.1:r3-s7:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:-:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r1-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r1-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r1-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r1-s5:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r1-s6:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r1-s7:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r1-s8:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r1-s9:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r2-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r3-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r3-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r3-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r3-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.2:r3-s5:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:-:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r2-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r2-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r2-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r2-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r2-s5:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r2-s6:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r3-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r3-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r3-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.3:r3-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:-:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r1-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r1-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r1-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r2-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r2-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r2-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r2-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r2-s5:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r3-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r3-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r3-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r3-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r3-s5:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:19.4:r3-s6:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.1:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.1:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.1:r1-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.1:r1-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.1:r1-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.1:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.1:r2-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.1:r2-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.1:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.1:r3-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.1:r3-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.1:r3-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.2:-:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.2:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.2:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.2:r1-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.2:r1-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.2:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.2:r2-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.2:r2-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.2:r2-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.2:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.2:r3-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.2:r3-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.2:r3-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.2:r3-s4:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.3:-:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.3:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.3:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.3:r1-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.3:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.3:r2-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.3:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.3:r3-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.3:r3-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.3:r3-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.4:-:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.4:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.4:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.4:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.4:r2-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:20.4:r2-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:21.1:-:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:21.1:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:21.1:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:21.1:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:21.1:r2-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:21.1:r2-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:21.2:-:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:21.2:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:21.2:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos:21.2:r1-s2:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:juniper:junos_os_evolved:*:*:*:*:*:*:*:* versions up to (excluding) 20.4 *cpe:2.3:o:juniper:junos_os_evolved:20.4:-:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:20.4:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:20.4:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:20.4:r1-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:20.4:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:20.4:r2-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:20.4:r2-s2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:20.4:r2-s3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.1:-:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.1:r1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.1:r1-s1:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.1:r2:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.1:r3:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.2:-:*:*:*:*:*:* *cpe:2.3:o:juniper:junos_os_evolved:21.2:r1:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-22215 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-22215 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.04 }} 0.00%

score

0.10360

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability