PostgreSQL Anonymizer: SQL injection in import_database_rules() and import_roles_rules() via crafted object names / JSON
DALIBO PostgreSQL Anonymizer
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| DALIBO PostgreSQL Anonymizer |
| No fix yet |
Original description
PostgreSQL Anonymizer contains a SQL injection vulnerability in two import functions. A user can create a malicious JSON document containing specially crafted object names. If a superuser subsequently calls anon.import_database_rules() or anon.import_roles_rules(), the malicious code is executed with superuser privileges. The issue is fixed in PostgreSQL Anonymizer 3.1.4 and later
From the CVE record · PostgreSQL