CVE-2023-4641
CVE-2023-4641 · Shadow-utils: possible password leak during passwd(1) change
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 4.7 · Medium · EPSS 0.3% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
red hat enterprise linux 8
- Versions
- ≥ 2:4.6-19.el8: Not affected (rpm)
No fix published
red hat enterprise linux 8.6 extended update support
- Versions
- ≥ 2:4.6-17.el8_6: Not affected (rpm)
No fix published
red hat enterprise linux 8.8 extended update support
- Versions
- ≥ 2:4.6-17.el8_8.2: Not affected (rpm)
No fix published
red hat enterprise linux 9
- Versions
- ≥ 2:4.9-8.el9: Not affected (rpm)
No fix published
red hat enterprise linux 6
No fix published
red hat enterprise linux 7
No fix published
shadow Debian:12
- Versions
- 1:4.13+dfsg1-1
- Affected ranges
- ECOSYSTEM: < 1:4.13+dfsg1-1+deb12u1
Update to 1:4.13+dfsg1-1+deb12u1
shadow Debian:13
- Affected ranges
- ECOSYSTEM: < 1:4.13+dfsg1-2
Update to 1:4.13+dfsg1-2
shadow Debian:14
- Affected ranges
- ECOSYSTEM: < 1:4.13+dfsg1-2
Update to 1:4.13+dfsg1-2
shadow Ubuntu:Pro:14.04:LTS
- Versions
- 1:4.1.5.1-1ubuntu6
- 1:4.1.5.1-1ubuntu7
- 1:4.1.5.1-1ubuntu8
- 1:4.1.5.1-1ubuntu9
- 1:4.1.5.1-1ubuntu9.1
- 1:4.1.5.1-1ubuntu9.2
- 1:4.1.5.1-1ubuntu9.4
- 1:4.1.5.1-1ubuntu9.5
- 1:4.1.5.1-1ubuntu9.5+esm1
- 1:4.1.5.1-1ubuntu9.5+esm2
- 1:4.1.5.1-1ubuntu9.5+esm3
- Affected ranges
- ECOSYSTEM: < 1:4.1.5.1-1ubuntu9.5+esm4
Update to 1:4.1.5.1-1ubuntu9.5+esm4
shadow Ubuntu:Pro:16.04:LTS
- Versions
- 1:4.1.5.1-1.1ubuntu7
- 1:4.2-3.1ubuntu1
- 1:4.2-3.1ubuntu2
- 1:4.2-3.1ubuntu3
- 1:4.2-3.1ubuntu4
- 1:4.2-3.1ubuntu5
- 1:4.2-3.1ubuntu5.2
- 1:4.2-3.1ubuntu5.3
- 1:4.2-3.1ubuntu5.4
- 1:4.2-3.1ubuntu5.5+esm1
- 1:4.2-3.1ubuntu5.5+esm2
- 1:4.2-3.1ubuntu5.5+esm3
- Affected ranges
- ECOSYSTEM: < 1:4.2-3.1ubuntu5.5+esm4
Update to 1:4.2-3.1ubuntu5.5+esm4
shadow Ubuntu:Pro:18.04:LTS
- Versions
- 1:4.2-3.2ubuntu4
- 1:4.5-1ubuntu1
- 1:4.5-1ubuntu2
- 1:4.5-1ubuntu2.2
- 1:4.5-1ubuntu2.3
- 1:4.5-1ubuntu2.4
- 1:4.5-1ubuntu2.5
- Affected ranges
- ECOSYSTEM: < 1:4.5-1ubuntu2.5+esm1
Update to 1:4.5-1ubuntu2.5+esm1
shadow Ubuntu:20.04:LTS
- Versions
- 1:4.5-1.1ubuntu4
- 1:4.8-1ubuntu1
- 1:4.8.1-1ubuntu1
- 1:4.8.1-1ubuntu2
- 1:4.8.1-1ubuntu3
- 1:4.8.1-1ubuntu4
- 1:4.8.1-1ubuntu5
- 1:4.8.1-1ubuntu5.20.04
- 1:4.8.1-1ubuntu5.20.04.1
- 1:4.8.1-1ubuntu5.20.04.2
- 1:4.8.1-1ubuntu5.20.04.3
- 1:4.8.1-1ubuntu5.20.04.4
- Affected ranges
- ECOSYSTEM: < 1:4.8.1-1ubuntu5.20.04.5
Update to 1:4.8.1-1ubuntu5.20.04.5
shadow Ubuntu:22.04:LTS
- Versions
- 1:4.8.1-1ubuntu9
- 1:4.8.1-1ubuntu10
- 1:4.8.1-2ubuntu1
- 1:4.8.1-2ubuntu2
- 1:4.8.1-2ubuntu2.1
- Affected ranges
- ECOSYSTEM: < 1:4.8.1-2ubuntu2.2
Update to 1:4.8.1-2ubuntu2.2
Original sources
- https://access.redhat.com/errata/RHSA-2023:6632
- https://access.redhat.com/errata/RHSA-2023:7112
- https://access.redhat.com/errata/RHSA-2024:0417
- https://access.redhat.com/errata/RHSA-2024:2577
- https://access.redhat.com/security/cve/CVE-2023-4641
- https://bugzilla.redhat.com/show_bug.cgi?id=2215945
- https://lists.debian.org/debian-lts-announce/2025/04/msg00026.html
- https://nvd.nist.gov/vuln/detail/CVE-2023-4641