Technical impact
The vulnerability is a missing authorization check in the ldb_match_bitmask() function of Samba's libldb LDAP matching module. When a client performs a bitwise comparison against an integer attribute, the library incorrectly uses the value of a protected attribute in the comparison, even though that attribute is marked as unreadable. A low‑privileged attacker who can list directory objects can iteratively query for individual bits of the hidden integer. For each bit that is set, the directory entry is returned; for bits that are unset the entry is omitted, and the missing attribute is removed from the response. Repeating this process for all bits of an integer attribute exposes the full value. Non‑integer data, such as passwords or binary blobs, is not returned as a number, so only integer attributes can be disclosed. The missing authorization check is classified as CWE‑862.
Affected Systems
Red Hat’s managed operating systems and container platforms are affected, specifically Red Hat Enterprise Linux 10, 6, 7, 8, 9, and the Red Hat OpenShift Container Platform 4 and 5. These products include SMB and LDAP services that utilize the libldb library from Samba. No precise version numbers are supplied, so any installation that includes the vulnerable ldb_match_bitmask() logic is at risk.
Risk and Exploitability
The CVSS base score of 4.3 indicates a moderate severity. Because the EPSS score is not available, the precise likelihood of exploitation is unknown, but the vulnerability does not appear in the CISA KEV catalog, suggesting no known widespread exploitation. The likely attack vector is over the network via LDAP queries; an attacker needs only the ability to list directory objects and perform bitwise searches for hidden integer attributes. Consequently, the risk is moderate, and mitigation should focus on patching and limiting LDAP query capabilities.