CVE-2024-39521
CVE-2024-39521 is a high-severity vulnerability in Juniper Junos Os Evolved with a CVSS 3.x base score of 7.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-78.
Key facts
- Severity: High (CVSS 3.x base score 7.8)
- CVSS v4: 8.5
- EPSS exploit prediction: 0% (16th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-38047
- Weakness: CWE-78
- Affected product: Juniper Junos Os Evolved
- Published:
- Last modified:
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: * 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.
Frequently asked questions
- What is CVE-2024-39521?
- 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.
- How severe is CVE-2024-39521?
- CVE-2024-39521 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2024-39521 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (16th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-39521?
- CVE-2024-39521 primarily affects Juniper Junos Os Evolved. In total, 40 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2024-39521?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2024-39521 have an EU (EUVD) identifier?
- Yes. CVE-2024-39521 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-38047.
- When was CVE-2024-39521 published?
- CVE-2024-39521 was published on 2024-07-11 and last updated on 2026-06-17.
References
Affected products (40)
- cpe:2.3:o:juniper:junos_os_evolved:*:*:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.2:-:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.2:r1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.2:r1-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.2:r1-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.2:r2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.2:r2-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.2:r2-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.2:r3:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.2:r3-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.2:r3-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.2:r3-s3:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.2:r3-s4:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.2:r3-s5:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.2:r3-s6:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.2:r3-s7:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.4:-:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.4:r1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.4:r1-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.4:r1-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.4:r2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.4:r2-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.4:r2-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.4:r3:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.4:r3-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.4:r3-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.4:r3-s3:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.4:r3-s4:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.4:r3-s5:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.4:r3-s6:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:21.4:r3-s7:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:22.2:-:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:22.2:r1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:22.2:r1-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:22.2:r2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:22.2:r2-s2:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:22.3:-:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:22.3:r1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:22.3:r1-s1:*:*:*:*:*:*
- cpe:2.3:o:juniper:junos_os_evolved:22.3:r1-s2:*:*:*:*:*:*
More vulnerabilities in Juniper Junos Os Evolved
- CVE-2021-0211 — Critical (CVSS 10.0): An improper check for unusual or exceptional conditions in Juniper Networks Junos OS and Junos OS Evolved Routing…
- CVE-2026-21902 — Critical (CVSS 9.8): An Incorrect Permission Assignment for Critical Resource vulnerability in the On-Box Anomaly detection framework of…
- CVE-2023-28983 — High (CVSS 8.8): An OS Command Injection vulnerability in gRPC Network Operations Interface (gNOI) server module of Juniper Networks…
- CVE-2021-0208 — High (CVSS 8.8): An improper input validation vulnerability in the Routing Protocol Daemon (RPD) service of Juniper Networks Junos OS…
- CVE-2020-1632 — High (CVSS 8.6): In a certain condition, receipt of a specific BGP UPDATE message might cause Juniper Networks Junos OS and Junos OS…
- CVE-2024-47490 — High (CVSS 8.2): An Improper Restriction of Communication Channel to Intended Endpoints vulnerability in the Packet Forwarding Engine…
All CVEs affecting Juniper Junos Os Evolved →
Other CWE-78 (OS Command Injection) vulnerabilities
- CVE-2026-56004 — Critical (CVSS 10.0): A shellcode injection in the mercurial handler of the obs tar_scm source service before version 0.12.4 could be used by…
- CVE-2026-56415 — Critical (CVSS 10.0): Storage Concentrator (SC & SCVM) contains a command injection vulnerability within the debug.pl script that is…
- CVE-2026-56413 — Critical (CVSS 10.0): Storage Concentrator (SC & SCVM) contains a command injection vulnerability in the ms_service.pl service, which listens…
- CVE-2026-49869 — Critical (CVSS 10.0): Kestra is an open-source, event-driven orchestration platform. Prior to 1.0.45 and 1.3.21, AuthenticationFilter in…
- CVE-2026-49261 — Critical (CVSS 10.0): MariaDB server is a community developed fork of MySQL server. Versions 10.6.1 through 10.6.26, 10.11.1 through…
- CVE-2026-10520 — Critical (CVSS 10.0): An OS Command Injection vulnerability in Ivanti Sentry before the R10.5.2, R10.6.2 and R10.7.1 versions allows a…