CVE-2022-22239 Junos OS Evolved: The ssh CLI command always runs as root which can lead to privilege escalation
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Network Appliances
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| juniper Junos OS Evolved | < 20.4; < 20.4R3-S5-EVO; = 20.4; = 20.4-r1 +26 more | 20.4, 20.4R3-S5-EVO, 21.1R3-EVO, 21.2R2-S1-EVO, 21.2R3-EVO, 21.3R2-EVO | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| juniper Junos OS Evolved | < 20.4R3-S5-EVO | 20.4R3-S5-EVO |
| juniper Junos OS Evolved | >= 21.1-EVO, < 21.1R3-EVO | 21.1R3-EVO |
| juniper Junos OS Evolved | >= 21.2-EVO, < 21.2R2-S1-EVO, 21.2R3-EVO | 21.2R2-S1-EVO, 21.2R3-EVO |
| juniper Junos OS Evolved | >= 21.3-EVO, < 21.3R2-EVO | 21.3R2-EVO |
| juniper Junos OS Evolved | < 20.4 | 20.4 |
| juniper Junos OS Evolved | = 20.4 | No fix listed |
| juniper Junos OS Evolved | = 20.4-r1 | No fix listed |
| juniper Junos OS Evolved | = 20.4-r1-s1 | No fix listed |
| juniper Junos OS Evolved | = 20.4-r1-s2 | No fix listed |
| juniper Junos OS Evolved | = 20.4-r2 | No fix listed |
| juniper Junos OS Evolved | = 20.4-r2-s1 | No fix listed |
| juniper Junos OS Evolved | = 20.4-r2-s2 | No fix listed |
| juniper Junos OS Evolved | = 20.4-r2-s3 | No fix listed |
| juniper Junos OS Evolved | = 20.4-r3 | No fix listed |
| juniper Junos OS Evolved | = 20.4-r3-s1 | No fix listed |
| juniper Junos OS Evolved | = 20.4-r3-s2 | No fix listed |
| juniper Junos OS Evolved | = 20.4-r3-s3 | No fix listed |
| juniper Junos OS Evolved | = 20.4-r3-s4 | No fix listed |
| juniper Junos OS Evolved | = 21.1 | No fix listed |
| juniper Junos OS Evolved | = 21.1-r1 | No fix listed |
| juniper Junos OS Evolved | = 21.1-r1-s1 | No fix listed |
| juniper Junos OS Evolved | = 21.1-r2 | No fix listed |
| juniper Junos OS Evolved | = 21.2 | No fix listed |
| juniper Junos OS Evolved | = 21.2-r1 | No fix listed |
| juniper Junos OS Evolved | = 21.2-r1-s1 | No fix listed |
Show 5 more
| Product | Affected versions | Fixed in |
|---|---|---|
| juniper Junos OS Evolved | = 21.2-r1-s2 | No fix listed |
| juniper Junos OS Evolved | = 21.2-r2 | No fix listed |
| juniper Junos OS Evolved | = 21.3 | No fix listed |
| juniper Junos OS Evolved | = 21.3-r1 | No fix listed |
| juniper Junos OS Evolved | = 21.3-r1-s1 | No fix listed |
References
- kb.juniper.net vendor-advisory