PT-2022-13263 · Unknown+2 · Util-Linux+2

Karel Zak

·

Published

2022-02-21

·

Updated

2026-04-07

·

CVE-2022-0563

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions util-linux versions prior to 2.37.4
Description A flaw was found in the util-linux chfn and chsh utilities when compiled with Readline support. The Readline library uses an INPUTRC environment variable to get a path to the library config file. When the library cannot parse the specified file, it prints an error message containing data from the file. This flaw allows an unprivileged user to read root-owned files, potentially leading to privilege escalation.
Recommendations For util-linux versions prior to 2.37.4, update to version 2.37.4 or later to resolve the issue. As a temporary workaround, consider restricting access to the chfn and chsh utilities until a patch is available. Avoid using the INPUTRC environment variable in the affected utilities until the issue is resolved.

Fix

Generation of Error Message Containing Sensitive Information

Weakness Enumeration

Related Identifiers

ALT-PU-2022-2850
ALT-PU-2022-3036
AZL-8841
CVE-2022-0563
ECHO-0818-2C49-3F78
MGASA-2022-0076
OPENSUSE-SU-2024:11915-1

Affected Products

Alt Linux
Debian
Util-Linux