CVE-2025-21590
Medium 6.7KEV · exploitedFix availableJunos OS: An local attacker with shell access can execute arbitrary code
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 78% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
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
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Juniper | Junos OS | Not documented | Not documented | CISA KEV |
| Juniper Networks | Junos OS | from 21.4 before 21.4R3-S10 | 21.4R3-S10 | CVE Program |
| Juniper Networks | Junos OS | from 22.2 before 22.2R3-S6 | 22.2R3-S6 | CVE Program |
| Juniper Networks | Junos OS | from 22.4 before 22.4R3-S6 | 22.4R3-S6 | CVE Program |
| Juniper Networks | Junos OS | from 23.2 before 23.2R2-S3 | 23.2R2-S3 | CVE Program |
| Juniper Networks | Junos OS | from 23.4 before 23.4R2-S4 | 23.4R2-S4 | CVE Program |
| Juniper Networks | Junos OS | from 24.2 before 24.2R1-S2, 24.2R2 | 24.2R1-S2, 24.2R2 | CVE Program |
| Juniper Networks | Junos OS | all versions before 21.2R3-S9 | 21.2R3-S9 | CVE Program |
Timeline
Disclosure
CVE record published by juniper
Source: CVE Program (opens in a new tab)
13 Mar 2025KEV
Added to the CISA Known Exploited Vulnerabilities catalog
Source: CISA KEV (opens in a new tab)
13 Mar 2025Exploitation
Exploitation confirmed by CISA KEV
Source: CISA KEV (opens in a new tab)
Patch
Fix documented by CVE record (juniper)
Vendor guidance and references
- https://supportportal.juniper.net/JSA93446 (opens in a new tab)vendor-advisory
- https://supportportal.juniper.net/s/article/2025-03-Out-of-Cycle-Security-Bulletin-Junos-OS-A-local-attacker-with-shell-access-can-execute-arbitrary-code-CVE-2025-21590?language=en_US (opens in a new tab)vendor-advisory
- https://cloud.google.com/blog/topics/threat-intelligence/china-nexus-espionage-targets-juniper-routers (opens in a new tab)third-party-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-21590 (opens in a new tab)government
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-21590 (opens in a new tab)government-resource