{"id":"USN-6640-1","summary":"shadow vulnerability","details":"It was discovered that shadow was not properly sanitizing memory when\nrunning the password utility. An attacker could possibly use this issue\nto retrieve a password from memory, exposing sensitive information.\n","modified":"2026-05-20T16:03:39.189633844Z","published":"2024-02-15T18:05:16Z","related":["UBUNTU-CVE-2023-4641"],"upstream":["CVE-2023-4641","UBUNTU-CVE-2023-4641"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6640-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-4641"}],"affected":[{"package":{"name":"shadow","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/shadow?arch=source&distro=trusty%2Fesm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.1.5.1-1ubuntu9.5+esm4"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"1:4.1.5.1-1ubuntu9.5+esm4","binary_name":"login"},{"binary_version":"1:4.1.5.1-1ubuntu9.5+esm4","binary_name":"passwd"},{"binary_version":"1:4.1.5.1-1ubuntu9.5+esm4","binary_name":"uidmap"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6640-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:14.04:LTS","cves":[{"id":"CVE-2023-4641","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"low"}]}]}}},{"package":{"name":"shadow","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/shadow?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.2-3.1ubuntu5.5+esm4"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"1:4.2-3.1ubuntu5.5+esm4","binary_name":"passwd"},{"binary_version":"1:4.2-3.1ubuntu5.5+esm4","binary_name":"login"},{"binary_version":"1:4.2-3.1ubuntu5.5+esm4","binary_name":"uidmap"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6640-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:16.04:LTS","cves":[]}}},{"package":{"name":"shadow","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/shadow?arch=source&distro=esm-infra%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.5-1ubuntu2.5+esm1"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"1:4.5-1ubuntu2.5+esm1","binary_name":"login"},{"binary_version":"1:4.5-1ubuntu2.5+esm1","binary_name":"passwd"},{"binary_version":"1:4.5-1ubuntu2.5+esm1","binary_name":"uidmap"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6640-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:18.04:LTS","cves":[{"id":"CVE-2023-4641","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"low"}]}]}}},{"package":{"name":"shadow","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/shadow?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.8.1-1ubuntu5.20.04.5"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_name":"login","binary_version":"1:4.8.1-1ubuntu5.20.04.5"},{"binary_version":"1:4.8.1-1ubuntu5.20.04.5","binary_name":"passwd"},{"binary_name":"uidmap","binary_version":"1:4.8.1-1ubuntu5.20.04.5"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6640-1.json","cves_map":{"ecosystem":"Ubuntu:20.04:LTS","cves":[{"id":"CVE-2023-4641","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"low"}]}]}}},{"package":{"name":"shadow","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/shadow?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.8.1-2ubuntu2.2"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"1:4.8.1-2ubuntu2.2","binary_name":"login"},{"binary_version":"1:4.8.1-2ubuntu2.2","binary_name":"passwd"},{"binary_version":"1:4.8.1-2ubuntu2.2","binary_name":"uidmap"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6640-1.json","cves_map":{"ecosystem":"Ubuntu:22.04:LTS","cves":[{"id":"CVE-2023-4641","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"low"}]}]}}}],"schema_version":"1.7.5"}