CVE-2022-0563

Medium

Description

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductKernel Util-linux
PublishedFeb 21, 2022
First seenFeb 21, 2022
Weakness typeCWE-209CWE-209

How to fix

Update
  • kernel util-linux2.37.4 or later

Affected products

ProductAffected versionsFixed in
kernel util-linuxv < 2.37.42.37.4
netapp ontap_select_deploy_administration_utilityNo range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.