CVE-2023-4641

NameCVE-2023-4641
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesELA-1220-1
Debian Bugs1051062

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
shadow (PTS)jessie, jessie (lts)1:4.2-3+deb8u5vulnerable
stretch (security)1:4.4-4.1+deb9u1vulnerable
stretch (lts), stretch1:4.4-4.1+deb9u2fixed
buster, buster (lts)1:4.5-1.1+deb10u1fixed
bullseye1:4.8.1-1vulnerable
bookworm1:4.13+dfsg1-1vulnerable
sid, trixie1:4.16.0-7fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
shadowsourcestretch1:4.4-4.1+deb9u2ELA-1220-1
shadowsourcebuster1:4.5-1.1+deb10u1ELA-1220-1
shadowsource(unstable)1:4.13+dfsg1-21051062

Notes

[bookworm] - shadow <no-dsa> (Minor issue)
[bullseye] - shadow <no-dsa> (Minor issue)
[buster] - shadow <no-dsa> (Minor issue)
https://bugzilla.redhat.com/show_bug.cgi?id=2215945
https://github.com/shadow-maint/shadow/commit/65c88a43a23c2391dcc90c0abda3e839e9c57904 (4.14.0-rc1)
[jessie] - shadow <no-dsa> (Minor issue)

Search for package or bug name: Reporting problems