SecurityContext

CVE-2022-22239: Juniper Networks Junos OS Evolved - Privilege Escalation

  • Cve: CVE-2022-22239
  • Name: Juniper Networks Junos OS Evolved - Privilege Escalation
  • 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.
  • Impact: Local attackers can escalate privileges to root, potentially gaining full control over the device and affecting remote systems.
  • Remediation: Update to version 20.4R3-S5-EVO, 21.1R3-EVO, 21.2R2-S1-EVO, or 21.2R3-EVO or later versions.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker needs to be locally authenticated with access to ssh operational command or user interaction on the device.
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
  • Epss score: 0.00194
  • Epss percentile: 0.08992
  • Assignee: [email protected]
  • Published at: 2022-10-18T03:15:10Z
  • Age in days: 1498
  • Modified at: 2026-06-17T04:28:05Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-22239
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-250Execution with Unnecessary Privileges
CWE-269Improper Privilege Management

References

UrlSourceTags
https://kb.juniper.net/JSA69895nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
juniper:junos_os_evolved= 21.3, = 21.3 r1, = 21.3 r1-s1, = 21.2, = 21.2 r1, = 21.2 r1-s1, = 21.2 r1-s2, = 21.2 r2, = 21.1, = 21.1 r1, = 21.1 r1-s1, = 21.1 r2, < 20.4, = 20.4, = 20.4 r1, = 20.4 r1-s1, = 20.4 r1-s2, = 20.4 r2, = 20.4 r2-s1, = 20.4 r2-s2, = 20.4 r2-s3, = 20.4 r3, = 20.4 r3-s1, = 20.4 r3-s2, = 20.4 r3-s3, = 20.4 r3-s4nonvd/v1/products/juniper/junos_os_evolved

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts