5.5
MEDIUM
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.

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2022-0563 has a 15 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.

ID Vendor Product Action
1 Netapp ontap_select_deploy_administration_utility
1 Kernel util-linux
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.

URL Resource
https://lore.kernel.org/util-linux/20220214110609.msiwlm457ngoic6w%40ws.net.home/T/#u
https://security.gentoo.org/glsa/202401-08
https://security.netapp.com/advisory/ntap-20220331-0002/ Third Party Advisory

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).

Задание по DevSecOps второе задание

Updated: 2 weeks, 2 days ago
0 stars 0 fork 0 watcher
Born at : Nov. 5, 2024, 8:20 p.m. This repo has been linked 92 different CVEs too.

None

Dockerfile Roff Java

Updated: 1 month, 1 week ago
0 stars 0 fork 0 watcher
Born at : Oct. 7, 2024, 8:52 a.m. This repo has been linked 127 different CVEs too.

None

Dockerfile Python

Updated: 1 month, 1 week ago
0 stars 0 fork 0 watcher
Born at : Oct. 5, 2024, 4:56 p.m. This repo has been linked 67 different CVEs too.

None

Python Dockerfile

Updated: 5 months ago
0 stars 0 fork 0 watcher
Born at : June 18, 2024, 5:19 p.m. This repo has been linked 6 different CVEs too.

None

Dockerfile Go

Updated: 5 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : May 29, 2024, 6:54 p.m. This repo has been linked 78 different CVEs too.

None

HCL

Updated: 6 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : April 30, 2024, 7:53 p.m. This repo has been linked 54 different CVEs too.

ENSF 400 - Software Engineering Industry Practices and Communication - Lab 10 - Software Supply Chain

ensf400 ucalgary

Updated: 7 months, 2 weeks ago
0 stars 30 fork 30 watcher
Born at : March 25, 2024, 4:03 p.m. This repo has been linked 2 different CVEs too.

None

asp-net-core csharp docker dockerfile javascript react webapi docker-compose

C# Dockerfile HTML JavaScript CSS

Updated: 7 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Feb. 22, 2024, 6:42 p.m. This repo has been linked 383 different CVEs too.

image docker à partir de l'api rust

Rust Makefile Dockerfile

Updated: 1 year, 1 month ago
0 stars 0 fork 0 watcher
Born at : Oct. 12, 2023, 12:20 p.m. This repo has been linked 16 different CVEs too.

None

TypeScript

Updated: 1 year, 1 month ago
0 stars 0 fork 0 watcher
Born at : Oct. 10, 2023, 12:35 p.m. This repo has been linked 16 different CVEs too.

None

TypeScript

Updated: 1 year, 11 months ago
0 stars 0 fork 0 watcher
Born at : Dec. 6, 2022, 12:43 p.m. This repo has been linked 43 different CVEs too.

Terraform AWS demo using EKS

Dockerfile HCL HTML

Updated: 2 years, 1 month ago
0 stars 0 fork 0 watcher
Born at : Oct. 14, 2022, 8:35 a.m. This repo has been linked 7 different CVEs too.

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

Updated: 4 months, 1 week ago
9 stars 0 fork 0 watcher
Born at : July 4, 2022, 10:16 a.m. This repo has been linked 11 different CVEs too.

None

HCL Smarty

Updated: 2 years, 9 months ago
0 stars 0 fork 0 watcher
Born at : Sept. 26, 2021, 4:49 p.m. This repo has been linked 3 different CVEs too.

Kubernetes CKS Exam Preparation

kubernetes cks-exam-preparation training-materials

Updated: 3 months, 3 weeks ago
2 stars 4 fork 4 watcher
Born at : July 28, 2021, 8:18 p.m. This repo has been linked 2 different CVEs too.

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.
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
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

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability