CVE-2023-2455
MEDIUMPostgreSQL 11.0-11.19 - Incorrect Row Security Policy Application via Role Change
Title source: llmDescription
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.
References (3)
Core 3
Core References
Third Party Advisory
https://access.redhat.com/security/cve/CVE-2023-2455
Vendor Advisory
https://www.postgresql.org/support/security/CVE-2023-2455/
Vendor Advisory
https://security.netapp.com/advisory/ntap-20230706-0006/
Scores
CVSS v3
5.4
EPSS
0.0023
EPSS Percentile
45.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-20
Status
published
Products (5)
fedoraproject/fedora
38
postgresql/postgresql
11.0 - 11.20
redhat/enterprise_linux
8.0
redhat/enterprise_linux
9.0
redhat/software_collections
Published
Jun 09, 2023
Tracked Since
Feb 18, 2026