{"id":"CVE-2021-0255","aliases":["CVE-2021-0255"],"related":[],"kind":"vulnerability","state":"published","title":"Junos OS: ethtraceroute Local Privilege Escalation vulnerability in SUID binaries","summary":"A local privilege escalation vulnerability in ethtraceroute of Juniper Networks Junos OS may allow a locally authenticated user with shell access to escalate privileges and write to the local filesystem as root. ethtraceroute is shipped with setuid permissions enabled and is owned by the root user, allowing local users to run ethtraceroute with root privileges. This issue affects Juniper Networks Junos OS: 15.1X49 versions prior to 15.1X49-D240; 17.3 versions prior to 17.3R3-S11, 17.4 versions prior to 17.4R3-S4; 18.1 versions prior to 18.1R3-S12; 18.2 versions prior to 18.2R3-S7; 18.3 versions prior to 18.3R3-S4; 18.4 versions prior to 18.4R2-S7; 19.1 versions prior to 19.1R1-S6, 19.1R2-S2, 19.1R3-S4; 19.3 versions prior to 19.3R3-S2; 19.4 versions prior to 19.4R3-S1; 20.1 versions prior to 20.1R2, 20.1R3; 20.2 versions prior to 20.2R2-S1, 20.2R3; 20.3 versions prior to 20.3R1-S1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A local privilege escalation vulnerability in ethtraceroute of Juniper Networks Junos OS may allow a locally authenticated user with shell access to escalate privileges and write to the local filesystem as root. ethtraceroute is shipped with setuid permissions enabled and is owned by the root user, allowing local users to run ethtraceroute with root privileges. This issue affects Juniper Networks Junos OS: 15.1X49 versions prior to 15.1X49-D240; 17.3 versions prior to 17.3R3-S11, 17.4 versions prior to 17.4R3-S4; 18.1 versions prior to 18.1R3-S12; 18.2 versions prior to 18.2R3-S7; 18.3 versions prior to 18.3R3-S4; 18.4 versions prior to 18.4R2-S7; 19.1 versions prior to 19.1R1-S6, 19.1R2-S2, 19.1R3-S4; 19.3 versions prior to 19.3R3-S2; 19.4 versions prior to 19.4R3-S1; 20.1 versions prior to 20.1R2, 20.1R3; 20.2 versions prior to 20.2R2-S1, 20.2R3; 20.3 versions prior to 20.3R1-S1.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad de escalada de privilegios local en ethtraceroute de Juniper Networks Junos OS, puede permitir a un usuario autenticado localmente con acceso de shell escalar privilegios y escribir en el sistema de archivos local como root.&#xa0;ethtraceroute es enviado con los permisos setuid habilitados y es propiedad del usuario root, permitiendo a usuarios locales locales ejecutar ethtraceroute con privilegios de root.&#xa0;Este problema afecta a Junos de Juniper Networks OS: versiones 15.1X49 anteriores a 15.1X49-D240;&#xa0;Versiones 17.3 anteriores a 17.3R3-S11, versiones 17.4 anteriores a 17.4R3-S4;&#xa0;versiones 18.1 anteriores a 18.1R3-S12;&#xa0;versiones 18.2 anteriores a 18.2R3-S7;&#xa0;versiones 18.3 anteriores a 18.3R3-S4;&#xa0;versiones 18.4 anteriores a 18.4R2-S7;&#xa0;versiones 19.1 anteriores a 19.1R1-S6, 19.1R2-S2, 19.1R3-S4;&#xa0;versiones 19.3 anteriores a 19.3R3-S2;&#xa0;versiones 19.4 anteriores a 19.4R3-S1;&#xa0;versiones 20.1 anteriores a 20.1R2, 20.1R3;&#xa0;versiones 20.2 anteriores a 20.2R2-S1, 20.2R3","source":"nvd"}],"published":"2021-04-22T19:37:16.105Z","modified":"2026-06-17T03:29:37.360Z","severity":{"scorer":"juniper","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"juniper","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"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-250","CWE-269"],"affected":[{"ranges":[{"type":"custom","introduced":"15.1X49","fixed":"15.1X49-D240","status":"affected"},{"type":"custom","introduced":"17.3","fixed":"17.3R3-S11","status":"affected"},{"type":"custom","introduced":"17.4","fixed":"17.4R3-S4","status":"affected"},{"type":"custom","introduced":"18.1","fixed":"18.1R3-S12","status":"affected"},{"type":"custom","introduced":"18.2","fixed":"18.2R3-S7","status":"affected"},{"type":"custom","introduced":"18.3","fixed":"18.3R3-S4","status":"affected"},{"type":"custom","introduced":"18.4","fixed":"18.4R2-S7","status":"affected"},{"type":"custom","introduced":"19.1","fixed":"19.1R1-S6, 19.1R2-S2, 19.1R3-S4","status":"affected"},{"type":"custom","introduced":"19.3","fixed":"19.3R3-S2","status":"affected"},{"type":"custom","introduced":"19.4","fixed":"19.4R3-S1","status":"affected"},{"type":"custom","introduced":"20.1","fixed":"20.1R2, 20.1R3","status":"affected"},{"type":"custom","introduced":"20.2","fixed":"20.2R2-S1, 20.2R3","status":"affected"},{"type":"custom","introduced":"20.3","fixed":"20.3R1-S1","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.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":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"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/JSA11175","tags":["vendor-advisory","x-refsource-misc","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-0255","url":"https://www.cve.org/CVERecord?id=CVE-2021-0255","licence":"CVE Terms of Use","modified":"2024-09-16T17:43:04.277Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-0255","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-0255","licence":"Public domain","modified":"2026-06-17T03:29:37.360Z"}],"updatedAt":"2026-11-25T22:58:00.918Z","epss":{"score":0.00212,"percentile":0.12167,"date":"2026-12-01T12:00:22.000Z"}}