Skip to content
Threat Brief

← All advisories

CVE-2025-21590

Medium 6.7KEV · exploitedFix available

Junos OS: An local attacker with shell access can execute arbitrary code

Record last updated

CVSS score

6.7

Medium on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

1.7%

Higher than 78% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

597days overdue

Passed 597 days ago for U.S. federal agencies

Description

An Improper Isolation or Compartmentalization vulnerability in the kernel of Juniper Networks Junos OS allows a local attacker with high privileges to compromise the integrity of the device. A local attacker with access to the shell is able to inject arbitrary code which can compromise an affected device. This issue is not exploitable from the Junos CLI. This issue affects Junos OS: * All versions before 21.2R3-S9, * 21.4 versions before 21.4R3-S10, * 22.2 versions before 22.2R3-S6, * 22.4 versions before 22.4R3-S6, * 23.2 versions before 23.2R2-S3, * 23.4 versions before 23.4R2-S4, * 24.2 versions before 24.2R1-S2, 24.2R2.

Weakness: CWE-653

Patching and mitigation

Patch status
Fix available (source: CVE record (juniper))
Fix documented (source date)
Vendor solution
The following software releases have been updated to resolve this specific issue: 21.2R3-S9, 21.4R3-S10, 22.2R3-S6, 22.4R3-S6, 23.2R2-S3, 23.4R2-S4, 24.2R1-S2, 24.2R2, 24.4R1, and all subsequent releases. Please note that this issue is not fixed for all platforms in the releases specified in the solution section. For the following products the fix is only available in these releases: SRX300 Series 21.2R3-S9, 23.4R2-S5*, 24.4R1 SRX550HM 22.2R3-S7* EX4300 Series 21.4R3-S11* (except EX4300-48MP which has fixes available as indicated in the solution) EX4600 21.4R3-S11* (except EX4650 which has fixes available as indicated in the solution) ACX1000, ACX1100, ACX2100, ACX2200, ACX4000, ACX500 21.2R3-S9 MX104 21.2R3-S9 * Future Release
Mitigation
It is strongly recommended to mitigate the risk of exploitation by restricting shell access to trusted users only. Source (opens in a new tab)
Vendor guidance
supportportal.juniper.net (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
JuniperJunos OSNot documentedNot documentedCISA KEV
Juniper NetworksJunos OSfrom 21.4 before 21.4R3-S1021.4R3-S10CVE Program
Juniper NetworksJunos OSfrom 22.2 before 22.2R3-S622.2R3-S6CVE Program
Juniper NetworksJunos OSfrom 22.4 before 22.4R3-S622.4R3-S6CVE Program
Juniper NetworksJunos OSfrom 23.2 before 23.2R2-S323.2R2-S3CVE Program
Juniper NetworksJunos OSfrom 23.4 before 23.4R2-S423.4R2-S4CVE Program
Juniper NetworksJunos OSfrom 24.2 before 24.2R1-S2, 24.2R224.2R1-S2, 24.2R2CVE Program
Juniper NetworksJunos OSall versions before 21.2R3-S921.2R3-S9CVE Program

Timeline

  1. Disclosure

    CVE record published by juniper

    Source: CVE Program (opens in a new tab)

  2. 13 Mar 2025KEV

    Added to the CISA Known Exploited Vulnerabilities catalog

    Source: CISA KEV (opens in a new tab)

  3. 13 Mar 2025Exploitation

    Exploitation confirmed by CISA KEV

    Source: CISA KEV (opens in a new tab)

  4. Patch

    Fix documented by CVE record (juniper)

    Source: CVE record (juniper) (opens in a new tab)

Vendor guidance and references