CVE-2022-0563
Published: 21 February 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.
Notes
Author | Note |
---|---|
alexmurray | In Ubuntu chfn and chsh are not built from the util-linux source package but instead from the passwd package so are not affected by this vulnerability. |
Priority
Status
Package | Release | Status |
---|---|---|
util-linux Launchpad, Ubuntu, Debian |
bionic |
Not vulnerable
(code not compiled)
|
focal |
Not vulnerable
(code not compiled)
|
|
impish |
Not vulnerable
(code not compiled)
|
|
trusty |
Not vulnerable
(code not compiled)
|
|
upstream |
Needs triage
|
|
xenial |
Not vulnerable
(code not compiled)
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 5.5 |
Attack vector | Local |
Attack complexity | Low |
Privileges required | Low |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | None |
Availability impact | None |
Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0563
- https://bugzilla.redhat.com/show_bug.cgi?id=2053151
- https://lore.kernel.org/util-linux/20220214110609.msiwlm457ngoic6w@ws.net.home/T/#u
- https://github.com/util-linux/util-linux/commit/faa5a3a83ad0cb5e2c303edbfd8cd823c9d94c17
- NVD
- Launchpad
- Debian