CVEfocus › CVE database › CVE-2022-0563

CVE-2022-0563

CVSS 5.5 MediumEPSS 0.4% (higher than 38% of CVEs)Published 2022-02-21Updated 2026-10-14Assigner: redhat

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.

CWE-209

What to do

Fixed builds are available from Alpine: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

13Fixed
2Fix pending
17Will not fix
30Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04util-linuxNot affected
vulnerable_code_not_present
Ubuntu 16.04util-linuxFix pending
Ubuntu 14.04util-linuxFix pending
Debian 14util-linuxWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2022-0563
Debian 13util-linuxWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2022-0563
Debian 12util-linuxWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2022-0563
Red Hat Enterprise Linux 9libblkidNot affected
Red Hat Enterprise Linux 9libblkid-develNot affected
Red Hat Enterprise Linux 9libfdiskNot affected
Red Hat Enterprise Linux 9libfdisk-develNot affected
Red Hat Enterprise Linux 9libmountNot affected
Red Hat Enterprise Linux 9libmount-develNot affected
Red Hat Enterprise Linux 9libsmartcolsNot affected
Red Hat Enterprise Linux 9libsmartcols-develNot affected
Red Hat Enterprise Linux 9libuuidNot affected
Red Hat Enterprise Linux 9libuuid-develNot affected
Red Hat Enterprise Linux 9python3-libmountNot affected
Red Hat Enterprise Linux 9util-linuxNot affected
Red Hat Enterprise Linux 9util-linux-coreNot affected
Red Hat Enterprise Linux 9util-linux-userNot affected
Red Hat Enterprise Linux 9uuiddNot affected
Red Hat Enterprise Linux 8libblkidNot affected
Red Hat Enterprise Linux 8libblkid-develNot affected
Red Hat Enterprise Linux 8libfdiskNot affected
Red Hat Enterprise Linux 8libfdisk-develNot affected
Red Hat Enterprise Linux 8libmountNot affected
Red Hat Enterprise Linux 8libmount-develNot affected
Red Hat Enterprise Linux 8libsmartcolsNot affected
Red Hat Enterprise Linux 8libsmartcols-develNot affected
Red Hat Enterprise Linux 8libuuidNot affected
Red Hat Enterprise Linux 8libuuid-develNot affected
Red Hat Enterprise Linux 8python3-libmountNot affected
Red Hat Enterprise Linux 8util-linuxNot affected
Red Hat Enterprise Linux 8util-linux-userNot affected
Red Hat Enterprise Linux 8uuiddNot affected
Red Hat Enterprise Linux 7libblkidWill not fix
Out of support scope
Red Hat Enterprise Linux 7libblkid-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7libmountWill not fix
Out of support scope
Red Hat Enterprise Linux 7libmount-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7libuuidWill not fix
Out of support scope
Red Hat Enterprise Linux 7libuuid-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7util-linuxWill not fix
Out of support scope
Red Hat Enterprise Linux 7uuiddWill not fix
Out of support scope
Red Hat Enterprise Linux 6libblkidWill not fix
Out of support scope
Red Hat Enterprise Linux 6libblkid-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6libuuidWill not fix
Out of support scope
Red Hat Enterprise Linux 6libuuid-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6util-linux-ngWill not fix
Out of support scope
Red Hat Enterprise Linux 6uuiddWill not fix
Out of support scope
Alpine Linux 3.24util-linuxFixed2.37.4-r0ALPINE-CVE-2022-0563
Alpine Linux 3.23util-linuxFixed2.37.4-r0ALPINE-CVE-2022-0563
Alpine Linux 3.22util-linuxFixed2.37.4-r0ALPINE-CVE-2022-0563
Alpine Linux 3.21util-linuxFixed2.37.4-r0ALPINE-CVE-2022-0563
Alpine Linux 3.20util-linuxFixed2.37.4-r0ALPINE-CVE-2022-0563
Alpine Linux 3.19util-linuxFixed2.37.4-r0ALPINE-CVE-2022-0563
Alpine Linux 3.18util-linuxFixed2.37.4-r0ALPINE-CVE-2022-0563
Alpine Linux 3.17util-linuxFixed2.37.4-r0ALPINE-CVE-2022-0563
Alpine Linux 3.16util-linuxFixed2.37.4-r0ALPINE-CVE-2022-0563
Alpine Linux 3.15util-linuxFixed2.37.4-r0ALPINE-CVE-2022-0563
Alpine Linux 3.14util-linuxFixed2.37.4-r0ALPINE-CVE-2022-0563
Alpine Linux 3.13util-linuxFixed2.37.4-r0ALPINE-CVE-2022-0563
Alpine Linux 3.12util-linuxFixed2.37.4-r0ALPINE-CVE-2022-0563

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.