Skip to content
OpenAdvisories

Product · DALIBO

PostgreSQL Anonymizer

24 known vulnerabilities.

17 results · Clear filters · Feed

  • Medium 4.3

    PostgreSQL Anonymizer: statistics can expose some of the original data after statistic masking

    PostgreSQL Anonymizer contains a vulnerability related to static masking and statistics persistence. Statistics pertaining to the original data remain visible in pg_stats until an ANALYZE operation is performed on the table, either manually or by autovacuum. …

  • Medium 4.3

    PostgreSQL Anonymizer: anon.partial() and anon.partial_email() can reveal the whole data

    PostgreSQL Anonymizer contains a vulnerability related to the anon.partial() and anon.partial_email() functions. These function can reveal the while data if the data is small enough. The issue is fixed in PostgreSQL Anonymizer 3.3.0 and later versions.

  • Medium 6.5

    PostgreSQL Anonymizer: Function declared with SQL-standard syntax leak anonymized data

    PostgreSQL Anonymizer contains a vulnerability related to anonymization functions defined using SQL-standard function bodies. PostgreSQL analyses such functions at declaration time, while Anonymizer only attempts to check them at execution time. This problem …

  • Medium 6.5

    PostgreSQL Anonymizer: A masked role reads the authentic data of masked tables through a masking rule with a sub-query

    PostgreSQL Anonymizer doesn't mask data returned by a sub-query in a rule. The problem is resolved in PostgreSQL Anonymizer 3.3.0 and later versions.

  • Medium 4.8

    PostgreSQL Anonymizer: Masking rules of the tables are not applied through security_invoker views

    PostgreSQL Anonymizer doesn't mask data accessed thru a security_invoker view. The problem is resolved in PostgreSQL Anonymizer 3.3.0 and later versions.

  • Medium 5.7

    PostgreSQL Anonymizer: Masked partitions and child tables are not masked when they are queried through their parent

    PostgreSQL Anonymizer's documentation recommends applying rules on partitions and inheritance tables. Direct access to the paritions / inheritance tables is masked but not thru the parent table. The problem is resolved in PostgreSQL Anonymizer 3.3.0 and later…

  • Medium 5.7

    PostgreSQL Anonymizer: Cached plans bypass transparent dynamic masking after a role change or a new masking rule

    PostgreSQL Anonymizer doesn't invalidate plans prepared after a rule was added or a role changed. Users using such plans can still see the unmasked data until the end of the session. The problem is resolved in PostgreSQL Anonymizer 3.3.0 and later versions.

  • Medium 5.7

    PostgreSQL Anonymizer: The secret salt and shift of anon are readable by any role in pg_roles or pg_db_role_setting

    PostgreSQL restricts acces to the salt and shift via the `SHOW` command for users not member of `pg_read_all_settings`. But they are visible in `pg_db_role_setting` or `pg_roles` if they were set on the database, user or both. PostgreSQL Anonymizer's document…

  • Medium 4.7

    PostgreSQL Anonymizer: Unbounded image-decode memory allocation (DoS) in anon.image_blur()

    PostgreSQL Anonymizer's `anon.image_blur()` function doesn't check the declared dimension of the provided image, allowing an attacker to provide a small image with enormous declared dimensions. This vulnerability can be exploited to exhaust the memory of a ba…

  • Medium 4.7

    PostgreSQL Anonymizer: Unbounded memory allocation (DoS) in range-based dummy functions

    PostgreSQL Anonymizer's range-based dummy functions dont constraint the range size. This vulnerability can be exploited to exhaust the memory of a backend and OOM-kill it (when ovecommit is on), which results in a cluster-wide crash recovery. The problem is r…

  • Medium 4.3

    PostgreSQL Anonymizer: RESTRICTED functions are reachable through a subLink

    PostgreSQL Anonymizer contains a vulnerability that allows unprivileged masked users to repeatedly call the anon.hash() function and collects (seed, hash_output) pairs to perform an offline brute-force attack and deduce the salt. A masked role can run a RESTR…

  • Medium 6.4

    PostgreSQL Anonymizer: Privilege escalation to superuser via anon.anonymize_database_parallel()

    PostgreSQL Anonymizer contains a vulnerability in the anon.anonymize_database_parallel() function that allows the owner of a table to run arbitrary code with superuser privilege. The issue is fixed in PostgreSQL Anonymizer 3.2.0 and later versions

  • Medium 6.4

    PostgreSQL Anonymizer: SQL injection in import_database_rules() and import_roles_rules() via crafted object names / JSON

    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_ru…

  • Medium 4.3

    PostgreSQL Anonymizer: Unrestricted function can leak the secret salt

    PostgreSQL Anonymizer contains a vulnerability that allows unprivileged masked users to repeatedly call the anon.hash() function and collects (seed, hash_output) pairs to perform an offline brute-force attack and deduce the salt. The problem is resolved in Po…

  • Medium 6.4

    PostgreSQL Anonymizer: SQL injection in the rules import functions

    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() …

  • Medium 6.8

    PostgreSQL Anonymizer: malicious column name allows SQL injection via anon.k_anonymity() function

    PostgreSQL Anonymizer contains a vulnerability that allows a user to gain superuser privileges by creating a table and placing malicious code inside a column identifier. If a superuser calls the k-anonymity function, the malicious code is executed with superu…

  • Medium 6.5

    Cursor allows PostgreSQL Anonymizer masked user to gain unauthorized access to authentic data

    PostgreSQL Anonymizer v2.0 and v2.1 contain a vulnerability that allows a masked user to bypass the masking rules defined on a table and read the original data using a database cursor or the --insert option of pg_dump. This problem occurs only when dynamic ma…