Vulnerability · Published Mar 3, 2023 · Assigned by mitre

CVE-2023-26604

High 7.8

In plain English

A high-severity privilege mismanagement in the systemd package (AlmaLinux). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 64% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)1.1%top 35.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8systemd239-74.el8_8.2ALSA-2023:3837
AlmaLinux:8systemd-container239-74.el8_8.2ALSA-2023:3837
AlmaLinux:8systemd-devel239-74.el8_8.2ALSA-2023:3837
AlmaLinux:8systemd-journal-remote239-74.el8_8.2ALSA-2023:3837
AlmaLinux:8systemd-libs239-74.el8_8.2ALSA-2023:3837
AlmaLinux:8systemd-pam239-74.el8_8.2ALSA-2023:3837
AlmaLinux:8systemd-tests239-74.el8_8.2ALSA-2023:3837
AlmaLinux:8systemd-udev239-74.el8_8.2ALSA-2023:3837
Debian:12systemd247.1-2DEBIAN-CVE-2023-26604
Debian:13systemd247.1-2DEBIAN-CVE-2023-26604
Debian:14systemd247.1-2DEBIAN-CVE-2023-26604
Rocky Linux:8systemd0:239-74.el8_8.2RLSA-2023:3837

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-269 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References