VDB

CVE-2023-26604

CVE-2023-26604 PUBLISHED CVSS 7.8 HIGH

Reported by mitre · Published March 3, 2023

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 versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
systemd-journal-gatewayAmazon Linux219-78.amzn2.0.22
systemd-sysvAmazon Linux219-78.amzn2.0.22
systemd-libsAmazon Linux219-78.amzn2.0.22
systemd-pythonAmazon Linux219-78.amzn2.0.22
systemd-resolvedAmazon Linux219-78.amzn2.0.22
libgudev1-develAmazon Linux219-78.amzn2.0.22
systemd-networkdAmazon Linux219-78.amzn2.0.22
systemd-develAmazon Linux219-78.amzn2.0.22
libgudev1Amazon Linux219-78.amzn2.0.22
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPSiemens3.1.5
SIMATIC S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5
SIPLUS S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5

1 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/an/an/a
amazon:2systemd-journal-gateway0
chainguardpy3-systemd*
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2systemd-sysv0
amazon:2systemd-libs0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2systemd-python0
amazon:2systemd-resolved0
amazon:2libgudev1-devel0
amazon:2systemd-networkd0
amazon:2systemd-devel0
amazon:2libgudev10
n/an/a*
amazon:2systemd0

Timeline

  • Mar 3, 2023 CVE Published
  • Mar 4, 2023 EPSS Score (30 in total, the first dated here)
  • Aug 10, 2023 PoC Published (2 in total, the first dated here)
  • Jun 2, 2026 Security Advisory (6 in total, the first dated here)
  • Nov 22, 2026 Distribution Patch (5 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-26604
vulnetix vdb fixes CVE-2023-26604

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-26604/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›