CVE-2025-21590: Juniper Junos OS Improper Isolation or Compartmentalization
Juniper Junos OS · listed in the CISA catalog of actively exploited vulnerabilities since 2025-03-13.
- CVSS v3.1 (CVE record)
- 4.4
- medium
- EPSS (exploit probability, 30 days)
- 1.7%
- higher than 78.4% of all CVEs
- Added to CISA KEV
- 2025-03-13
- US federal due date 2025-04-03
- Automatable (CISA SSVC)
- no
- technical impact: total
CVE-2025-21590 explained
CVE-2025-21590 is an improper isolation or compartmentalization flaw in the kernel of Juniper Networks Junos OS. A local attacker with high privileges and shell access can inject arbitrary code and compromise the integrity of an affected device. CISA lists it as known to be exploited, which makes patching a priority despite the medium CVSS rating.
Impact
An attacker who already has high privileges and access to the shell can inject arbitrary code and compromise the device's integrity. The issue is not exploitable from the Junos CLI. CVSS rates confidentiality and availability impact as none and integrity impact as high. CISA's SSVC assessment rates technical impact as total and automatable as no. CISA reports that attackers are known to exploit this vulnerability.
Who is affected
Juniper Networks Junos OS is affected in these versions: all versions before 21.2R3-S9; 21.4 before 21.4R3-S10; 22.2 before 22.2R3-S6; 22.4 before 22.4R3-S6; 23.2 before 23.2R2-S3; 23.4 before 23.4R2-S4; and 24.2 before 24.2R2. Fixed versions are 21.2R3-S9, 21.4R3-S10, 22.2R3-S6, 22.4R3-S6, 23.2R2-S3, 23.4R2-S4, 24.2R1-S2 and 24.2R2.
Written with AI from the data on this page and checked against it automatically.
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.
CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
CISA notes
Affected and fixed versions
From the CVE record published by the vendor or CVE numbering authority.
- Juniper Networks Junos OSAffectedFixed in
- < 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
- ≥ 24.2, < 24.2R2
- 21.2R3-S9
- 21.4R3-S10
- 22.2R3-S6
- 22.4R3-S6
- 23.2R2-S3
- 23.4R2-S4
- 24.2R1-S2
- 24.2R2
| Product | Affected | Fixed in |
|---|---|---|
| Juniper Networks Junos OS |
|
|
How to fix it
- Update to a fixed version: 21.2R3-S9, 21.4R3-S10, 22.2R3-S6, 22.4R3-S6, 23.2R2-S3, 23.4R2-S4, 24.2R1-S2, 24.2R2.
- Vendor advisory: supportportal.juniper.net/JSA93446
- CISA's deadline for US federal agencies: 2025-04-03 (passed) – a useful benchmark for everyone else, too.
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
Workaround: It is strongly recommended to mitigate the risk of exploitation by restricting shell access to trusted users only.
What to do
- Upgrade Junos OS to the fixed release for your branch, such as
21.4R3-S10,22.4R3-S6,23.4R2-S4or24.2R2. - Follow the Juniper advisory and apply any mitigations it describes, as CISA's required action directs.
- Restrict shell access to a minimal set of trusted administrators and review who holds high-privilege accounts.
- Keep device management interfaces off the internet and limit them to trusted management networks.
- Check devices for signs of compromise, given that CISA lists this vulnerability as known to be exploited.
Written with AI from the data on this page and checked against it automatically.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- No – each attack needs manual steps
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-653 Improper Isolation or Compartmentalization
Questions about CVE-2025-21590
- Why prioritize this if the CVSS score is medium?
- CISA has added CVE-2025-21590 to its Known Exploited Vulnerabilities catalog, meaning attackers are known to use it. CISA's SSVC also rates its technical impact as total. US federal agencies had a due date of 2025-04-03.
- Can it be exploited remotely or from the Junos CLI?
- No. The attack vector is local and requires high privileges with access to the shell. The vendor states the issue is not exploitable from the Junos CLI.
- Which release should I install?
- Install the fixed release for your branch:
21.2R3-S9,21.4R3-S10,22.2R3-S6,22.4R3-S6,23.2R2-S3,23.4R2-S4,24.2R1-S2or24.2R2.
Written with AI from the data on this page and checked against it automatically.
References
Vendor
Other advisories
Trackers and catalogs
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.