CVE-2022-22239
published high CVSS 3.1 · 8.2Junos OS Evolved: The ssh CLI command always runs as root which can lead to privilege escalation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Juniper Networks | — | Junos OS Evolvedunspecified to < 20.4R3-S5-EVO · 21.1-EVO to < 21.1R3-EVO · 21.2-EVO to < 21.2R2-S1-EVO, 21.2R3-EVO · 21.3-EVO to < 21.3R2-EVO | Affected | Not stated | juniper |
Description
An Execution with Unnecessary Privileges vulnerability in Management Daemon (mgd) of Juniper Networks Junos OS Evolved allows a locally authenticated attacker with low privileges to escalate their privileges on the device and potentially remote systems. This vulnerability allows a locally authenticated attacker with access to the ssh operational command to escalate their privileges on the system to root, or if there is user interaction on the local device to potentially escalate privileges on a remote system to root. This issue affects Juniper Networks Junos OS Evolved: All versions prior to 20.4R3-S5-EVO; 21.1-EVO versions prior to 21.1R3-EVO; 21.2-EVO versions prior to 21.2R2-S1-EVO, 21.2R3-EVO; 21.3-EVO versions prior to 21.3R2-EVO. This issue does not affect Juniper Networks Junos OS.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- juniper · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Juniper Networks | Junos OS Evolved | unspecified to < 20.4R3-S5-EVO (affected · custom)21.1-EVO to < 21.1R3-EVO (affected · custom)21.2-EVO to < 21.2R2-S1-EVO, 21.2R3-EVO (affected · custom)21.3-EVO to < 21.3R2-EVO (affected · custom) | juniper · cna |
Weaknesses
1- CWE-250 CWE-250 Execution with Unnecessary Privileges
References
1Provider assertions
3juniper · cna
Junos OS Evolved: The ssh CLI command always runs as root which can lead to privilege escalation
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- fd6811f1dade6f10a810c7dd0dca5ab5a01ca6648d11f1d42c45f02b3247886f
- Ingested
- 23 Sep 2026, 07:58:26 UTC
- Source record
- Official CVE record