CVE-2023-4641
published medium CVSS 3.1 · 4.7Shadow-utils: possible password leak during passwd(1) change
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | shadow-utils4.14.0-rc1 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 8 | shadow-utils2:4.6-19.el8 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | shadow-utilsRed Hat Enterprise Linux 8.6 Extended Update Support · 2:4.6-17.el8_6 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | shadow-utilsRed Hat Enterprise Linux 8.8 Extended Update Support · 2:4.6-17.el8_8.2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-2247 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-450 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | shadow-utils | Advisory build | 2:4.6-19.el8 | ALSA-2023:7112 |
| Oracle Linux | 8 | shadow-utilsaarch64 | Advisory build | 2:4.6-19.el8 | ELSA-2023-7112 |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 9 | shadow-utils2:4.9-8.el9 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 6, 7 | shadow-utils | Unknown | Not stated | redhat |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utilsaarch64 | Advisory build | 2:4.6-17.el8_6 | RHSA-2024:0417 |
| Debian | bullseye | shadow | Advisory build | 1:4.8.1-1+deb11u1 | DLA-4130-1 |
| AlmaLinux | 9 | shadow-utils | Advisory build | 2:4.9-8.el9 | ALSA-2023:6632 |
| Oracle Linux | 8 | shadow-utilsx86_64 | Advisory build | 2:4.6-19.el8 | ELSA-2023-7112 |
| Oracle Linux | 9 | shadow-utilsaarch64 | Advisory build | 2:4.9-8.el9 | ELSA-2023-6632 |
| Oracle Linux | 9 | shadow-utilsx86_64 | Advisory build | 2:4.9-8.el9 | ELSA-2023-6632 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utilsaarch64 | Advisory build | 2:4.6-17.el8_8.2 | RHSA-2024:2577 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utilsaarch64 | Advisory build | 2:4.6-19.el8 | RHSA-2023:7112 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utilsppc64le | Advisory build | 2:4.6-17.el8_6 | RHSA-2024:0417 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utilsppc64le | Advisory build | 2:4.6-17.el8_8.2 | RHSA-2024:2577 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utilsppc64le | Advisory build | 2:4.6-19.el8 | RHSA-2023:7112 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utilss390x | Advisory build | 2:4.6-17.el8_6 | RHSA-2024:0417 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utilss390x | Advisory build | 2:4.6-17.el8_8.2 | RHSA-2024:2577 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utilss390x | Advisory build | 2:4.6-19.el8 | RHSA-2023:7112 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utilssrc | Advisory build | 2:4.6-17.el8_6 | RHSA-2024:0417 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utilssrc | Advisory build | 2:4.6-17.el8_8.2 | RHSA-2024:2577 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utilssrc | Advisory build | 2:4.6-19.el8 | RHSA-2023:7112 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utilsx86_64 | Advisory build | 2:4.6-17.el8_6 | RHSA-2024:0417 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utilsx86_64 | Advisory build | 2:4.6-17.el8_8.2 | RHSA-2024:2577 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utilsx86_64 | Advisory build | 2:4.6-19.el8 | RHSA-2023:7112 |
| Red Hat Enterprise Linux | RHEL-9 | shadow-utilsaarch64 | Advisory build | 2:4.9-8.el9 | RHSA-2023:6632 |
| Red Hat Enterprise Linux | RHEL-9 | shadow-utilsppc64le | Advisory build | 2:4.9-8.el9 | RHSA-2023:6632 |
| Red Hat Enterprise Linux | RHEL-9 | shadow-utilss390x | Advisory build | 2:4.9-8.el9 | RHSA-2023:6632 |
| Red Hat Enterprise Linux | RHEL-9 | shadow-utilssrc | Advisory build | 2:4.9-8.el9 | RHSA-2023:6632 |
| Red Hat Enterprise Linux | RHEL-9 | shadow-utilsx86_64 | Advisory build | 2:4.9-8.el9 | RHSA-2023:6632 |
| AlmaLinux | 8 | shadow-utils-subid | Advisory build | 2:4.6-19.el8 | ALSA-2023:7112 |
| AlmaLinux | 8 | shadow-utils-subid-devel | Advisory build | 2:4.6-19.el8 | ALSA-2023:7112 |
| AlmaLinux | 9 | shadow-utils-subid | Advisory build | 2:4.9-8.el9 | ALSA-2023:6632 |
| AlmaLinux | 9 | shadow-utils-subid-devel | Advisory build | 2:4.9-8.el9 | ALSA-2023:6632 |
| Oracle Linux | 8 | shadow-utils-subidaarch64 | Advisory build | 2:4.6-19.el8 | ELSA-2023-7112 |
| Oracle Linux | 8 | shadow-utils-subidx86_64 | Advisory build | 2:4.6-19.el8 | ELSA-2023-7112 |
| Oracle Linux | 8 | shadow-utils-subid-develaarch64 | Advisory build | 2:4.6-19.el8 | ELSA-2023-7112 |
| Oracle Linux | 8 | shadow-utils-subid-develx86_64 | Advisory build | 2:4.6-19.el8 | ELSA-2023-7112 |
| Oracle Linux | 9 | shadow-utils-subidaarch64 | Advisory build | 2:4.9-8.el9 | ELSA-2023-6632 |
| Oracle Linux | 9 | shadow-utils-subidx86_64 | Advisory build | 2:4.9-8.el9 | ELSA-2023-6632 |
| Oracle Linux | 9 | shadow-utils-subid-develaarch64 | Advisory build | 2:4.9-8.el9 | ELSA-2023-6632 |
| Oracle Linux | 9 | shadow-utils-subid-develx86_64 | Advisory build | 2:4.9-8.el9 | ELSA-2023-6632 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debuginfoaarch64 | Advisory build | 2:4.6-17.el8_6 | RHSA-2024:0417 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debuginfoaarch64 | Advisory build | 2:4.6-17.el8_8.2 | RHSA-2024:2577 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debuginfoaarch64 | Advisory build | 2:4.6-19.el8 | RHSA-2023:7112 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debuginfoi686 | Advisory build | 2:4.6-17.el8_6 | RHSA-2024:0417 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debuginfoi686 | Advisory build | 2:4.6-17.el8_8.2 | RHSA-2024:2577 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debuginfoi686 | Advisory build | 2:4.6-19.el8 | RHSA-2023:7112 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debuginfoppc64le | Advisory build | 2:4.6-17.el8_6 | RHSA-2024:0417 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debuginfoppc64le | Advisory build | 2:4.6-17.el8_8.2 | RHSA-2024:2577 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debuginfoppc64le | Advisory build | 2:4.6-19.el8 | RHSA-2023:7112 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debuginfos390x | Advisory build | 2:4.6-17.el8_6 | RHSA-2024:0417 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debuginfos390x | Advisory build | 2:4.6-17.el8_8.2 | RHSA-2024:2577 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debuginfos390x | Advisory build | 2:4.6-19.el8 | RHSA-2023:7112 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debuginfox86_64 | Advisory build | 2:4.6-17.el8_6 | RHSA-2024:0417 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debuginfox86_64 | Advisory build | 2:4.6-17.el8_8.2 | RHSA-2024:2577 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debuginfox86_64 | Advisory build | 2:4.6-19.el8 | RHSA-2023:7112 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debugsourceaarch64 | Advisory build | 2:4.6-17.el8_6 | RHSA-2024:0417 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debugsourceaarch64 | Advisory build | 2:4.6-17.el8_8.2 | RHSA-2024:2577 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debugsourceaarch64 | Advisory build | 2:4.6-19.el8 | RHSA-2023:7112 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debugsourcei686 | Advisory build | 2:4.6-17.el8_6 | RHSA-2024:0417 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debugsourcei686 | Advisory build | 2:4.6-17.el8_8.2 | RHSA-2024:2577 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debugsourcei686 | Advisory build | 2:4.6-19.el8 | RHSA-2023:7112 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debugsourceppc64le | Advisory build | 2:4.6-17.el8_6 | RHSA-2024:0417 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debugsourceppc64le | Advisory build | 2:4.6-17.el8_8.2 | RHSA-2024:2577 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debugsourceppc64le | Advisory build | 2:4.6-19.el8 | RHSA-2023:7112 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debugsources390x | Advisory build | 2:4.6-17.el8_6 | RHSA-2024:0417 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debugsources390x | Advisory build | 2:4.6-17.el8_8.2 | RHSA-2024:2577 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debugsources390x | Advisory build | 2:4.6-19.el8 | RHSA-2023:7112 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debugsourcex86_64 | Advisory build | 2:4.6-17.el8_6 | RHSA-2024:0417 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debugsourcex86_64 | Advisory build | 2:4.6-17.el8_8.2 | RHSA-2024:2577 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-debugsourcex86_64 | Advisory build | 2:4.6-19.el8 | RHSA-2023:7112 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subidaarch64 | Advisory build | 2:4.6-17.el8_6 | RHSA-2024:0417 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subidaarch64 | Advisory build | 2:4.6-17.el8_8.2 | RHSA-2024:2577 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subidaarch64 | Advisory build | 2:4.6-19.el8 | RHSA-2023:7112 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subidi686 | Advisory build | 2:4.6-17.el8_6 | RHSA-2024:0417 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subidi686 | Advisory build | 2:4.6-17.el8_8.2 | RHSA-2024:2577 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subidi686 | Advisory build | 2:4.6-19.el8 | RHSA-2023:7112 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subidppc64le | Advisory build | 2:4.6-17.el8_6 | RHSA-2024:0417 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subidppc64le | Advisory build | 2:4.6-17.el8_8.2 | RHSA-2024:2577 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subidppc64le | Advisory build | 2:4.6-19.el8 | RHSA-2023:7112 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subids390x | Advisory build | 2:4.6-17.el8_6 | RHSA-2024:0417 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subids390x | Advisory build | 2:4.6-17.el8_8.2 | RHSA-2024:2577 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subids390x | Advisory build | 2:4.6-19.el8 | RHSA-2023:7112 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subidx86_64 | Advisory build | 2:4.6-17.el8_6 | RHSA-2024:0417 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subidx86_64 | Advisory build | 2:4.6-17.el8_8.2 | RHSA-2024:2577 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subidx86_64 | Advisory build | 2:4.6-19.el8 | RHSA-2023:7112 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subid-debuginfoaarch64 | Advisory build | 2:4.6-17.el8_6 | RHSA-2024:0417 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subid-debuginfoaarch64 | Advisory build | 2:4.6-17.el8_8.2 | RHSA-2024:2577 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subid-debuginfoaarch64 | Advisory build | 2:4.6-19.el8 | RHSA-2023:7112 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subid-debuginfoi686 | Advisory build | 2:4.6-17.el8_6 | RHSA-2024:0417 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subid-debuginfoi686 | Advisory build | 2:4.6-17.el8_8.2 | RHSA-2024:2577 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subid-debuginfoi686 | Advisory build | 2:4.6-19.el8 | RHSA-2023:7112 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subid-debuginfoppc64le | Advisory build | 2:4.6-17.el8_6 | RHSA-2024:0417 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subid-debuginfoppc64le | Advisory build | 2:4.6-17.el8_8.2 | RHSA-2024:2577 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subid-debuginfoppc64le | Advisory build | 2:4.6-19.el8 | RHSA-2023:7112 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subid-debuginfos390x | Advisory build | 2:4.6-17.el8_6 | RHSA-2024:0417 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subid-debuginfos390x | Advisory build | 2:4.6-17.el8_8.2 | RHSA-2024:2577 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subid-debuginfos390x | Advisory build | 2:4.6-19.el8 | RHSA-2023:7112 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subid-debuginfox86_64 | Advisory build | 2:4.6-17.el8_6 | RHSA-2024:0417 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subid-debuginfox86_64 | Advisory build | 2:4.6-17.el8_8.2 | RHSA-2024:2577 |
| Red Hat Enterprise Linux | RHEL-8 | shadow-utils-subid-debuginfox86_64 | Advisory build | 2:4.6-19.el8 | RHSA-2023:7112 |
| Red Hat Enterprise Linux | RHEL-9 | shadow-utils-debuginfoaarch64 | Advisory build | 2:4.9-8.el9 | RHSA-2023:6632 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.7 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| shadow-utils | 4.14.0-rc1 and later (unaffected · semver)Default: affected | redhat · cna | |
| Red Hat | Red Hat Enterprise Linux 8 | 2:4.6-19.el8 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support | 2:4.6-17.el8_6 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | 2:4.6-17.el8_8.2 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 2:4.9-8.el9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unknown | redhat · cna |
Weaknesses
1- CWE-303 Incorrect Implementation of Authentication Algorithm
References
7- RHSA-2023:6632 https://access.redhat.com/errata/RHSA-2023:6632
- RHSA-2023:7112 https://access.redhat.com/errata/RHSA-2023:7112
- RHSA-2024:0417 https://access.redhat.com/errata/RHSA-2024:0417
- RHSA-2024:2577 https://access.redhat.com/errata/RHSA-2024:2577
- https://access.redhat.com/security/cve/CVE-2023-4641
- RHBZ#2215945 https://bugzilla.redhat.com/show_bug.cgi?id=2215945
- https://lists.debian.org/debian-lts-announce/2025/04/msg00026.html
Provider assertions
3redhat · cna
Shadow-utils: possible password leak during passwd(1) change
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ba9365dffc4b12d79e7e8eb97df265070dda9e72cb3735a46d499217c16d5dbd
- Ingested
- 23 Sep 2026, 08:13:47 UTC
- Source record
- Official CVE record