High severity · published Jul 11, 2024
CVE-2024-39523
Junos OS Evolved: CLI parameter processing issue allows privilege escalation
7.8
CVSS
0.2%
EPSS
No
On KEV
Description
An Improper Neutralization of Special Elements vulnerability in Juniper Networks Junos OS Evolved commands allows a local, authenticated attacker with low privileges to escalate their privileges to 'root' leading to a full compromise of the system.
The Junos OS Evolved CLI doesn't properly handle command options in some cases, allowing users which execute specific CLI commands with a crafted set of parameters to escalate their privileges to root on shell level.
This issue affects Junos OS Evolved:
* All versions before 20.4R3-S7-EVO,
* 21.2-EVO versions before 21.2R3-S8-EVO,
* 21.4-EVO versions before 21.4R3-S7-EVO,
* 22.1-EVO versions before 22.1R3-S6-EVO,
* 22.2-EVO versions before 22.2R3-EVO,
* 22.3-EVO versions before 22.3R2-EVO,
* 22.4-EVO versions before 22.4R2-EVO.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 16% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
JO
Junos OS Evolved · Juniper Networks
before 20.4R3-S7-EVO; 21.2-EVO before 21.2R3-S8-EVO; 21.4-EVO before 21.4R3-S7-EVO; 22.1-EVO before 22.1R3-S6-EVO; 22.2-EVO before 22.2R3-EVO; 22.3-EVO before 22.3R2-EVO; +1 more · source: vendor, NVD, CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-39523
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-39523
Vendor Advisory
https://supportportal.juniper.net/JSA82975
More from Junos OS Evolved
9.8
CVE-2026-101954
Junos OS and Junos OS Evolved: Unauthenticated network access causes full device takeover when J-Web is enabled
9.8
CVE-2026-101983
Junos OS and Junos OS Evolved: An attacker causes remote code execution when J-Web virtual-domain is configured
9.8
CVE-2026-101982
Junos OS and Junos OS Evolved: A EVPN peer causes an rpd crash or root-level compromise when EVPN-VPWS is used
9.8
CVE-2026-33796
Junos OS and Junos OS Evolved: An attacker causes remote root command execution when BMP route monitoring is enabled
9.8
CVE-2026-33789
Junos OS and Junos OS Evolved: With BGP Monitoring Protocol is enabled, receipt of a specifically crafted BGP route update results in denial of service
