CVE-2022-0563

Summary

CVECVE-2022-0563
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-02-21 19:15:08 UTC
Updated2026-10-14 13:17:14 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 5.5 MEDIUM from [email protected]

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

Problem Types: CWE-209 | CWE-209 CWE-209


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
3.1ADPDECLARED5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
2.0[email protected]Primary1.9AV:L/AC:M/Au:N/C:P/I:N/A:N

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
None
Availability
None

AV:L/AC:M/Au:N/C:P/I:N/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Kernel Util-linux All All All All
Application Netapp Ontap Select Deploy Administration Utility - All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na Util-linux affected util-linux 2.37.4 Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified

References

ReferenceSourceLinkTags
cert-portal.siemens.com/productcert/html/ssa-398330.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
[ANNOUNCE] util-linux v2.37.4 af854a3a-2127-422b-91ae-364da2661108 lore.kernel.org
CVE-2022-0563 Util-linux Vulnerability in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com Third Party Advisory
security.gentoo.org/glsa/202401-08 af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
[ANNOUNCE] util-linux v2.37.4 MITRE lore.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 282389 Fedora Security Update for util (FEDORA-2022-b7de97d0a9)
  • 354120 Amazon Linux Security Advisory for util-linux : ALAS2-2022-1901
  • 354387 Amazon Linux Security Advisory for util-linux : ALAS2022-2022-099
  • 354474 Amazon Linux Security Advisory for util-linux : ALAS2022-2022-218
  • 354581 Amazon Linux Security Advisory for util-linux : ALAS-2022-218
  • 355340 Amazon Linux Security Advisory for util-linux : ALAS2023-2023-024
  • 500714 Alpine Linux Security Update for util-linux
  • 504488 Alpine Linux Security Update for util-linux
  • 591406 Siemens SIMATIC S7-1500 CPU GNU/Linux subsystem Multiple Vulnerabilities (SSB-439005, ICSA-22-104-13)
  • 6140396 AWS Bottlerocket Security Update for util-linux (GHSA-mv4q-wq4c-5xmg)
  • 671582 EulerOS Security Update for util-linux (EulerOS-SA-2022-1590)
  • 671740 EulerOS Security Update for util-linux (EulerOS-SA-2022-1815)
  • 671742 EulerOS Security Update for util-linux (EulerOS-SA-2022-1798)
  • 671809 EulerOS Security Update for util-linux (EulerOS-SA-2022-1855)
  • 671823 EulerOS Security Update for util-linux (EulerOS-SA-2022-1879)
  • 710828 Gentoo Linux util-linux Multiple Vulnerabilities (GLSA 202401-08)
  • 900727 Common Base Linux Mariner (CBL-Mariner) Security Update for util-linux (8838)
  • 901326 Common Base Linux Mariner (CBL-Mariner) Security Update for util-linux (8838-1)
  • 901867 Common Base Linux Mariner (CBL-Mariner) Security Update for util-linux (8841)
  • 902247 Common Base Linux Mariner (CBL-Mariner) Security Update for util-linux (8841-1)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report