IM
IronMonkey Threat Research

CVE-2022-0563 MEDIUM

Published: 2022-02-21 | Last Modified: 2025-06-09 | Status: Modified

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.

Additional Descriptions (1)

Se ha encontrado un fallo en las utilidades chfn y chsh del kernel de Linux cuando son compiladas con soporte para Readline. La biblioteca Readline usa una variable de entorno "INPUTRC" para conseguir una ruta al archivo de configuración de la biblioteca. Cuando la biblioteca no puede analizar el archivo especificado, imprime un mensaje de error que contiene datos del archivo. Este fallo permite a un usuario no privilegiado leer archivos propiedad de root, conllevando potencialmente a una escalada de privilegios. Este fallo afecta a util-linux versiones anteriores a 2.37.4

CVSS Metrics

Base Score: 5.5 (MEDIUM)

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

Attack VectorLOCAL
Attack ComplexityLOW
Privileges RequiredLOW
User InteractionNONE
ScopeUNCHANGED
Confidentiality ImpactHIGH
Integrity ImpactNONE
Availability ImpactNONE

Source: [email protected]

Type: Primary

Exploitability Score: 1.8

Impact Score: 3.6

Base Score: 1.9 (LOW)

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

Access VectorLOCAL
Access ComplexityMEDIUM
AuthenticationNONE
Confidentiality ImpactPARTIAL
Integrity ImpactNONE
Availability ImpactNONE

Source: [email protected]

Type: Primary

Exploitability Score: 3.4

Impact Score: 2.9

Weaknesses

Source Type Description
[email protected] Secondary
en CWE-209
[email protected] Primary
en CWE-209

Affected Products

Vendor Product Version Update Type
kernel util-linux * <built-in method update of dict object at 0x7fd2dbc6b600> Application
netapp ontap_select_deploy_administration_utility - <built-in method update of dict object at 0x7fd36859f700> Application

Affected Configurations

Operator: OR

Vulnerable CPE
Yes cpe:2.3:a:kernel:util-linux:*:*:*:*:*:*:*:*

Operator: OR

Vulnerable CPE
Yes cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*