CVE-2023-26604
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| systemd-journal-gateway | Amazon Linux | 219-78.amzn2.0.22 |
| systemd-sysv | Amazon Linux | 219-78.amzn2.0.22 |
| systemd-libs | Amazon Linux | 219-78.amzn2.0.22 |
| systemd-python | Amazon Linux | 219-78.amzn2.0.22 |
| systemd-resolved | Amazon Linux | 219-78.amzn2.0.22 |
| libgudev1-devel | Amazon Linux | 219-78.amzn2.0.22 |
| systemd-networkd | Amazon Linux | 219-78.amzn2.0.22 |
| systemd-devel | Amazon Linux | 219-78.amzn2.0.22 |
| libgudev1 | Amazon Linux | 219-78.amzn2.0.22 |
| SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | Siemens | 3.1.5 |
| SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
| SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
1 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2 | systemd-journal-gateway | 0 |
| chainguard | py3-systemd | * |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2 | systemd-sysv | 0 |
| amazon:2 | systemd-libs | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2 | systemd-python | 0 |
| amazon:2 | systemd-resolved | 0 |
| amazon:2 | libgudev1-devel | 0 |
| amazon:2 | systemd-networkd | 0 |
| amazon:2 | systemd-devel | 0 |
| amazon:2 | libgudev1 | 0 |
| n/a | n/a | * |
| amazon:2 | systemd | 0 |
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