ID

VAR-202207-0917


CVE

CVE-2022-22215


TITLE

Juniper Networks  Junos OS  and  Junos OS Evolved  Vulnerability regarding lack of resource release after valid lifetime in

Trust: 0.8

sources: JVNDB: JVNDB-2022-013702

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

Trust: 1.8

sources: NVD: CVE-2022-22215 // JVNDB: JVNDB-2022-013702 // VULHUB: VHN-409744 // VULMON: CVE-2022-22215

AFFECTED PRODUCTS

vendor:junipermodel:junosscope:eqversion:21.1

Trust: 1.0

vendor:junipermodel:junosscope:ltversion:19.1

Trust: 1.0

vendor:junipermodel:junos os evolvedscope:eqversion:21.1

Trust: 1.0

vendor:junipermodel:junosscope:eqversion:20.1

Trust: 1.0

vendor:junipermodel:junosscope:eqversion:19.4

Trust: 1.0

vendor:junipermodel:junosscope:eqversion:19.1

Trust: 1.0

vendor:junipermodel:junosscope:eqversion:20.3

Trust: 1.0

vendor:junipermodel:junosscope:eqversion:20.4

Trust: 1.0

vendor:junipermodel:junosscope:eqversion:20.2

Trust: 1.0

vendor:junipermodel:junosscope:eqversion:21.2

Trust: 1.0

vendor:junipermodel:junos os evolvedscope:eqversion:20.4

Trust: 1.0

vendor:junipermodel:junos os evolvedscope:eqversion:21.2

Trust: 1.0

vendor:junipermodel:junos os evolvedscope:ltversion:20.4

Trust: 1.0

vendor:junipermodel:junosscope:eqversion:19.2

Trust: 1.0

vendor:junipermodel:junosscope:eqversion:19.3

Trust: 1.0

vendor:ジュニパーネットワークスmodel:junos osscope: - version: -

Trust: 0.8

vendor:ジュニパーネットワークスmodel:junos os evolvedscope: - version: -

Trust: 0.8

sources: JVNDB: JVNDB-2022-013702 // NVD: CVE-2022-22215

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2022-22215
value: MEDIUM

Trust: 1.0

sirt@juniper.net: CVE-2022-22215
value: MEDIUM

Trust: 1.0

NVD: CVE-2022-22215
value: MEDIUM

Trust: 0.8

CNNVD: CNNVD-202207-1228
value: MEDIUM

Trust: 0.6

nvd@nist.gov: CVE-2022-22215
baseSeverity: MEDIUM
baseScore: 5.5
vectorString: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
attackVector: LOCAL
attackComplexity: LOW
privilegesRequired: LOW
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: NONE
integrityImpact: NONE
availabilityImpact: HIGH
exploitabilityScore: 1.8
impactScore: 3.6
version: 3.1

Trust: 1.0

sirt@juniper.net: CVE-2022-22215
baseSeverity: MEDIUM
baseScore: 6.5
vectorString: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: LOW
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: NONE
integrityImpact: NONE
availabilityImpact: HIGH
exploitabilityScore: 2.8
impactScore: 3.6
version: 3.1

Trust: 1.0

NVD: CVE-2022-22215
baseSeverity: MEDIUM
baseScore: 5.5
vectorString: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
attackVector: LOCAL
attackComplexity: LOW
privilegesRequired: LOW
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: NONE
integrityImpact: NONE
availabilityImpact: HIGH
exploitabilityScore: NONE
impactScore: NONE
version: 3.0

Trust: 0.8

sources: JVNDB: JVNDB-2022-013702 // CNNVD: CNNVD-202207-1228 // NVD: CVE-2022-22215 // NVD: CVE-2022-22215

PROBLEMTYPE DATA

problemtype:CWE-772

Trust: 1.1

problemtype:Lack of resource release after valid lifetime (CWE-772) [NVD evaluation ]

Trust: 0.8

sources: VULHUB: VHN-409744 // JVNDB: JVNDB-2022-013702 // NVD: CVE-2022-22215

THREAT TYPE

local

Trust: 0.6

sources: CNNVD: CNNVD-202207-1228

TYPE

resource management error

Trust: 0.6

sources: CNNVD: CNNVD-202207-1228

EXTERNAL IDS

db:NVDid:CVE-2022-22215

Trust: 3.4

db:JUNIPERid:JSA69719

Trust: 2.6

db:JVNDBid:JVNDB-2022-013702

Trust: 0.8

db:CS-HELPid:SB2022071621

Trust: 0.6

db:CNNVDid:CNNVD-202207-1228

Trust: 0.6

db:VULHUBid:VHN-409744

Trust: 0.1

db:VULMONid:CVE-2022-22215

Trust: 0.1

sources: VULHUB: VHN-409744 // VULMON: CVE-2022-22215 // JVNDB: JVNDB-2022-013702 // CNNVD: CNNVD-202207-1228 // NVD: CVE-2022-22215

REFERENCES

url:https://kb.juniper.net/jsa69719

Trust: 2.6

url:https://nvd.nist.gov/vuln/detail/cve-2022-22215

Trust: 0.8

url:https://cxsecurity.com/cveshow/cve-2022-22215/

Trust: 0.6

url:https://www.cybersecurity-help.cz/vdb/sb2022071621

Trust: 0.6

url:https://vigilance.fr/vulnerability/junos-os-overload-via-var-run-pid-env-38797

Trust: 0.6

url:https://nvd.nist.gov

Trust: 0.1

sources: VULHUB: VHN-409744 // VULMON: CVE-2022-22215 // JVNDB: JVNDB-2022-013702 // CNNVD: CNNVD-202207-1228 // NVD: CVE-2022-22215

SOURCES

db:VULHUBid:VHN-409744
db:VULMONid:CVE-2022-22215
db:JVNDBid:JVNDB-2022-013702
db:CNNVDid:CNNVD-202207-1228
db:NVDid:CVE-2022-22215

LAST UPDATE DATE

2024-08-14T15:37:30.509000+00:00


SOURCES UPDATE DATE

db:VULHUBid:VHN-409744date:2022-07-29T00:00:00
db:VULMONid:CVE-2022-22215date:2022-07-20T00:00:00
db:JVNDBid:JVNDB-2022-013702date:2023-09-11T08:17:00
db:CNNVDid:CNNVD-202207-1228date:2022-08-01T00:00:00
db:NVDid:CVE-2022-22215date:2022-07-29T22:58:03.947

SOURCES RELEASE DATE

db:VULHUBid:VHN-409744date:2022-07-20T00:00:00
db:VULMONid:CVE-2022-22215date:2022-07-20T00:00:00
db:JVNDBid:JVNDB-2022-013702date:2023-09-11T00:00:00
db:CNNVDid:CNNVD-202207-1228date:2022-07-13T00:00:00
db:NVDid:CVE-2022-22215date:2022-07-20T15:15:08.950