QID 354120

Date Published: 2022-12-08

QID 354120: Amazon Linux Security Advisory for util-linux : ALAS2-2022-1901

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. (
( CVE-2022-0563)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Medium - 5.5 severity.
  • CVSS V2 rated as Low - 1.9 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2-2022-1901 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 354120

    Software Advisories
    Advisory ID Software Component Link
    ALAS2-2022-1901 Amazon Linux 2 URL Logo alas.aws.amazon.com/AL2/ALAS-2022-1901.html