FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

postgresql-server -- MERGE fails to enforce UPDATE or SELECT row security policies

Affected packages
postgresql-server < 15.4

Details

VuXML ID 59a43a73-3786-11ee-94b4-6cc21735f730
Discovery 2023-08-10
Entry 2023-08-10

PostgreSQL Project reports

PostgreSQL 15 introduced 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 row that INSERT policies do not forbid, a user could store such rows. Subsequent consequences are application-dependent. This affects only databases that have used CREATE POLICY to define a row security policy.

References

CVE Name CVE-2023-39418
URL https://www.postgresql.org/support/security/CVE-2023-39418/