CVE catalog

CVE-2023-4641

shadow: CVE-2023-4641

[CVE catalog]

Severity
Medium · CVSS 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.26% · Oct 27, 2026

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. shadow-utils: possible password leak during passwd(1) change This vulnerability is classified as low severity despite of confidentiality is high because it requires an attacker to have elevated access privileges to exploit the issue, an attacker must already have significant access to the system to retrieve the password from memory. Additionally, the issue is limited to specific scenarios where a password attempt fails, which reduces its overall risk. The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianshadowsid1:4.20.3-1fixed
Debianshadowforky1:4.20.3-1fixed
Debianshadowtrixie1:4.17.4-2fixed
Debianshadowbookworm1:4.13+dfsg1-1+deb12u2fixed
Ubuntushadowpro1:4.2-3.2ubuntu4vulnerable
Ubuntushadowpro1:4.5-1ubuntu1vulnerable
Ubuntushadowpro1:4.5-1ubuntu2vulnerable
Ubuntushadowpro1:4.5-1ubuntu2.2vulnerable
Ubuntushadowpro1:4.5-1ubuntu2.3vulnerable
Ubuntushadowpro1:4.5-1ubuntu2.4vulnerable
Ubuntushadowpro1:4.5-1ubuntu2.5vulnerable
Ubuntushadowpro1:4.5-1ubuntu2.5+esm1fixed
Ubuntushadow20.041:4.5-1.1ubuntu4vulnerable
Ubuntushadow20.041:4.8-1ubuntu1vulnerable
Ubuntushadow20.041:4.8.1-1ubuntu1vulnerable
Ubuntushadow20.041:4.8.1-1ubuntu2vulnerable
Ubuntushadow20.041:4.8.1-1ubuntu3vulnerable
Ubuntushadow20.041:4.8.1-1ubuntu4vulnerable
Ubuntushadow20.041:4.8.1-1ubuntu5vulnerable
Ubuntushadow20.041:4.8.1-1ubuntu5.20.04vulnerable
Ubuntushadow20.041:4.8.1-1ubuntu5.20.04.1vulnerable
Ubuntushadow20.041:4.8.1-1ubuntu5.20.04.2vulnerable
Ubuntushadow20.041:4.8.1-1ubuntu5.20.04.3vulnerable
Ubuntushadow20.041:4.8.1-1ubuntu5.20.04.4vulnerable
Ubuntushadow20.041:4.8.1-1ubuntu5.20.04.5fixed
Ubuntushadow22.041:4.8.1-1ubuntu9vulnerable
Ubuntushadow22.041:4.8.1-1ubuntu10vulnerable
Ubuntushadow22.041:4.8.1-2ubuntu1vulnerable
Ubuntushadow22.041:4.8.1-2ubuntu2vulnerable
Ubuntushadow22.041:4.8.1-2ubuntu2.1vulnerable
Ubuntushadow22.041:4.8.1-2ubuntu2.2fixed
Opensuseshadowtumbleweed4.19.2-2.1fixed
Suseshadowlinux enterprise high performance computing 15 sp3-espos4.8.1-150300.4.12.1fixed
Suseshadowlinux enterprise high performance computing 15 sp3-ltss4.8.1-150300.4.12.1fixed
Suseshadowlinux enterprise server 15 sp3-ltss4.8.1-150300.4.12.1fixed
Suseshadowlinux enterprise server for sap applications 15 sp34.8.1-150300.4.12.1fixed
Suseshadowmanager proxy 4.24.8.1-150300.4.12.1fixed
Suseshadowmanager server 4.24.8.1-150300.4.12.1fixed
Suseshadowlinux enterprise micro 5.14.8.1-150300.4.12.1fixed
Suseshadowlinux enterprise micro 5.24.8.1-150300.4.12.1fixed
Suseshadowenterprise storage 7.14.8.1-150300.4.12.1fixed
Suseshadowlinux enterprise high performance computing 15 sp1-ltss4.6-150100.3.11.1fixed
Suseshadowlinux enterprise high performance computing 15 sp2-ltss4.6-150100.3.11.1fixed
Suseshadowlinux enterprise server 15 sp1-ltss4.6-150100.3.11.1fixed
Suseshadowlinux enterprise server 15 sp2-ltss4.6-150100.3.11.1fixed
Suseshadowlinux enterprise server for sap applications 15 sp14.6-150100.3.11.1fixed
Suseshadowlinux enterprise server for sap applications 15 sp24.6-150100.3.11.1fixed
Suseshadowenterprise storage 74.6-150100.3.11.1fixed
Ubuntushadowpro1:4.2-3.2ubuntu4vulnerable
Ubuntushadowpro1:4.5-1ubuntu1vulnerable
Ubuntushadowpro1:4.5-1ubuntu2vulnerable
Ubuntushadowpro1:4.5-1ubuntu2.2vulnerable
Ubuntushadowpro1:4.5-1ubuntu2.3vulnerable
Ubuntushadowpro1:4.5-1ubuntu2.4vulnerable
Ubuntushadowpro1:4.5-1ubuntu2.5vulnerable
Ubuntushadowpro1:4.5-1ubuntu2.5+esm1fixed
Ubuntushadow20.041:4.5-1.1ubuntu4vulnerable
Ubuntushadow20.041:4.8-1ubuntu1vulnerable
Ubuntushadow20.041:4.8.1-1ubuntu1vulnerable
Ubuntushadow20.041:4.8.1-1ubuntu2vulnerable
Ubuntushadow20.041:4.8.1-1ubuntu3vulnerable
Ubuntushadow20.041:4.8.1-1ubuntu4vulnerable
Ubuntushadow20.041:4.8.1-1ubuntu5vulnerable
Ubuntushadow20.041:4.8.1-1ubuntu5.20.04vulnerable
Ubuntushadow20.041:4.8.1-1ubuntu5.20.04.1vulnerable
Ubuntushadow20.041:4.8.1-1ubuntu5.20.04.2vulnerable
Ubuntushadow20.041:4.8.1-1ubuntu5.20.04.3vulnerable
Ubuntushadow20.041:4.8.1-1ubuntu5.20.04.4vulnerable
Ubuntushadow20.041:4.8.1-1ubuntu5.20.04.5fixed
Ubuntushadow22.041:4.8.1-1ubuntu9vulnerable
Ubuntushadow22.041:4.8.1-1ubuntu10vulnerable
Ubuntushadow22.041:4.8.1-2ubuntu1vulnerable
Ubuntushadow22.041:4.8.1-2ubuntu2vulnerable
Ubuntushadow22.041:4.8.1-2ubuntu2.1vulnerable
Ubuntushadow22.041:4.8.1-2ubuntu2.2fixed
Suseshadowlinux enterprise micro 5.44.8.1-150400.3.3.1fixed
Suseshadowlinux enterprise micro 5.34.8.1-150400.10.12.1fixed
Suseshadowlinux enterprise module for basesystem 15 sp44.8.1-150400.10.12.1fixed
Suseshadowlinux enterprise module for basesystem 15 sp54.8.1-150400.10.12.1fixed
Opensuseshadowleap 15.44.8.1-150400.10.12.1fixed
Opensuseshadowleap 15.54.8.1-150400.10.12.1fixed
Suseshadowlinux enterprise server 12 sp54.2.1-36.6.1fixed
Suseshadowlinux enterprise server for sap applications 12 sp54.2.1-36.6.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianshadowsourcesid1:4.13+dfsg1-2not yet assignedNot reported[1051062]
Debianshadowsourceforky1:4.13+dfsg1-2not yet assignedNot reported[1051062]
Debianshadowsourcetrixie1:4.13+dfsg1-2not yet assignedNot reported[1051062]
Debianshadowsourcebookworm1:4.13+dfsg1-1+deb12u1not yet assignedNot reported[1051062]
Ubuntushadowdebpro1:4.5-1ubuntu2.5+esm1Not reportedUSN-6640-1Not reported
Ubuntushadowdeb20.041:4.8.1-1ubuntu5.20.04.5Not reportedUSN-6640-1Not reported
Ubuntushadowdeb22.041:4.8.1-2ubuntu2.2Not reportedUSN-6640-1Not reported
Opensuseshadowrpmtumbleweed4.19.2-2.1Not reportedOPENSUSE-SU-2026:10081-1Not reported
Suseshadowrpmlinux enterprise high performance computing 15 sp3-espos4.8.1-150300.4.12.1Not reportedSUSE-SU-2023:4027-1Not reported
Suseshadowrpmlinux enterprise high performance computing 15 sp3-ltss4.8.1-150300.4.12.1Not reportedSUSE-SU-2023:4027-1Not reported
Suseshadowrpmlinux enterprise server 15 sp3-ltss4.8.1-150300.4.12.1Not reportedSUSE-SU-2023:4027-1Not reported
Suseshadowrpmlinux enterprise server for sap applications 15 sp34.8.1-150300.4.12.1Not reportedSUSE-SU-2023:4027-1Not reported
Suseshadowrpmmanager proxy 4.24.8.1-150300.4.12.1Not reportedSUSE-SU-2023:4027-1Not reported
Suseshadowrpmmanager server 4.24.8.1-150300.4.12.1Not reportedSUSE-SU-2023:4027-1Not reported
Suseshadowrpmlinux enterprise micro 5.14.8.1-150300.4.12.1Not reportedSUSE-SU-2023:4027-1Not reported
Suseshadowrpmlinux enterprise micro 5.24.8.1-150300.4.12.1Not reportedSUSE-SU-2023:4027-1Not reported
Suseshadowrpmenterprise storage 7.14.8.1-150300.4.12.1Not reportedSUSE-SU-2023:4027-1Not reported
Suseshadowrpmlinux enterprise high performance computing 15 sp1-ltss4.6-150100.3.11.1Not reportedSUSE-SU-2023:4025-1Not reported
Suseshadowrpmlinux enterprise high performance computing 15 sp2-ltss4.6-150100.3.11.1Not reportedSUSE-SU-2023:4025-1Not reported
Suseshadowrpmlinux enterprise server 15 sp1-ltss4.6-150100.3.11.1Not reportedSUSE-SU-2023:4025-1Not reported
Suseshadowrpmlinux enterprise server 15 sp2-ltss4.6-150100.3.11.1Not reportedSUSE-SU-2023:4025-1Not reported
Suseshadowrpmlinux enterprise server for sap applications 15 sp14.6-150100.3.11.1Not reportedSUSE-SU-2023:4025-1Not reported
Suseshadowrpmlinux enterprise server for sap applications 15 sp24.6-150100.3.11.1Not reportedSUSE-SU-2023:4025-1Not reported
Suseshadowrpmenterprise storage 74.6-150100.3.11.1Not reportedSUSE-SU-2023:4025-1Not reported
Ubuntushadowdebpro1:4.5-1ubuntu2.5+esm1Not reportedUBUNTU-CVE-2023-4641Not reported
Ubuntushadowdeb20.041:4.8.1-1ubuntu5.20.04.5Not reportedUBUNTU-CVE-2023-4641Not reported
Ubuntushadowdeb22.041:4.8.1-2ubuntu2.2Not reportedUBUNTU-CVE-2023-4641Not reported
Suseshadowrpmlinux enterprise micro 5.44.8.1-150400.3.3.1Not reportedSUSE-SU-2023:3591-1Not reported
Suseshadowrpmlinux enterprise micro 5.34.8.1-150400.10.12.1Not reportedSUSE-SU-2023:4024-1Not reported
Suseshadowrpmlinux enterprise module for basesystem 15 sp44.8.1-150400.10.12.1Not reportedSUSE-SU-2023:4024-1Not reported
Suseshadowrpmlinux enterprise module for basesystem 15 sp54.8.1-150400.10.12.1Not reportedSUSE-SU-2023:4024-1Not reported
Opensuseshadowrpmleap 15.44.8.1-150400.10.12.1Not reportedSUSE-SU-2023:4024-1Not reported
Opensuseshadowrpmleap 15.54.8.1-150400.10.12.1Not reportedSUSE-SU-2023:4024-1Not reported
Suseshadowrpmlinux enterprise server 12 sp54.2.1-36.6.1Not reportedSUSE-SU-2023:4023-1Not reported
Suseshadowrpmlinux enterprise server for sap applications 12 sp54.2.1-36.6.1Not reportedSUSE-SU-2023:4023-1Not reported

