CVE-2024-39521: Junos OS Evolved: CLI parameter processing issue allows privilege escalation

Published Jul 11, 2024
·
Updated

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:

21.1-EVO versions 21.1R1-EVO and later 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.

Affected Software

40 affected components
Juniper Junos OS Evolved>=21.1<21.2
Juniper Junos OS Evolved=21.2
Juniper Junos OS Evolved=21.2-r1
Juniper Junos OS Evolved=21.2-r1-s1
Juniper Junos OS Evolved=21.2-r1-s2
Juniper Junos OS Evolved=21.2-r2
Juniper Junos OS Evolved=21.2-r2-s1
Juniper Junos OS Evolved=21.2-r2-s2
Juniper Junos OS Evolved=21.2-r3
Juniper Junos OS Evolved=21.2-r3-s1
Juniper Junos OS Evolved=21.2-r3-s2
Juniper Junos OS Evolved=21.2-r3-s3
Juniper Junos OS Evolved=21.2-r3-s4
Juniper Junos OS Evolved=21.2-r3-s5
Juniper Junos OS Evolved=21.2-r3-s6
Juniper Junos OS Evolved=21.2-r3-s7
Juniper Junos OS Evolved=21.4
Juniper Junos OS Evolved=21.4-r1
Juniper Junos OS Evolved=21.4-r1-s1
Juniper Junos OS Evolved=21.4-r1-s2
Juniper Junos OS Evolved=21.4-r2
Juniper Junos OS Evolved=21.4-r2-s1
Juniper Junos OS Evolved=21.4-r2-s2
Juniper Junos OS Evolved=21.4-r3
Juniper Junos OS Evolved=21.4-r3-s1
Juniper Junos OS Evolved=21.4-r3-s2
Juniper Junos OS Evolved=21.4-r3-s3
Juniper Junos OS Evolved=21.4-r3-s4
Juniper Junos OS Evolved=21.4-r3-s5
Juniper Junos OS Evolved=21.4-r3-s6
Juniper Junos OS Evolved=21.4-r3-s7
Juniper Junos OS Evolved=22.2
Juniper Junos OS Evolved=22.2-r1
Juniper Junos OS Evolved=22.2-r1-s1
Juniper Junos OS Evolved=22.2-r2
Juniper Junos OS Evolved=22.2-r2-s2
Juniper Junos OS Evolved=22.3
Juniper Junos OS Evolved=22.3-r1
Juniper Junos OS Evolved=22.3-r1-s1
Juniper Junos OS Evolved=22.3-r1-s2

Remediation

Information

The following software releases have been updated to resolve this specific issue: 21.2R3-S8-EVO, 21.4R3-S7-EVO, 22.1R3-S6-EVO, 22.2R3-EVO, 22.3R2-EVO, 22.4R1-EVO, and all subsequent releases.

Event History

Jul 11, 2024
CVE Published
via MITRE·03:57 PM
Data Sourced
via MITRE·03:57 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2024-39521?

CVE-2024-39521 has been rated as a high severity vulnerability due to its potential for local privilege escalation.

2

How can I remediate CVE-2024-39521?

To fix CVE-2024-39521, apply the latest patch or update provided by Juniper Networks for affected versions of Junos OS Evolved.

3

What versions of Junos OS Evolved are affected by CVE-2024-39521?

CVE-2024-39521 affects Junos OS Evolved versions between 21.1 and 21.2, including specific revisions and releases of 21.2.

4

Who can exploit CVE-2024-39521?

CVE-2024-39521 can be exploited by local, authenticated users with low privileges.

5

What are the potential consequences of exploiting CVE-2024-39521?

Exploitation of CVE-2024-39521 could lead to full system compromise by elevating privileges to 'root'.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203