CVE-2022-0563
Util-linux Readline Environment Variable File Disclosure
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.
INFO
Published Date :
Feb. 21, 2022, 7:15 p.m.
Last Modified :
Jan. 7, 2024, 9:15 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
Public PoC/Exploit Available at Github
CVE-2022-0563 has a 14 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2022-0563
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-0563
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Dockerfile Roff Java
None
Dockerfile Python
None
Python Dockerfile
None
Dockerfile Go
None
HCL
ENSF 400 - Software Engineering Industry Practices and Communication - Lab 10 - Software Supply Chain
ensf400 ucalgary
None
asp-net-core csharp docker dockerfile javascript react webapi docker-compose
C# Dockerfile HTML JavaScript CSS
image docker à partir de l'api rust
Rust Makefile Dockerfile
None
TypeScript
None
TypeScript
Terraform AWS demo using EKS
Dockerfile HCL HTML
Use SQL to instantly query advisories, vulnerabilities, packages, findings and more using Trivy. Open source CLI. No DB required.
postgresql sql steampipe steampipe-plugin trivy hacktoberfest postgresql-fdw backup etl sqlite zero-etl
Makefile PLSQL Go
None
HCL Smarty
Kubernetes CKS Exam Preparation
kubernetes cks-exam-preparation training-materials
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-0563
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-0563
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Jan. 07, 2024
Action Type Old Value New Value Added Reference Red Hat, Inc. https://security.gentoo.org/glsa/202401-08 [No types assigned] -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference Red Hat, Inc. https://lore.kernel.org/util-linux/20220214110609.msiwlm457ngoic6w%40ws.net.home/T/#u [No types assigned] Removed Reference Red Hat, Inc. https://lore.kernel.org/util-linux/[email protected]/T/#u -
Modified Analysis by [email protected]
Jun. 03, 2022
Action Type Old Value New Value Changed Reference Type https://security.netapp.com/advisory/ntap-20220331-0002/ No Types Assigned https://security.netapp.com/advisory/ntap-20220331-0002/ Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Mar. 31, 2022
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20220331-0002/ [No Types Assigned] -
Initial Analysis by [email protected]
Mar. 07, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:L/AC:M/Au:N/C:P/I:N/A:N) Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Changed Reference Type https://lore.kernel.org/util-linux/[email protected]/T/#u No Types Assigned https://lore.kernel.org/util-linux/[email protected]/T/#u Mailing List, Patch, Vendor Advisory Added CWE NIST CWE-209 Added CPE Configuration OR *cpe:2.3:a:kernel:util-linux:*:*:*:*:*:*:*:* versions up to (excluding) 2.37.4 -
CVE Modified by [email protected]
Feb. 21, 2022
Action Type Old Value New Value Changed Description A flaw was found in the Linux kernel’s 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. 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.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-0563
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-0563
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.05 }} 0.00%
score
0.14051
percentile