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.
{
"cna_assigner": "redhat",
"cwe_ids": [
"CWE-303"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4641.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "2:4.6-19.el8"
},
{
"fixed": "2:4.6-17.el8_6"
},
{
"fixed": "2:4.6-17.el8_8.2"
},
{
"fixed": "2:4.9-8.el9"
}
],
"source": "AFFECTED_FIELD",
"strategy": "InverseAffectedRanges"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "4.14.0-rc1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "InverseAffectedRanges"
},
{
"cpe": "cpe:2.3:a:shadow-maint:shadow-utils:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "4.14.0"
}
],
"source": "CPE_RANGE"
}
]
}