Technical impact
The PostgreSQL Anonymizer extension masks sensitive data by applying rules to partitions and inheritance tables. However, when a query targets a parent table, the applied masking does not propagate to its child or partitioned tables. As a result, a user who queries the parent can see raw data from the child tables, bypassing the intended privacy controls. This flaw allows direct access to unmasked portions of the database where data confidentiality is required.
Affected Systems
This issue affects the Dalibo PostgreSQL Anonymizer extension installed on PostgreSQL databases. All versions before 3.3.0 are vulnerable. Versions 3.3.0 and later have been updated to correctly apply masking when querying through parent tables.
Risk and Exploitability
The CVSS score of 5.7 indicates moderate severity. No EPSS value is published, and the vulnerability is not listed in the CISA KEV catalog. The flaw can be exploited by any database user who has SELECT privileges on the parent table and determines that child tables hold sensitive data. An attacker could retrieve unmasked records, compromising data confidentiality. The attack vector is database query execution, requiring authentication and basic privileges. Because the mitigation is a simple version upgrade, the likelihood of exploitation is mitigated once the extension is updated, but until that occurs the risk remains for users of affected installations.