CVE-2025-21590: Juniper Junos OS Improper Isolation or Compartmentalization Vulnerability

Published Mar 12, 2025
·
Updated

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.

Other sources

Juniper Junos OS contains an improper isolation or compartmentalization vulnerability. This vulnerability could allows a local attacker with high privileges to inject arbitrary code.

CISA

Affected Software

84 affected components
Juniper Junos OS
Juniper Junos<=21.2
Juniper Junos=21.2-r1
Juniper Junos=21.2-r1-s1
Juniper Junos=21.2-r1-s2
Juniper Junos=21.2-r2
Juniper Junos=21.2-r2-s1
Juniper Junos=21.2-r2-s2
Juniper Junos=21.2-r3
Juniper Junos=21.2-r3-s1
Juniper Junos=21.2-r3-s2
Juniper Junos=21.2-r3-s3
Juniper Junos=21.2-r3-s4
Juniper Junos=21.2-r3-s5
Juniper Junos=21.2-r3-s6
Juniper Junos=21.2-r3-s7
Juniper Junos=21.2-r3-s8
Juniper Junos=21.4
Juniper Junos=21.4
Juniper Junos=21.4-r1
Juniper Junos=21.4-r1-s1
Juniper Junos=21.4-r1-s2
Juniper Junos=21.4-r2
Juniper Junos=21.4-r2-s1
Juniper Junos=21.4-r2-s2
Juniper Junos=21.4-r3
Juniper Junos=21.4-r3-s1
Juniper Junos=21.4-r3-s2
Juniper Junos=21.4-r3-s3
Juniper Junos=21.4-r3-s4
Juniper Junos=21.4-r3-s5
Juniper Junos=21.4-r3-s6
Juniper Junos=21.4-r3-s7
Juniper Junos=21.4-r3-s8
Juniper Junos=21.4-r3-s9
Juniper Junos=22.2
Juniper Junos=22.2-r1
Juniper Junos=22.2-r1-s1
Juniper Junos=22.2-r1-s2
Juniper Junos=22.2-r2
Juniper Junos=22.2-r2-s1
Juniper Junos=22.2-r2-s2
Juniper Junos=22.2-r3
Juniper Junos=22.2-r3-s1
Juniper Junos=22.2-r3-s2
Juniper Junos=22.2-r3-s3
Juniper Junos=22.2-r3-s4
Juniper Junos=22.2-r3-s5
Juniper Junos=22.4
Juniper Junos=22.4
Juniper Junos=22.4-r1
Juniper Junos=22.4-r1-s1
Juniper Junos=22.4-r1-s2
Juniper Junos=22.4-r2
Juniper Junos=22.4-r2-s1
Juniper Junos=22.4-r2-s2
Juniper Junos=22.4-r3
Juniper Junos=22.4-r3-s1
Juniper Junos=22.4-r3-s2
Juniper Junos=22.4-r3-s3
Juniper Junos=22.4-r3-s4
Juniper Junos=22.4-r3-s5
Juniper Junos=23.2
Juniper Junos=23.2-r1
Juniper Junos=23.2-r1-s1
Juniper Junos=23.2-r1-s2
Juniper Junos=23.2-r2
Juniper Junos=23.2-r2-s1
Juniper Junos=23.2-r2-s2
Juniper Junos=23.4
Juniper Junos=23.4
Juniper Junos=23.4-r1
Juniper Junos=23.4-r1-s1
Juniper Junos=23.4-r1-s2
Juniper Junos=23.4-r2
Juniper Junos=23.4-r2-s1
Juniper Junos=23.4-r2-s2
Juniper Junos=23.4-r2-s3
Juniper Junos=24.2
Juniper Junos=24.2
Juniper Junos=24.2-r1
Juniper Junos=24.2-r1-s1
Juniper Junos=24.2-r2
Juniper Networks Junos OS<21.2R3-S9, <21.4R3-S10, <22.2R3-S6, <22.4R3-S6, <23.2R2-S3, <23.4R2-S4, <24.2R1-S2, <24.2R2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Juniper Junos OS to a version that resolves this vulnerability.

    Fixed in 21.2R3-S9
  2. Upgrade

    Upgrade Juniper Junos OS to a version that resolves this vulnerability.

    Fixed in 21.4R3-S10
  3. Upgrade

    Upgrade Juniper Junos OS to a version that resolves this vulnerability.

    Fixed in 22.2R3-S6
  4. Upgrade

    Upgrade Juniper Junos OS to a version that resolves this vulnerability.

    Fixed in 22.4R3-S6
  5. Upgrade

    Upgrade Juniper Junos OS to a version that resolves this vulnerability.

    Fixed in 23.2R2-S3
  6. Upgrade

    Upgrade Juniper Junos OS to a version that resolves this vulnerability.

    Fixed in 23.4R2-S4
  7. Upgrade

    Upgrade Juniper Junos OS to a version that resolves this vulnerability.

    Fixed in 24.2R1-S2
  8. Upgrade

    Upgrade Juniper Junos OS to a version that resolves this vulnerability.

    Fixed in 24.2R2
  9. Upgrade

    Upgrade Juniper Junos OS to a version that resolves this vulnerability.

    Fixed in 24.4R1
  10. Compensating control

    If mitigations are unavailable, discontinue use of the product; otherwise apply mitigations per vendor instructions and follow applicable BOD 22-01 guidance for cloud services.

Event History

Mar 12, 2025
CVE Published
via MITRE·01:59 PM
Data Sourced
via MITRE·01:59 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software
Mar 13, 2025
Known Exploited
via CISA·12:00 AM
News Published
via BleepingComputer·04:40 PM
News Published
via BleepingComputer·04:41 PM

Frequently Asked Questions

1

What is the severity of CVE-2025-21590?

CVE-2025-21590 is rated as a high severity vulnerability due to its potential to compromise device integrity through improper isolation.

2

How do I fix CVE-2025-21590?

To mitigate CVE-2025-21590, it is recommended to update Junos OS to the latest version that addresses this vulnerability.

3

Who is affected by CVE-2025-21590?

CVE-2025-21590 affects Juniper Networks Junos OS versions up to 24.2R2, including specific versions prior to this.

4

What type of exploitation is possible with CVE-2025-21590?

CVE-2025-21590 can be exploited by a local attacker with high privileges to inject arbitrary code that compromises the device.

5

Is CVE-2025-21590 publicly disclosed?

Yes, CVE-2025-21590 has been publicly disclosed, allowing organizations to take necessary precautions and updates.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203