Junos OS Evolved: The ssh CLI command always runs as root which can lead to privilege escalation
Published Oct 18, 2022
8.8
HIGHCVSS 3.1
EPSS 0.18%
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.
Affected products
-
- Version 21.1-EVOStatusaffectedConstraints<21.1R3-EVO
- Version 21.2-EVOStatusaffectedConstraints<21.2R2-S1-EVO, 21.2R3-EVO
- Version 21.3-EVOStatusaffectedConstraints<21.3R2-EVO
- Version unspecifiedStatusaffectedConstraints<20.4R3-S5-EVO
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Juniper Networks | Junos OS Evolved | n/a |
|
- < 20.4
- 20.4
- 20.4
- 20.4
- 20.4
- 20.4
- 20.4
- 20.4
- 20.4
- 20.4
- 20.4
- 20.4
- 20.4
- 20.4
- 21.1
- 21.1
- 21.1
- 21.1
- 21.2
- 21.2
- 21.2
- 21.2
- 21.2
- 21.3
- 21.3
- 21.3
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
Vendor solution
The following software releases have been updated to resolve this specific issue: 20.4R3-S5-EVO, 21.1R3-EVO, 21.2R2-S1-EVO, 21.2R3-EVO, 21.3R2-EVO, 21.4R1-EVO, and all subsequent releases.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
1 other source (CVE.org) ▾
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed May 10, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (8 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 0.18% (0.00184) | 7.25th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.18% (0.00175) | 7.23th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.04% (0.00036) | 6.98th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00044) | 14.58th | v3 (v2023.03.01) |
| May 4, 2024 | 0.04% (0.00044) | 11.82th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00042) | 5.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.04% (0.01036) | 43.31th | v2 (v2022.01.01) |
| Oct 18, 2022 | 1.04% (0.01036) | 41.75th | v2 (v2022.01.01) |
References (1)
- https://kb.juniper.net/JSA69895 Vendor Advisory
| Link | Providers | Tags |
|---|---|---|
| https://kb.juniper.net/JSA69895 | Vendor Advisory |
Change history (0)
No recorded changes yet.