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. This flaw affects util-linux versions prior to 2.37.4.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published: 2022-02-21T00:00:00

Updated: 2024-08-02T23:32:46.398Z

Reserved: 2022-02-10T00:00:00

Link: CVE-2022-0563

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-02-21T19:15:08.393

Modified: 2024-01-07T09:15:08.713

Link: CVE-2022-0563

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-02-14T11:00:00Z

Links: CVE-2022-0563 - Bugzilla