systemd before 247 does not adequately block local privilege escalation for some Sudo configurations, e.g., plausible sudoers files in which the systemctl status command may be executed. Specifically, systemd does not set LESSSECURE to 1, and thus other programs may be launched from the less program. This presents a substantial security risk when running systemctl from Sudo, because less executes as root when the terminal size is too small to show the complete systemctl output.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Systemd | Systemd_project | * | 247 (excluding) |
Red Hat Enterprise Linux 7 Extended Lifecycle Support | RedHat | systemd-0:219-78.el7_9.11 | * |
Red Hat Enterprise Linux 8 | RedHat | systemd-0:239-74.el8_8.2 | * |
Red Hat Enterprise Linux 8.6 Extended Update Support | RedHat | systemd-0:239-58.el8_6.13 | * |
Systemd | Ubuntu | bionic | * |
Systemd | Ubuntu | esm-infra/bionic | * |
Systemd | Ubuntu | focal | * |
Systemd | Ubuntu | trusty | * |
Systemd | Ubuntu | xenial | * |