Skip to content

util-linux CVE-2022-0563

Moderate
webern published GHSA-mv4q-wq4c-5xmg Mar 30, 2022

Package

util-linux (bottlerocket)

Affected versions

< 1.7.0

Patched versions

1.7.0

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.

Bottlerocket does not compile util-linux with Readline support.

Severity

Moderate

CVE ID

CVE-2022-0563

Weaknesses

No CWEs