CVE-2023-2455

MEDIUM

PostgreSQL 11.0-11.19 - Incorrect Row Security Policy Application via Role Change

Title source: llm
STIX 2.1

Description

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.

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