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.

Published: 2022-02-21 Last update: 2025-06-09 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-0563 is rated Low Risk (34.4/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.43%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2022-0563

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.02% 0.43% +0.41%
2 2025-11-21 0.09% 0.02% -0.07%
3 2025-11-18 0.09%

Full EPSS history (5 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-0563

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.5 3.1 MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
1.8 3.6 [email protected]
5.5 3.1 MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
1.8 3.6 134c704f-9b21-4f2e-91b3-4a467353bcc0
1.9 2.0 LOW
AV:L/AC:M/Au:N/C:P/I:N/A:N Click to expand
Access vector (AV:L)
Requires local access to the target system.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:N)
No availability impact.
3.4 2.9 [email protected]

Weakness enumeration for CVE-2022-0563

OS Trackers for CVE-2022-0563

vendor priority summary link
alpine CVE-2022-0563: 1 source package rows (util-linux); 18 state rows across 8 repos (3.12-main, 3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 8, open 10. https://security.alpinelinux.org/vuln/CVE-2022-0563
debian unimportant CVE-2022-0563 unimportant priority: Debian including 1 source packages (util-linux), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 5. https://security-tracker.debian.org/tracker/CVE-2022-0563
gentoo normal CVE-2022-0563: 1 GLSA(s) (202401-08), 1 atom(s) (sys-apps/util-linux); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-0563
redhat medium https://access.redhat.com/security/cve/CVE-2022-0563
suse medium CVE-2022-0563 severity moderate: SUSE including 145 source package names (lastlog2-2.40.1-slfo.1.1_1.2, lastlog2-2.41.1-160000.2.2, …), 569 product×package rows across 55 product lines (HPE Helion OpenStack 8, SUSE CaaS Platform 4.0, … (55 product lines)): Known Not Affected 437, Fixed 132. https://www.suse.com/security/cve/CVE-2022-0563/
ubuntu medium CVE-2022-0563 medium priority: Ubuntu including 1 source packages (util-linux), 6 status rows across 6 suites (bionic, focal, impish, trusty, upstream, xenial): not-affected 5, needs-triage 1. https://ubuntu.com/security/CVE-2022-0563

Affected software / configurations for CVE-2022-0563

Vendor Product Version Raw CPE
kernel util-linux < 2.37.4 cpe:2.3:a:kernel:util-linux:*:*:*:*:*:*:*:*
netapp ontap_select_deploy_administration_utility cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*

References for CVE-2022-0563

cvelogic Threat Intelligence