CVE-2022-22248

Junos OS Evolved: Incorrect file permissions can allow low-privileged user to cause another user to execute arbitrary commands

AllVuln state: AFFECTED

HIGH
CVSS
7.3
3.1
EPSS
0.19%
Percentile 9.66%
CISA KEV
Not listed
Published
October 18, 2022
Updated May 9, 2025

Description

An Incorrect Permission Assignment vulnerability in shell processing of Juniper Networks Junos OS Evolved allows a low-privileged local user to modify the contents of a configuration file which could cause another user to execute arbitrary commands within the context of the follow-on user's session. If the follow-on user is a high-privileged administrator, the attacker could leverage this vulnerability to take complete control of the target system. While this issue is triggered by a user, other than the attacker, accessing the Junos shell, an attacker simply requires Junos CLI access to exploit this vulnerability. This issue affects Juniper Networks Junos OS Evolved: 20.4-EVO versions prior to 20.4R3-S1-EVO; All versions of 21.1-EVO; 21.2-EVO versions prior to 21.2R3-EVO; 21.3-EVO versions prior to 21.3R2-EVO. This issue does not affect Juniper Networks Junos OS Evolved versions prior to 19.2R1-EVO.

Risk details

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
attack vector
L
attack complexity
L
privileges required
L
user interaction
R
scope
U
CWE
CWE-732

What should I do?

Review the vendor remediation for fixed or recommended release 20.4R3-S1-EVO.

Supported product evidence

Juniper Networks · Junos OS Evolved
Confirmed affected by authoritative structured evidence · Juniper Networks CNA / CVE List V5
Vendor advisory ↗

Applicability

NOT_AFFECTED · RANGE
19.2R1-EVO
AFFECTED · RANGE
20.4R3-S1-EVO
NOT_AFFECTED · EXACT
20.4R3-S1-EVO
AFFECTED · EXACT
21.1R1-EVO
AFFECTED · RANGE
21.2R3-EVO
NOT_AFFECTED · EXACT
21.2R3-EVO
AFFECTED · RANGE
21.3R2-EVO
NOT_AFFECTED · EXACT
21.3R2-EVO
UNKNOWN · DEFAULT
{"defaultStatus": null}

Remediation

FIX_AVAILABLE
Release train: 20.4
First fixed: 20.4R3-S1-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.2
First fixed: 21.2R3-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.3
First fixed: 21.3R2-EVO
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS Evolved
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

NOT_AFFECTED · RANGE
unspecified → 19.2R1-EVO
AFFECTED · RANGE
20.4-EVO → 20.4R3-S1-EVO
AFFECTED · RANGE
21.1R1-EVO → 21.1-EVO*
AFFECTED · RANGE
21.2-EVO → 21.2R3-EVO
AFFECTED · RANGE
21.3-EVO → 21.3R2-EVO

Remediation

UNKNOWN
Release train: 20.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.1R1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.3
First fixed: Unknown
Vendor recommended: Not supplied

Evidence sources

Coverage varies by vendor, product, platform, and historical source availability. Absence of a finding is not a security guarantee. Validate critical remediation against the linked vendor advisory.

AllVuln data refreshed November 5, 2026.

CVE-2022-22248 – Junos OS Evolved Affected Versions & Fix | AllVuln