CVE & CISA-KEV Catalog

CVE-2023-4641

MEDIUM
4.7
CVSS v3
NVD

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.

How to fix

Remediation Available
shadowDebian
Fixed in:1:4.8.1-1+deb11u1CVE-2023-4641
Fixed in:1:4.13+dfsg1-1+deb12u1CVE-2023-4641
Fixed in:1:4.13+dfsg1-2CVE-2023-4641
Fixed in:1:4.13+dfsg1-2CVE-2023-4641
shadow-utilsRocky
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
shadow-utilsRed Hat / RHEL
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
shadow-utils-debuginfoRed Hat / RHEL
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
shadow-utils-debuginfoRocky
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
shadow-utils-debugsourceRocky
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
shadow-utils-debugsourceRed Hat / RHEL
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
shadow-utils-subidRocky
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
shadow-utils-subidRed Hat / RHEL
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
shadow-utils-subid-debuginfoRocky
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
shadow-utils-subid-debuginfoRed Hat / RHEL
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
shadow-utils-subid-develRocky
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
shadow-utils-subid-develRed Hat / RHEL
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-19.el8RHSA-2023:7112
Fixed in:2:4.6-17.el8_8.2RHSA-2024:2577
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.6-17.el8_6RHSA-2024:0417
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
Fixed in:2:4.9-8.el9RHSA-2023:6632
libsubid-devUbuntu
Fixed in:1:4.13+dfsg1-1ubuntu1.1USN-6640-1
libsubid4Ubuntu
Fixed in:1:4.13+dfsg1-1ubuntu1.1USN-6640-1
loginUbuntu
Fixed in:1:4.1.5.1-1ubuntu9.5+esm4USN-6640-1
Fixed in:1:4.2-3.1ubuntu5.5+esm4USN-6640-1
Fixed in:1:4.5-1ubuntu2.5+esm1USN-6640-1
Fixed in:1:4.8.1-1ubuntu5.20.04.5USN-6640-1
Fixed in:1:4.8.1-2ubuntu2.2USN-6640-1
Fixed in:1:4.13+dfsg1-1ubuntu1.1USN-6640-1
passwdUbuntu
Fixed in:1:4.1.5.1-1ubuntu9.5+esm4USN-6640-1
Fixed in:1:4.2-3.1ubuntu5.5+esm4USN-6640-1
Fixed in:1:4.5-1ubuntu2.5+esm1USN-6640-1
Fixed in:1:4.8.1-1ubuntu5.20.04.5USN-6640-1
Fixed in:1:4.8.1-2ubuntu2.2USN-6640-1
Fixed in:1:4.13+dfsg1-1ubuntu1.1USN-6640-1
shadowUbuntu
Fixed in:1:4.1.5.1-1ubuntu9.5+esm4USN-6640-1
Fixed in:1:4.2-3.1ubuntu5.5+esm4USN-6640-1
Fixed in:1:4.5-1ubuntu2.5+esm1USN-6640-1
Fixed in:1:4.8.1-1ubuntu5.20.04.5USN-6640-1
Fixed in:1:4.8.1-2ubuntu2.2USN-6640-1
Fixed in:1:4.13+dfsg1-1ubuntu1.1USN-6640-1
uidmapUbuntu
Fixed in:1:4.1.5.1-1ubuntu9.5+esm4USN-6640-1
Fixed in:1:4.2-3.1ubuntu5.5+esm4USN-6640-1
Fixed in:1:4.5-1ubuntu2.5+esm1USN-6640-1
Fixed in:1:4.8.1-1ubuntu5.20.04.5USN-6640-1
Fixed in:1:4.8.1-2ubuntu2.2USN-6640-1
Fixed in:1:4.13+dfsg1-1ubuntu1.1USN-6640-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Exploit Intelligence

0.26%probability of exploitation in 30 days
17thpercentile

Low risk: more likely to be exploited than 17% of all known CVEs.

References

Embed a live status badge for CVE-2023-4641
CVE-2023-4641 severity badge

Markdown

[![CVE-2023-4641](https://tridentstack.com/cve/badge/CVE-2023-4641.svg)](https://tridentstack.com/cve/CVE-2023-4641)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-4641"><img src="https://tridentstack.com/cve/badge/CVE-2023-4641.svg" alt="CVE-2023-4641"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-03.