VDB

CVE-2022-0563

CVE-2022-0563 PUBLISHED CVSS 5.5 MEDIUM

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.

PackageEcosystemFixed in
python-libmountAmazon Linux2.30.2-2.amzn2.0.10
libblkidAmazon Linux2.37.4-1.amzn2023.0.3
libfdiskAmazon Linux2.37.4-1.amzn2023.0.3
util-linux-userAmazon Linux2.37.4-1.amzn2023.0.3
util-linuxAmazon Linux2.37.4-1.amzn2023.0.3
libfdisk-develAmazon Linux2.37.4-1.amzn2023.0.3
uuiddAmazon Linux2.30.2-2.amzn2.0.10
libsmartcols-develAmazon Linux2.30.2-2.amzn2.0.10
libblkid-develAmazon Linux2.30.2-2.amzn2.0.10

Risk scores

CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected products

VendorProductVersions
n/autil-linuxutil-linux 2.37.4
amazon:2python-libmount0
amazon:2023libblkid0
amazon:2023libfdisk0
amazon:2023util-linux-user0
amazon:2023util-linux0
amazon:2023libfdisk-devel0
amazon:2uuidd0
amazon:2libsmartcols-devel0
amazon:2libblkid-devel0
n/autil-linux2.37.4
amazon:2libsmartcols0
amazon:2libuuid-devel0
amazon:2023libsmartcols-devel0
amazon:2libmount0
amazon:2libfdisk-devel0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2util-linux-user0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
amazon:2023libuuid-devel0

…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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›