QID 356145

Date Published: 2023-09-25

QID 356145: Amazon Linux Security Advisory for shadow-utils : ALAS2-2023-2247

A flaw was found in shadow-utils.
When asking for a new password, shadow-utils asks the password twice.
If the password fails on the second attempt, shadow-utils fails in cleaning the buffer used to store the first entry.
This may allow an attacker with enough access to retrieve the password from the memory. (
( CVE-2023-4641)



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 Critical - 8.6 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2-2023-2247 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 356145

    Software Advisories
    Advisory ID Software Component Link
    ALAS2-2023-2247 amazon linux 2 URL Logo alas.aws.amazon.com/AL2/ALAS-2023-2247.html