CVE-2022-0563
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | util-linux | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | util-linux | Fix pending | ||
| Ubuntu 14.04 | util-linux | Fix pending | ||
| Debian 14 | util-linux | Will 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 13 | util-linux | Will 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 12 | util-linux | Will 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 9 | libblkid | Not affected | ||
| Red Hat Enterprise Linux 9 | libblkid-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | libfdisk | Not affected | ||
| Red Hat Enterprise Linux 9 | libfdisk-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | libmount | Not affected | ||
| Red Hat Enterprise Linux 9 | libmount-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | libsmartcols | Not affected | ||
| Red Hat Enterprise Linux 9 | libsmartcols-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | libuuid | Not affected | ||
| Red Hat Enterprise Linux 9 | libuuid-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-libmount | Not affected | ||
| Red Hat Enterprise Linux 9 | util-linux | Not affected | ||
| Red Hat Enterprise Linux 9 | util-linux-core | Not affected | ||
| Red Hat Enterprise Linux 9 | util-linux-user | Not affected | ||
| Red Hat Enterprise Linux 9 | uuidd | Not affected | ||
| Red Hat Enterprise Linux 8 | libblkid | Not affected | ||
| Red Hat Enterprise Linux 8 | libblkid-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libfdisk | Not affected | ||
| Red Hat Enterprise Linux 8 | libfdisk-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libmount | Not affected | ||
| Red Hat Enterprise Linux 8 | libmount-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libsmartcols | Not affected | ||
| Red Hat Enterprise Linux 8 | libsmartcols-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libuuid | Not affected | ||
| Red Hat Enterprise Linux 8 | libuuid-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-libmount | Not affected | ||
| Red Hat Enterprise Linux 8 | util-linux | Not affected | ||
| Red Hat Enterprise Linux 8 | util-linux-user | Not affected | ||
| Red Hat Enterprise Linux 8 | uuidd | Not affected | ||
| Red Hat Enterprise Linux 7 | libblkid | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libblkid-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libmount | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libmount-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libuuid | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libuuid-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | util-linux | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | uuidd | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libblkid | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libblkid-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libuuid | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libuuid-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | util-linux-ng | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | uuidd | Will not fix Out of support scope | ||
| Alpine Linux 3.24 | util-linux | Fixed | 2.37.4-r0 | ALPINE-CVE-2022-0563 |
| Alpine Linux 3.23 | util-linux | Fixed | 2.37.4-r0 | ALPINE-CVE-2022-0563 |
| Alpine Linux 3.22 | util-linux | Fixed | 2.37.4-r0 | ALPINE-CVE-2022-0563 |
| Alpine Linux 3.21 | util-linux | Fixed | 2.37.4-r0 | ALPINE-CVE-2022-0563 |
| Alpine Linux 3.20 | util-linux | Fixed | 2.37.4-r0 | ALPINE-CVE-2022-0563 |
| Alpine Linux 3.19 | util-linux | Fixed | 2.37.4-r0 | ALPINE-CVE-2022-0563 |
| Alpine Linux 3.18 | util-linux | Fixed | 2.37.4-r0 | ALPINE-CVE-2022-0563 |
| Alpine Linux 3.17 | util-linux | Fixed | 2.37.4-r0 | ALPINE-CVE-2022-0563 |
| Alpine Linux 3.16 | util-linux | Fixed | 2.37.4-r0 | ALPINE-CVE-2022-0563 |
| Alpine Linux 3.15 | util-linux | Fixed | 2.37.4-r0 | ALPINE-CVE-2022-0563 |
| Alpine Linux 3.14 | util-linux | Fixed | 2.37.4-r0 | ALPINE-CVE-2022-0563 |
| Alpine Linux 3.13 | util-linux | Fixed | 2.37.4-r0 | ALPINE-CVE-2022-0563 |
| Alpine Linux 3.12 | util-linux | Fixed | 2.37.4-r0 | ALPINE-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.
- util-linux: affected: util-linux 2.37.4
Vendor advisories:
- https://security.gentoo.org/glsa/202401-08 (vendor-advisory)
References
- https://lore.kernel.org/util-linux/20220214110609.msiwlm457ngoic6w%40ws.net.home/T/#u
- https://security.netapp.com/advisory/ntap-20220331-0002/
- https://security.gentoo.org/glsa/202401-08
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.