{"id":"CVE-2025-5690","state":"PUBLISHED","title":"Cursor allows PostgreSQL Anonymizer masked user to gain unauthorized access to authentic data","description":"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","publishedAt":"2025-06-04T21:34:47.358Z","updatedAt":"2025-06-05T18:10:03.492Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"PostgreSQL"},"assigner":"PostgreSQL","products":["DALIBO PostgreSQL Anonymizer"],"affected":[{"vendor":"DALIBO","product":"PostgreSQL Anonymizer","defaultStatus":"unaffected","versions":[{"version":"1","status":"affected","lessThan":"2.2.1","versionType":"rpm"}]}],"references":["https://gitlab.com/dalibo/postgresql_anonymizer/-/issues/531"],"weaknesses":["CWE-200"],"ingestedAt":"2026-10-29T20:09:39.787Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/5xxx/CVE-2025-5690.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-5690","state":"PUBLISHED","datePublished":"2025-06-04T21:34:47.358Z","dateUpdated":"2025-06-05T18:10:03.492Z","assignerShortName":"PostgreSQL","assignerOrgId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","dateReserved":"2025-06-04T18:41:30.661Z"},"containers":{"cna":{"title":"Cursor allows PostgreSQL Anonymizer masked user to gain unauthorized access to authentic data","descriptions":[{"lang":"en","value":"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"}],"affected":[{"vendor":"DALIBO","product":"PostgreSQL Anonymizer","defaultStatus":"unaffected","versions":[{"version":"1","status":"affected","lessThan":"2.2.1","versionType":"rpm"}]}],"references":[{"url":"https://gitlab.com/dalibo/postgresql_anonymizer/-/issues/531"}],"metrics":[{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","baseScore":6.5,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-200","lang":"en","type":"CWE","description":"Exposure of Sensitive Information to an Unauthorized Actor"}]}],"providerMetadata":{"shortName":"PostgreSQL","orgId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","dateUpdated":"2025-06-04T21:34:47.358Z"},"configurations":[{"lang":"en","value":"Dynamic masking must be enabled"}],"workarounds":[{"lang":"en","value":"Disable dynamic masking"}],"credits":[{"lang":"en","value":"The PostgreSQL Anonymizer project thanks Jukka Heiskanen for reporting this problem."}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-06-05T18:09:40.493423Z","id":"CVE-2025-5690","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-06-05T18:10:03.492Z"}}]}}}