Skip to content
OpenAdvisories
High · 7.8 CVE-2023-26604 EUVD-2023-30399GHSA-8989-8fhv-vq42

systemd before 247 does not adequately block local privilege escalation for some Sudo configurations, e.g., plausible sudoers files in whic…

Published Mar 3, 2023 · Updated Oct 14, 2026 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 systemd 247.1-2 —
Debian 13 systemd 247.1-2 —
Debian 12 systemd 247.1-2 —
Debian 10 systemd 241-7~deb10u9 DLA-3377-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS systemd No fix yet —
Ubuntu Pro 18.04 LTS systemd No fix yet —
Ubuntu Pro 16.04 LTS systemd No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS systemd No fix yet —
ReleasePackageFixed inAdvisory
RHEL 8 systemd +7 239-74.el8_8.2 RHSA-2023:3837
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.6 EUS systemd +7 239-58.el8_6.13 RHSA-2024:1105
RHEL 7 ELS systemd +9 219-78.el7_9.11 RHSA-2024:7705

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 systemd +7 239-74.el8_8.2 ALSA-2023:3837

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 systemd 239-74.el8_8.2 RLSA-2023:3837
ReleasePackageFixed inAdvisory
SLES 15 SP3 systemd 246.16-150300.7.60.1 SUSE-SU-2025:02019-1
SLES 12 SP5 systemd 228-157.52.1 SUSE-SU-2023:1622-1
SLES 12 SP4 systemd 228-150.108.2 SUSE-SU-2023:1776-1
SLES 12 SP2 systemd 228-150.108.2 SUSE-SU-2023:1776-1
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP3 systemd 246.16-150300.7.60.1 SUSE-SU-2025:02019-1
SLES for SAP 12 SP5 systemd 228-157.52.1 SUSE-SU-2023:1622-1
SLES for SAP 12 SP4 systemd 228-150.108.2 SUSE-SU-2023:1776-1
SLE Micro 5.2 systemd 246.16-150300.7.60.1 SUSE-SU-2025:02019-1
SLE Micro 5.1 systemd 246.16-150300.7.60.1 SUSE-SU-2025:02019-1
SLE HPC 15 SP3 systemd 246.16-150300.7.60.1 SUSE-SU-2025:02019-1
SUSE OpenStack Cloud Crowbar 9 systemd 228-150.108.2 SUSE-SU-2023:1776-1
SUSE OpenStack Cloud 9 systemd 228-150.108.2 SUSE-SU-2023:1776-1
SUSE Enterprise Storage 7.1 systemd 246.16-150300.7.60.1 SUSE-SU-2025:02019-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 systemd +9 219-78.amzn2.0.22 ALAS2-2023-2004

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 systemd +7 239-74.0.4.el8_8.2 ELSA-2023-3837
Oracle Linux 7 systemd +9 219-78.0.17.el7_9.9 ELSA-2024-7705

Advisories 17

References