CVE-2022-0563
Reported by redhat · Published February 21, 2022
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python-libmount | Amazon Linux | 2.30.2-2.amzn2.0.10 |
| libblkid | Amazon Linux | 2.37.4-1.amzn2023.0.3 |
| libfdisk | Amazon Linux | 2.37.4-1.amzn2023.0.3 |
| util-linux-user | Amazon Linux | 2.37.4-1.amzn2023.0.3 |
| util-linux | Amazon Linux | 2.37.4-1.amzn2023.0.3 |
| libfdisk-devel | Amazon Linux | 2.37.4-1.amzn2023.0.3 |
| uuidd | Amazon Linux | 2.30.2-2.amzn2.0.10 |
| libsmartcols-devel | Amazon Linux | 2.30.2-2.amzn2.0.10 |
| libblkid-devel | Amazon Linux | 2.30.2-2.amzn2.0.10 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | util-linux | util-linux 2.37.4 |
| amazon:2 | python-libmount | 0 |
| amazon:2023 | libblkid | 0 |
| amazon:2023 | libfdisk | 0 |
| amazon:2023 | util-linux-user | 0 |
| amazon:2023 | util-linux | 0 |
| amazon:2023 | libfdisk-devel | 0 |
| amazon:2 | uuidd | 0 |
| amazon:2 | libsmartcols-devel | 0 |
| amazon:2 | libblkid-devel | 0 |
| n/a | util-linux | 2.37.4 |
| amazon:2 | libsmartcols | 0 |
| amazon:2 | libuuid-devel | 0 |
| amazon:2023 | libsmartcols-devel | 0 |
| amazon:2 | libmount | 0 |
| amazon:2 | libfdisk-devel | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2 | util-linux-user | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| amazon:2023 | libuuid-devel | 0 |
…and 15 more
Timeline
- Feb 21, 2022 CVE Published
- Feb 22, 2022 EPSS Score (30 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Jun 1, 2026 Security Advisory (2 in total, the first dated here)
- Jun 17, 2026 CVE Updated
- Jul 12, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-0563
vulnetix vdb fixes CVE-2022-0563
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-0563/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- GLSA-202401-08 vendor-advisory
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html url