CVE-2023-2455: Fedoraproject Fedora
Medium severity, CVSS 5.4. EPSS: 0.7% chance of exploitation in the next 30 days.
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.
Affected products
- Fedoraproject Fedora: version 38 only
- PostgreSQL PostgreSQL: from 11.0, before 11.20 (fixed in 11.20); from 12.0, before 12.15 (fixed in 12.15); from 13.0, before 13.11 (fixed in 13.11); from 14.0, before 14.8 (fixed in 14.8); from 15.0, before 15.3 (fixed in 15.3)
- Red Hat Enterprise Linux: version 8.0 only; version 9.0 only
- Red Hat Software Collections: affected versions not specified
Published 2023-06-09. Last modified 2026-06-17.