CVE-2023-4641
Shadow-utils: possible password leak during passwd(1) change
CVSS Score
4.7
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-303 |
| Published | Dec 27, 2023 |
| Last Updated | Nov 3, 2025 |
Stay Ahead of the Next One
Get instant alerts for
Be the first to know when new medium vulnerabilities are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Affected Versions
Red Hat / Red Hat Enterprise Linux 8
All versions affected Red Hat / Red Hat Enterprise Linux 8.6 Extended Update Support
All versions affected Red Hat / Red Hat Enterprise Linux 8.8 Extended Update Support
All versions affected Red Hat / Red Hat Enterprise Linux 9
All versions affected Red Hat / Red Hat Enterprise Linux 6
All versions affected Red Hat / Red Hat Enterprise Linux 7
All versions affected References
access.redhat.com: https://access.redhat.com/errata/RHSA-2023:6632 access.redhat.com: https://access.redhat.com/errata/RHSA-2023:7112 access.redhat.com: https://access.redhat.com/errata/RHSA-2024:0417 access.redhat.com: https://access.redhat.com/errata/RHSA-2024:2577 access.redhat.com: https://access.redhat.com/security/cve/CVE-2023-4641 bugzilla.redhat.com: https://bugzilla.redhat.com/show_bug.cgi?id=2215945 lists.debian.org: https://lists.debian.org/debian-lts-announce/2025/04/msg00026.html