PostgreSQL Vulnerability: MERGE Command Bypasses Row Security Policies

PostgreSQL Vulnerability: MERGE Command Bypasses Row Security Policies

CVE-2023-39418 · MEDIUM Severity

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

A vulnerability was found in PostgreSQL with the use of the MERGE command, which fails to test new rows against row security policies defined for UPDATE and SELECT. If UPDATE and SELECT policies forbid some rows that INSERT policies do not forbid, a user could store such rows.

Learn more about our Cis Benchmark Audit For Microsoft Sql Server.