cbcvebase.
CVE-2023-26604
published 2023-03-03

CVE-2023-26604: systemd before 247 does not adequately block local privilege escalation for some Sudo configurations, e.g., plausible sudoers files in which the "systemctl…

high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
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.

Affected

19 ranges
VendorProductVersion rangeFixed in
apport_projectapport>= 0 < 2.20.9-0ubuntu7.292.20.9-0ubuntu7.29
apport_projectapport>= 0 < 2.20.11-0ubuntu27.262.20.11-0ubuntu27.26
apport_projectapport>= 0 < 2.20.11-0ubuntu82.42.20.11-0ubuntu82.4
canonicalapport<= 2.26.0
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
canonical_ltdapport<= 2.26.0
debiandebian_linux
debiansystemd< systemd 247.1-2 (bookworm)systemd 247.1-2 (bookworm)
msrccbl_mariner_1.0_arm
msrccbl_mariner_1.0_x64
msrccm1_systemd_239-44_on_cbl_mariner_1.0
systemd_projectsystemd< 246.7246.7
systemd_projectsystemd>= 0 < 247.1-2247.1-2
systemd_projectsystemd>= 0 < 247.1-2247.1-2
systemd_projectsystemd>= 0 < 247.1-2247.1-2
systemd_projectsystemd>= 0 < 247.1-2247.1-2

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH