CVE-2023-4641
Shadow-maint Shadow-utils vulnerability
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.
Affected products
Shadow-utils, Codeready Linux Builder, Codeready Linux Builder For Arm64, Codeready Linux Builder For Ibm Z Systems, Codeready Linux Builder For Power Little Endian, Enterprise Linux, Enterprise Linux For Arm 64, Enterprise Linux For Ibm Z Systems, Enterprise Linux For Power Little Endian. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Shadow-maint Shadow-utils runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- access.redhat.com/errata/RHSA-2023:6632 · Third Party Advisory
- access.redhat.com/errata/RHSA-2023:7112 · Third Party Advisory
- access.redhat.com/security/cve/CVE-2023-4641 · Third Party Advisory
- access.redhat.com/errata/RHSA-2024:0417
- access.redhat.com/errata/RHSA-2024:2577
- bugzilla.redhat.com/show_bug.cgi?id=2215945
- lists.debian.org/debian-lts-announce/2025/04/msg00026.html
- nvd.nist.gov/vuln/detail/CVE-2023-4641
- cve.org/CVERecord?id=CVE-2023-4641
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.