---
id: CVE-2022-0563
title: >-
  A flaw was found in the util-linux chfn and chsh utilities when compiled with
  Readline support
summary: >-
  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
  speci…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-209
  - CWE-209
vendor: kernel
product: util-linux
affected:
  - util-linux < 2.37.4
  - ontap_select_deploy_administration_utility
patched:
  - util-linux 2.37.4
published: '2022-02-21'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T13:17:14.167'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-0563'
references:
  - url: >-
      https://lore.kernel.org/util-linux/20220214110609.msiwlm457ngoic6w%40ws.net.home/T/#u
    label: secalert@redhat.com
  - url: 'https://security.gentoo.org/glsa/202401-08'
    label: secalert@redhat.com
  - url: 'https://security.netapp.com/advisory/ntap-20220331-0002/'
    label: secalert@redhat.com
  - url: >-
      https://lore.kernel.org/util-linux/20220214110609.msiwlm457ngoic6w%40ws.net.home/T/#u
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.gentoo.org/glsa/202401-08'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20220331-0002/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
epss: 0.0043
epssPercentile: 0.35498
ingestedAt: '2026-10-14T13:30:58.409Z'
---

## Overview

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.

## Affected

- `util-linux < 2.37.4`
- `ontap_select_deploy_administration_utility`

## Remediation

Upgrade past the affected range:

- `util-linux 2.37.4`
