Description
PostgreSQL Anonymizer contains a vulnerability that allows a user to gain superuser privileges by creating a JSON document and placing malicious code inside a particular key-value pair. If a superuser calls the import_database_rules() or import_roles_rules() functions, the malicious code is executed with superuser privileges. The problem is resolved in PostgreSQL Anonymizer 3.1.1 and further versions
Problem types
Improper Neutralization of Special Elements used in an SQL Command (‘SQL Injection’)
Product status
1 (semver) before 3.1.1
Credits
The PostgreSQL Anonymizer project thanks user Mehmet Ince for reporting this problem.
References
gitlab.com/dalibo/postgresql_anonymizer/-/issues/643
