Row security policies disregard user ID changes after inlining; PostgreSQL could permit incorrect policies to be applied in certain cases where role-specific policies are used and a given query is planned under one role and then executed under other roles. This scenario can happen under security definer functions or when a common user and query is planned initially and then re-used across multiple SET ROLEs. Applying an incorrect policy may permit a user to complete otherwise-forbidden reads and modifications. This affects only databases that have used CREATE POLICY to define a row security policy.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: redhat
Published: 2023-06-09T00:00:00
Updated: 2024-08-02T06:26:08.921Z
Reserved: 2023-05-01T00:00:00
Link: CVE-2023-2455
Vulnrichment
No data.
NVD
Status : Modified
Published: 2023-06-09T19:15:09.313
Modified: 2024-11-21T07:58:39.010
Link: CVE-2023-2455
Redhat