CVE-2025-21590Juniper Junos OS kernel isolation flaw enables code injection
CVSS score
6.7
Medium
CVSS 4.0 from juniper.net
Exploit probability (EPSS)
1.75%
1.75% chance of exploitation in the next 30 days, higher than 78.4% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 13 Mar 2025.
US federal deadline to fix: 3 Apr 2025.
In plain words
A local attacker who already has high privileges and shell access can inject code into the Junos OS kernel and compromise the device's integrity. The flaw cannot be exploited from the Junos CLI, and it affects Junos OS releases before 21.2R3-S9 through 24.2R1-S2 and 24.2R2. CISA lists it as actively exploited, so apply Juniper's fixed release or mitigations from its advisory now.
Official 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.
Source: NVD · CNA: sirt@juniper.net
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 13 Mar 2025.
US federal agencies must fix it by 3 Apr 2025. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Check whether you're affected
Find every system running Juniper Networks Junos OS and compare its version with the affected versions.
Update to a fixed version
- Update Junos OS to 21.2, 21.2R3-S9, 21.4R3-S10, 22.2R3-S6 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- High
- User interaction
- None
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| Juniper Networks Junos | < 21.2 · 21.2 · 21.4 · 22.2 · 22.4 · 23.2 |
| Juniper Networks Junos OS | < 21.2R3-S9 · ≥ 21.4, < 21.4R3-S10 · ≥ 22.2, < 22.2R3-S6 · ≥ 22.4, < 22.4R3-S6 · ≥ 23.2, < 23.2R2-S3 · ≥ 23.4, < 23.4R2-S4 |
Weakness
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2025-21590 being exploited?
Yes. CISA added CVE-2025-21590 to its Known Exploited Vulnerabilities catalog on 13 Mar 2025, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 1.7% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2025-21590?
CVE-2025-21590 has a CVSS 4.0 base score of 6.7 (medium).
Which versions are affected?
Juniper Networks Junos (< 21.2; 21.2; 21.4; 22.2; 22.4; 23.2), Juniper Networks Junos OS (< 21.2R3-S9; ≥ 21.4, < 21.4R3-S10; ≥ 22.2, < 22.2R3-S6; ≥ 22.4, < 22.4R3-S6; ≥ 23.2, < 23.2R2-S3; ≥ 23.4, < 23.4R2-S4)
Is there a patch for CVE-2025-21590?
The official record links to vendor advisories or patches; see “What to do” above.
References
- supportportal.juniper.net/JSA93446(Vendor Advisory)
- cloud.google.com/blog/topics/threat-intelligence/china-nexus-espionage-targets-juniper-routers(Third Party Advisory)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-21590(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.