CVE-2025-5690

Source
https://cve.org/CVERecord?id=CVE-2025-5690
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-5690.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-5690
Published
2025-06-04T21:34:47.358Z
Modified
2026-07-15T01:49:05.465119759Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Cursor allows PostgreSQL Anonymizer masked user to gain unauthorized access to authentic data
Details

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 masking is enabled, which is not the default setting. The problem is resolved in version 2.2.1

Database specific
{
    "cwe_ids": [
        "CWE-200"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5690.json",
    "cna_assigner": "PostgreSQL"
}
References

Affected packages

Git / gitlab.com/dalibo/postgresql_anonymizer

Affected ranges

Type
GIT
Repo
https://gitlab.com/dalibo/postgresql_anonymizer
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "1"
        },
        {
            "fixed": "2.2.1"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-5690.json"