CVE-2021-0255

published 22 Apr 2021 · updated 16 Sep 2024

Junos OS: ethtraceroute Local Privilege Escalation vulnerability in SUID binaries

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 15.1X49-D240, 17.3R3-S11, 17.4R3-S4 and 10 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Juniper Networks>=15.1X49 <15.1X49-D240, >=17.3 <17.3R3-S11, >=17.4 <17.4R3-S4, >=18.1 <18.1R3-S12, >=18.2 <18.2R3-S7, >=18.3 <18.3R3-S4, >=18.4 <18.4R2-S7, >=19.1 <19.1R1-S6, 19.1R2-S2, 19.1R3-S4, >=19.3 <19.3R3-S2, >=19.4 <19.4R3-S1, >=20.1 <20.1R2, 20.1R3, >=20.2 <20.2R2-S1, 20.2R3, >=20.3 <20.3R1-S115.1X49-D240, 17.3R3-S11, 17.4R3-S4, 18.1R3-S12, 18.2R3-S7, 18.3R3-S4, 18.4R2-S7, 19.1R1-S6, 19.1R2-S2, 19.1R3-S4, 19.3R3-S2, 19.4R3-S1, 20.1R2, 20.1R3, 20.2R2-S1, 20.2R3, 20.3R1-S1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-0255 severity on Zeptric[![CVE-2021-0255](https://zeptric.io/badge/cve/CVE-2021-0255.svg)](https://zeptric.io/cve/CVE-2021-0255)