{"id":"CVE-2021-0219","aliases":["CVE-2021-0219"],"related":[],"kind":"vulnerability","state":"published","title":"Junos OS: Command injection vulnerability in 'request system software' CLI command","summary":"A command injection vulnerability in install package validation subsystem of Juniper Networks Junos OS that may allow a locally authenticated attacker with privileges to execute commands with root privilege. To validate a package in Junos before installation, an administrator executes the command 'request system software add validate-on-host' via the CLI. An attacker with access to this CLI command may be able to exploit this vulnerability. This issue affects Juniper Networks Junos OS: all versions prior to 17.3R3-S10; 17.4 versions prior to 17.4R2-S12, 17.4R3-S3; 18.1 versions prior to 18.1R3-S11; 18.2 versions prior to 18.2R2-S8, 18.2R3-S6; 18.3 versions prior to 18.3R3-S4; 18.4 versions prior to 18.4R1-S8, 18.4R2-S7, 18.4R3-S6; 19.1 versions prior to 19.1R1-S6, 19.1R2-S2, 19.1R3-S3; 19.2 versions prior to 19.2R3-S1; 19.3 versions prior to 19.3R2-S5, 19.3R3-S1; 19.4 versions prior to 19.4R2-S2, 19.4R3-S1; 20.1 versions prior to 20.1R2; 20.2 versions prior to 20.2R1-S2, 20.2R2; 20.3 versions prior to 20.3R1-S1, 20.3R2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A command injection vulnerability in install package validation subsystem of Juniper Networks Junos OS that may allow a locally authenticated attacker with privileges to execute commands with root privilege. To validate a package in Junos before installation, an administrator executes the command 'request system software add validate-on-host' via the CLI. An attacker with access to this CLI command may be able to exploit this vulnerability. This issue affects Juniper Networks Junos OS: all versions prior to 17.3R3-S10; 17.4 versions prior to 17.4R2-S12, 17.4R3-S3; 18.1 versions prior to 18.1R3-S11; 18.2 versions prior to 18.2R2-S8, 18.2R3-S6; 18.3 versions prior to 18.3R3-S4; 18.4 versions prior to 18.4R1-S8, 18.4R2-S7, 18.4R3-S6; 19.1 versions prior to 19.1R1-S6, 19.1R2-S2, 19.1R3-S3; 19.2 versions prior to 19.2R3-S1; 19.3 versions prior to 19.3R2-S5, 19.3R3-S1; 19.4 versions prior to 19.4R2-S2, 19.4R3-S1; 20.1 versions prior to 20.1R2; 20.2 versions prior to 20.2R1-S2, 20.2R2; 20.3 versions prior to 20.3R1-S1, 20.3R2.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad de inyección de comandos en el subsistema de comprobación de paquetes de instalación del Juniper Networks Junos OS, que puede permitir a un atacante autenticado localmente privilegiado ejecutar comandos con privilegios root.&#xa0;Para comprobar un paquete en Junos antes de la instalación, un administrador ejecuta el comando \"request system software add validate-on-host\" por medio de la CLI.&#xa0;Un atacante con acceso a este comando de la CLI puede ser capaz de explotar esta vulnerabilidad.&#xa0;Este problema afecta a Juniper Networks Junos OS: todas las versiones anteriores a 17.3R3-S10;&#xa0;versiones 17.4 anteriores a 17.4R2-S12, 17.4R3-S3;&#xa0;versiones 18.1 anteriores a 18.1R3-S11;&#xa0;versiones 18.2 anteriores a 18.2R2-S8, 18.2R3-S6;&#xa0;versiones 18.3 anteriores a 18.3R3-S4;&#xa0;versiones 18.4 anteriores a 18.4R1-S8, 18.4R2-S7, 18.4R3-S6;&#xa0;versiones 19.1 anteriores a 19.1R1-S6, 19.1R2-S2, 19.1R3-S3;&#xa0;versiones 19.2 anteriores a 19.2R3-S1;&#xa0;versiones 19.&#xa0;3 anteriores a 19.3R2-S5, 19.3R3-S1;&#xa0;versiones 19.4 anteriores a 19.4R2-S2, 19.4R3-S1;&#xa0;versiones 20.1 anteriores a 20.1R2;&#xa0;versiones 20.2 anteriores a 20.2R1-S2, 20.2R2;&#xa0;versiones 20.3 anteriores a 20.3R1-S1, 20.3R2","source":"nvd"}],"published":"2021-01-15T17:36:00.750Z","modified":"2026-06-17T03:29:31.120Z","severity":{"scorer":"juniper","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","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:H/I:H/A:H","score":6.7,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","score":7.2,"rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"17.3R3-S10","status":"affected"},{"type":"custom","introduced":"17.4","fixed":"17.4R2-S12, 17.4R3-S3","status":"affected"},{"type":"custom","introduced":"18.1","fixed":"18.1R3-S11","status":"affected"},{"type":"custom","introduced":"18.2","fixed":"18.2R2-S8, 18.2R3-S6","status":"affected"},{"type":"custom","introduced":"18.3","fixed":"18.3R3-S4","status":"affected"},{"type":"custom","introduced":"18.4","fixed":"18.4R1-S8, 18.4R2-S7, 18.4R3-S6","status":"affected"},{"type":"custom","introduced":"19.1","fixed":"19.1R1-S6, 19.1R2-S2, 19.1R3-S3","status":"affected"},{"type":"custom","introduced":"19.2","fixed":"19.2R3-S1","status":"affected"},{"type":"custom","introduced":"19.3","fixed":"19.3R2-S5, 19.3R3-S1","status":"affected"},{"type":"custom","introduced":"19.4","fixed":"19.4R2-S2, 19.4R3-S1","status":"affected"},{"type":"custom","introduced":"20.1","fixed":"20.1R2","status":"affected"},{"type":"custom","introduced":"20.2","fixed":"20.2R1-S2, 20.2R2","status":"affected"},{"type":"custom","introduced":"20.3","fixed":"20.3R1-S1, 20.3R2","status":"affected"}],"vendor":"Juniper Networks","product":"Junos OS","source":"cvelist"},{"ranges":[{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"18.1"},{"status":"affected","version":"18.1"},{"status":"affected","version":"18.1"},{"status":"affected","version":"18.1"},{"status":"affected","version":"18.1"},{"status":"affected","version":"18.1"},{"status":"affected","version":"18.1"},{"status":"affected","version":"18.1"},{"status":"affected","version":"18.1"}],"vendor":"juniper","product":"junos","cpe":"cpe:2.3:o:juniper:junos:17.3:-:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://kb.juniper.net/JSA11109","tags":["vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Juniper SIRT would like to acknowledge and thank Hoàng Thạch Nguyễn (d4rkn3ss) of STAR Labs for responsibly reporting this vulnerability."],"assigner":"juniper","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-0219","url":"https://www.cve.org/CVERecord?id=CVE-2021-0219","licence":"CVE Terms of Use","modified":"2024-09-16T19:46:49.933Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-0219","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-0219","licence":"Public domain","modified":"2026-06-17T03:29:31.120Z"}],"updatedAt":"2026-11-25T22:57:59.480Z","epss":{"score":0.00713,"percentile":0.54845,"date":"2026-12-01T12:00:22.000Z"}}