Skip to content

systemd before 247 does not adequately block local...

High severity Unreviewed Published Mar 3, 2023 to the GitHub Advisory Database • Updated Aug 11, 2023

Package

No package listedSuggest a package

Affected versions

Unknown

Patched versions

Unknown

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.

References

Published by the National Vulnerability Database Mar 3, 2023
Published to the GitHub Advisory Database Mar 3, 2023
Last updated Aug 11, 2023

Severity

High
7.8
/ 10

CVSS base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

No CWEs

CVE ID

CVE-2023-26604

GHSA ID

GHSA-8989-8fhv-vq42

Source code

No known source code

Dependabot alerts are not supported on this advisory because it does not have a package from a supported ecosystem with an affected and fixed version.

Learn more about GitHub language support

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.