CVE-2023-4641
Shadow-utils: possible password leak during passwd(1) change
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.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Affected products
shadow-utilsRed Hat · Red Hat Enterprise Linux 6Red Hat · Red Hat Enterprise Linux 7Red Hat · Red Hat Enterprise Linux 8Red Hat · Red Hat Enterprise Linux 8.6 Extended Update SupportRed Hat · Red Hat Enterprise Linux 8.8 Extended Update SupportRed Hat · Red Hat Enterprise Linux 9Want to know if your infrastructure is exposed to this?
Talk to TrueHacking →References
https://access.redhat.com/errata/RHSA-2023:6632https://access.redhat.com/errata/RHSA-2023:7112https://access.redhat.com/errata/RHSA-2024:0417https://access.redhat.com/errata/RHSA-2024:2577https://access.redhat.com/security/cve/CVE-2023-4641https://bugzilla.redhat.com/show_bug.cgi?id=2215945https://lists.debian.org/debian-lts-announce/2025/04/msg00026.html