CVE-2024-39523

Junos OS Evolved: CLI parameter processing issue allows privilege escalation

AllVuln state: AFFECTED

HIGH
CVSS
7.8
3.1
EPSS
0.25%
Percentile 17.39%
CISA KEV
Not listed
Published
July 11, 2024
Updated August 2, 2024

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.

Risk details

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
attack vector
L
attack complexity
L
privileges required
L
user interaction
N
scope
U
CWE
CWE-78

What should I do?

Review the vendor remediation for fixed or recommended release 20.4R3-S7-EVO.

Supported product evidence

Juniper Networks · Junos OS Evolved
Confirmed affected by authoritative structured evidence · Juniper Networks CNA / CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
20.4R3-S7-EVO
NOT_AFFECTED · EXACT
20.4R3-S7-EVO
AFFECTED · RANGE
21.2R3-S8-EVO
NOT_AFFECTED · EXACT
21.2R3-S8-EVO
AFFECTED · RANGE
21.4R3-S7-EVO
NOT_AFFECTED · EXACT
21.4R3-S7-EVO
AFFECTED · RANGE
22.1R3-S6-EVO
NOT_AFFECTED · EXACT
22.1R3-S6-EVO
AFFECTED · RANGE
22.2R3-EVO
NOT_AFFECTED · EXACT
22.2R3-EVO
AFFECTED · RANGE
22.3R2-EVO
NOT_AFFECTED · EXACT
22.3R2-EVO
AFFECTED · RANGE
22.4R2-EVO
NOT_AFFECTED · EXACT
22.4R2-EVO
NOT_AFFECTED · DEFAULT
{"defaultStatus": "unaffected"}

Remediation

FIX_AVAILABLE
Release train: 20.4
First fixed: 20.4R3-S7-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.2
First fixed: 21.2R3-S8-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.4
First fixed: 21.4R3-S7-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.1
First fixed: 22.1R3-S6-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.2
First fixed: 22.2R3-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.3
First fixed: 22.3R2-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.4
First fixed: 22.4R2-EVO
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS Evolved
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
20.4R3-S7-EVO
AFFECTED · RANGE
21.2-EVO → 21.2R3-S8-EVO
AFFECTED · RANGE
21.4-EVO → 21.4R3-S7-EVO
AFFECTED · RANGE
22.1-EVO → 22.1R3-S6-EVO
AFFECTED · RANGE
22.2-EVO → 22.2R3-EVO
AFFECTED · RANGE
22.3-EVO → 22.3R2-EVO
AFFECTED · RANGE
22.4-EVO → 22.4R2-EVO

Remediation

UNKNOWN
Release train: 20.4R3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.4
First fixed: Unknown
Vendor recommended: Not supplied

Evidence sources

Coverage varies by vendor, product, platform, and historical source availability. Absence of a finding is not a security guarantee. Validate critical remediation against the linked vendor advisory.

AllVuln data refreshed November 5, 2026.