Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
Juniper Networks Junos OS
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Juniper Networks Junos OS是美国瞻博网络(Juniper Networks)公司的一套专用于该公司的硬件设备的网络操作系统。该操作系统提供了安全编程接口和Junos SDK。 Juniper Networks Junos OS 存在资源管理错误漏洞,该漏洞源于攻击者可以通过/var/run/pid.env触发过载,从而触发拒绝服务。

CVSS 6.5 · Medium EPSS 0.61% · P47

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-22215

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Junos OS and Junos OS Evolved: /var/run/<pid>.env files are potentially not deleted during termination of a gRPC connection causing inode exhaustion
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Juniper Networks Junos OS 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Juniper Networks Junos OS是美国瞻博网络(Juniper Networks)公司的一套专用于该公司的硬件设备的网络操作系统。该操作系统提供了安全编程接口和Junos SDK。 Juniper Networks Junos OS 存在资源管理错误漏洞,该漏洞源于攻击者可以通过/var/run/pid.env触发过载,从而触发拒绝服务。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Juniper Networks Junos OS unspecified ~ 19.1R3-S8 -
Juniper Networks Junos OS Evolved unspecified ~ 20.4R3-EVO -

II. Public POCs for CVE-2022-22215

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-22215

请登录查看更多情报信息。

Vendor Advisories for CVE-2022-22215 (1)

Same Patch Batch · Juniper Networks · 2022-07-20 · 15 CVEs total

CVE-2022-22221 7.8 HIGH Junos OS: SRX and EX Series: Local privilege escalation flaw in "download" functionality
CVE-2022-22205 7.5 HIGH Junos OS: SRX Series: An FPC memory leak can occur in an APBR scenario
CVE-2022-22206 7.5 HIGH Junos OS: SRX series: The PFE will crash when specific traffic is scanned by Enhanced Web
CVE-2022-22207 7.5 HIGH Junos OS: MX Series with MPC11: In a GNF / node slicing scenario gathering AF interface st
CVE-2022-22209 7.5 HIGH Junos OS: RIB and PFEs can get out of sync due to a memory leak caused by interface flaps
CVE-2022-22212 7.5 HIGH Junos OS Evolved: A high rate of specific hostbound traffic will cause unexpected hostboun
CVE-2022-22202 6.5 MEDIUM Junos OS: PTX Series: FPCs may restart unexpectedly upon receipt of specific MPLS packets
CVE-2022-22203 6.5 MEDIUM Junos OS: EX4600 Series and QFX5000 Series: Receipt of specific traffic will lead to an fx
CVE-2022-22210 6.5 MEDIUM Junos OS: QFX5000 Series and MX Series: An l2alm crash leading to an FPC crash can be obse
CVE-2022-22214 6.5 MEDIUM Junos OS and Junos OS Evolved: In an MPLS scenario upon receipt of a specific IPv6 packet
CVE-2022-22217 6.1 MEDIUM Junos OS: QFX10K Series: Denial of Service (DoS) upon receipt of crafted MLD packets on mu
CVE-2022-22213 5.9 MEDIUM Junos OS and Junos OS Evolved: Denial of Service (DoS) vulnerability in RPD upon receipt o
CVE-2022-22204 5.3 MEDIUM Junos OS: MX Series and SRX Series: When receiving a specific SIP packets stale call table
CVE-2022-22216 4.3 MEDIUM Junos OS: PTX Series and QFX10000 Series: 'Etherleak' memory disclosure in Ethernet paddin

IV. Related Vulnerabilities

V. Comments for CVE-2022-22215

No comments yet


Leave a comment