Skip to content
OpenAdvisories
Medium · 5.5 CVE-2022-0563 EUVD-2022-15682GHSA-5896-67mw-rv4j

A flaw was found in the util-linux chfn and chsh utilities when compiled with Readline support. The Readline library uses an "INPUTRC" envi…

Published Feb 21, 2022 · Updated Oct 14, 2026 · Assigned by redhat

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

Affected products

VendorProductAffectedFixed
— util-linux util-linux 2.37.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 util-linux No fix yet —
Debian 13 util-linux No fix yet —
Debian 12 util-linux No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed util-linux 2.37.4-1.1 openSUSE-SU-2024:11915-1
ReleasePackageFixed inAdvisory
Alpine v3.24 util-linux 2.37.4-r0 —
Alpine v3.23 util-linux 2.37.4-r0 —
Alpine v3.22 util-linux 2.37.4-r0 —
Alpine v3.21 util-linux 2.37.4-r0 —
Alpine v3.20 util-linux 2.37.4-r0 —
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 util-linux 2.37.4-r0 —
Alpine v3.18 util-linux 2.37.4-r0 —
Alpine v3.17 util-linux 2.37.4-r0 —
Alpine v3.16 util-linux 2.37.4-r0 —
Alpine v3.15 util-linux 2.37.4-r0 —
Alpine v3.14 util-linux 2.37.4-r0 —
Alpine v3.13 util-linux 2.37.4-r0 —
Alpine v3.12 util-linux 2.37.4-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 uuidd +14 2.37.4-1.amzn2023.0.3 ALAS2023-2023-024
Amazon Linux 2 uuidd +13 2.30.2-2.amzn2.0.10 ALAS2-2022-1901

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) util-linux 2.37.4-1 —

Advisories 5

References