{"id":"CVE-2025-21590","aliases":["CVE-2025-21590"],"related":[],"kind":"vulnerability","state":"published","title":"Junos OS: An local attacker with shell access can execute arbitrary code","summary":"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.\n\nA local attacker with access to the shell is able to inject arbitrary code which can compromise an affected device.\nThis issue is not exploitable from the Junos CLI.\nThis issue affects Junos OS: \n\n\n\n  *  All versions before 21.2R3-S9,\n  *  21.4 versions before 21.4R3-S10, \n  *  22.2 versions before 22.2R3-S6, \n  *  22.4 versions before 22.4R3-S6, \n  *  23.2 versions before 23.2R2-S3, \n  *  23.4 versions before 23.4R2-S4,\n  *  24.2 versions before 24.2R1-S2, 24.2R2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nA local attacker with access to the shell is able to inject arbitrary code which can compromise an affected device.\nThis issue is not exploitable from the Junos CLI.\nThis issue affects Junos OS: \n\n\n\n  *  All versions before 21.2R3-S9,\n  *  21.4 versions before 21.4R3-S10, \n  *  22.2 versions before 22.2R3-S6, \n  *  22.4 versions before 22.4R3-S6, \n  *  23.2 versions before 23.2R2-S3, \n  *  23.4 versions before 23.4R2-S4,\n  *  24.2 versions before 24.2R1-S2, 24.2R2.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad de aislamiento o compartimentación inadecuados en el kernel de Junos OS de Juniper Networks permite a un atacante local con privilegios elevados comprometer la integridad del dispositivo. Un atacante local con acceso al shell puede inyectar código arbitrario que puede comprometer un dispositivo afectado. Este problema no se puede explotar desde la interfaz de línea de comandos de Junos. Este problema afecta a Junos OS: * Todas las versiones anteriores a 21.2R3-S9, * Versiones 21.4 anteriores a 21.4R3-S10, * Versiones 22.2 anteriores a 22.2R3-S6, * Versiones 22.4 anteriores a 22.4R3-S6, * Versiones 23.2 anteriores a 23.2R2-S3, * Versiones 23.4 anteriores a 23.4R2-S4, * Versiones 24.2 anteriores a 24.2R1-S2 y 24.2R2.","source":"nvd"},{"lang":"en","text":"Juniper Junos OS contains an improper isolation or compartmentalization vulnerability. This vulnerability could allows a local attacker with high privileges to inject arbitrary code.","source":"kev"}],"published":"2025-03-12T13:59:43.038Z","modified":"2026-10-01T18:23:34.867Z","severity":{"scorer":"juniper","scheme":"CVSS:4.0","vector":"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","score":6.7,"rating":"MEDIUM"},"severities":[{"scorer":"juniper","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","score":4.4,"rating":"MEDIUM"},{"scorer":"juniper","scheme":"CVSS:4.0","vector":"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","score":6.7,"rating":"MEDIUM"}],"cwes":["CWE-653"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"21.2R3-S9","status":"affected"},{"type":"semver","introduced":"21.4","fixed":"21.4R3-S10","status":"affected"},{"type":"semver","introduced":"22.2","fixed":"22.2R3-S6","status":"affected"},{"type":"semver","introduced":"22.4","fixed":"22.4R3-S6","status":"affected"},{"type":"semver","introduced":"23.2","fixed":"23.2R2-S3","status":"affected"},{"type":"semver","introduced":"23.4","fixed":"23.4R2-S4","status":"affected"},{"type":"semver","introduced":"24.2","fixed":"24.2R1-S2, 24.2R2","status":"affected"}],"vendor":"Juniper Networks","product":"Junos OS","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"22.2"},{"status":"affected","version":"22.2"},{"status":"affected","version":"22.2"},{"status":"affected","version":"22.2"},{"status":"affected","version":"22.2"},{"status":"affected","version":"22.2"},{"status":"affected","version":"22.2"},{"status":"affected","version":"22.2"},{"status":"affected","version":"22.2"},{"status":"affected","version":"22.2"},{"status":"affected","version":"22.2"},{"status":"affected","version":"22.2"},{"status":"affected","version":"22.2"},{"status":"affected","version":"22.4"},{"status":"affected","version":"22.4"},{"status":"affected","version":"22.4"}],"vendor":"juniper","product":"junos","cpe":"cpe:2.3:o:juniper:junos:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"Juniper","product":"Junos OS","source":"kev"}],"references":[{"url":"https://supportportal.juniper.net/JSA93446","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://cloud.google.com/blog/topics/threat-intelligence/china-nexus-espionage-targets-juniper-routers","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-21590","tags":["government-resource","us-government-resource"],"sources":["cvelist","nvd"]},{"url":"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","tags":["kev"],"sources":["kev"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21590","tags":["kev"],"sources":["kev"]}],"credits":["Juniper SIRT would like to acknowledge and thank Matteo Memelli from Amazon for responsibly reporting this issue. Note: Amazon found the issue during internal security research and not due to exploitation."],"assigner":"juniper","kev":{"dateAdded":"2025-03-13","dueDate":"2025-04-03","name":"Juniper Junos OS Improper Isolation or Compartmentalization Vulnerability","requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","ransomware":false,"notes":"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 ; https://nvd.nist.gov/vuln/detail/CVE-2025-21590"},"ssvc":{"scorer":"CISA-ADP","exploitation":"active","automatable":"no","technicalImpact":"total","date":"2025-03-14T03:55:21.999Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-21590","url":"https://www.cve.org/CVERecord?id=CVE-2025-21590","licence":"CVE Terms of Use","modified":"2026-02-26T19:09:35.631Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-21590","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21590","licence":"Public domain","modified":"2026-10-01T18:23:34.867Z"},{"source":"kev","name":"CISA KEV","id":"CVE-2025-21590","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2025-21590","licence":"CC0-1.0","modified":"2025-03-13T00:00:00.000Z"}],"updatedAt":"2026-11-25T22:58:55.211Z","epss":{"score":0.01749,"percentile":0.78521,"date":"2026-12-01T12:00:22.000Z"}}