[Debian bug #1051062]

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • [libsubid6]Unknown

    Source package: [shadow]

    Details (1)
    • 4.20.2-2.1 · x86_64 · tumbleweed

      Unknown · Fixed: 4.19.2-2.1

      Version impact unknown

      dsa · shadow · opensuse · tumbleweed

  • Source package: [shadow]

    Details (1)
    • 4.20.2-2.1 · x86_64 · tumbleweed

      Unknown · Fixed: 4.19.2-2.1

      Version impact unknown

      dsa · shadow · opensuse · tumbleweed

  • [login_defs]Unknown

    Source package: [shadow]

    Details (1)
    • 4.20.2-2.1 · noarch · tumbleweed

      Unknown · Fixed: 4.19.2-2.1

      Version impact unknown

      dsa · shadow · opensuse · tumbleweed

  • Source package: [shadow]

    Details (1)
    • 4.20.2-2.1 · x86_64 · tumbleweed

      Unknown · Fixed: 4.19.2-2.1

      Version impact unknown

      dsa · shadow · opensuse · tumbleweed

  • [shadow]Fixed

    Source package: [shadow]

    Details (1)
    • 4.20.2-2.1 · x86_64 · tumbleweed

      Fixed · Fixed: 4.19.2-2.1

      dsa · shadow · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • [libsubid4]Fixed

    Source package: [shadow]

    Details (2)
    • 1:4.13+dfsg1-1+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1:4.13+dfsg1-1+deb12u1

      dsa · shadow · debian · bookworm; dsa · shadow · debian · 12

    • 1:4.13+dfsg1-1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1:4.13+dfsg1-1+deb12u1

      dsa · shadow · debian · bookworm; dsa · shadow · debian · 12

  • Source package: [shadow]

    Details (2)
    • 1:4.13+dfsg1-1+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1:4.13+dfsg1-1+deb12u1

      dsa · shadow · debian · bookworm; dsa · shadow · debian · 12

    • 1:4.13+dfsg1-1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1:4.13+dfsg1-1+deb12u1

      dsa · shadow · debian · bookworm; dsa · shadow · debian · 12

  • [login]Fixed

    Source package: [shadow]

    Details (2)
    • 1:4.13+dfsg1-1+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1:4.13+dfsg1-1+deb12u1

      dsa · shadow · debian · bookworm; dsa · shadow · debian · 12

    • 1:4.13+dfsg1-1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1:4.13+dfsg1-1+deb12u1

      dsa · shadow · debian · bookworm; dsa · shadow · debian · 12

  • [passwd]Fixed

    Source package: [shadow]

    Details (2)
    • 1:4.13+dfsg1-1+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1:4.13+dfsg1-1+deb12u1

      dsa · shadow · debian · bookworm; dsa · shadow · debian · 12

    • 1:4.13+dfsg1-1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1:4.13+dfsg1-1+deb12u1

      dsa · shadow · debian · bookworm; dsa · shadow · debian · 12

  • [uidmap]Fixed

    Source package: [shadow]

    Details (2)
    • 1:4.13+dfsg1-1+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1:4.13+dfsg1-1+deb12u1

      dsa · shadow · debian · bookworm; dsa · shadow · debian · 12

    • 1:4.13+dfsg1-1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1:4.13+dfsg1-1+deb12u1

      dsa · shadow · debian · bookworm; dsa · shadow · debian · 12

[Debian 13 (Trixie)]

  • [libsubid5]Fixed

    Source package: [shadow]

    Details (2)
    • 1:4.17.4-2 · amd64 · trixie

      Fixed · Fixed: 1:4.13+dfsg1-2

      dsa · shadow · debian · 13

    • 1:4.17.4-2 · arm64 · trixie

      Fixed · Fixed: 1:4.13+dfsg1-2

      dsa · shadow · debian · 13

  • Source package: [shadow]

    Details (2)
    • 1:4.17.4-2 · amd64 · trixie

      Fixed · Fixed: 1:4.13+dfsg1-2

      dsa · shadow · debian · 13

    • 1:4.17.4-2 · arm64 · trixie

      Fixed · Fixed: 1:4.13+dfsg1-2

      dsa · shadow · debian · 13

  • [login.defs]Fixed

    Source package: [shadow]

    Details (2)
    • 1:4.17.4-2 · all · trixie

      Fixed · Fixed: 1:4.13+dfsg1-2

      dsa · shadow · debian · 13

    • 1:4.17.4-2 · all · trixie

      Fixed · Fixed: 1:4.13+dfsg1-2

      dsa · shadow · debian · 13

  • [passwd]Fixed

    Source package: [shadow]

    Details (2)
    • 1:4.17.4-2 · amd64 · trixie

      Fixed · Fixed: 1:4.13+dfsg1-2

      dsa · shadow · debian · 13

    • 1:4.17.4-2 · arm64 · trixie

      Fixed · Fixed: 1:4.13+dfsg1-2

      dsa · shadow · debian · 13

  • [uidmap]Fixed

    Source package: [shadow]

    Details (2)
    • 1:4.17.4-2 · amd64 · trixie

      Fixed · Fixed: 1:4.13+dfsg1-2

      dsa · shadow · debian · 13

    • 1:4.17.4-2 · arm64 · trixie

      Fixed · Fixed: 1:4.13+dfsg1-2

      dsa · shadow · debian · 13

Observed:

References