CVE-2023-4641

Source
https://cve.org/CVERecord?id=CVE-2023-4641
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-4641.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-4641
Downstream
Related
Published
2023-12-27T15:43:22.929Z
Modified
2026-05-18T05:56:46.085506058Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Shadow-utils: possible password leak during passwd(1) change
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-303"
    ],
    "cna_assigner": "redhat",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4641.json"
}
References

Affected packages

Git / github.com/shadow-maint/shadow

Affected ranges

Type
GIT
Repo
https://github.com/shadow-maint/shadow
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "CPE_FIELD",
    "cpe": "cpe:2.3:a:shadow-maint:shadow-utils:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "4.14.0"
        }
    ]
}

Affected versions

4.*
4.10
4.12
4.12.1
4.12.2
4.13
4.14.0-rc1
4.14.0-rc2
4.14.0-rc3
4.14.0-rc4
4.14.0-rc5
4.2.1
4.3.0
4.3.1
4.4
4.5
4.6
4.7
4.8
4.8.1
4.9
v4.*
v4.10
v4.11.1
v4.9

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-4641.json"