A flaw was found in the Samba AD LDAP server. The AD DC database audit logging module can access LDAP message values freed by a preceding database module, resulting in a use-after-free issue. This issue is only possible when modifying certain privileged attributes, such as userAccountControl.
{
"cwe_ids": [
"CWE-416"
],
"cna_assigner": "redhat",
"unresolved_ranges": [
{
"source": "AFFECTED_FIELD",
"extracted_events": [
{
"last_affected": "Versions prior to samba 4.16.4, samba 4.15.9, samba 4.14.14"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32746.json"
}{
"source": "CPE_FIELD",
"extracted_events": [
{
"introduced": "4.3.0"
},
{
"fixed": "4.14.14"
},
{
"introduced": "4.15.0"
},
{
"fixed": "4.15.9"
},
{
"introduced": "4.16.0"
},
{
"fixed": "4.16.4"
}
],
"cpe": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*"
}