Live threats

All CVEs / Postgresql

CVE-2023-2455Postgresql

Medium 5.4

Priority
32
CVSS 3.1
5.4
EPSS
0.9%
probability of exploitation in 30 days · percentile 57
Auth required
Yes
Published
Jun 9, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Postgresql.

Affected products (CPE)

VendorProductVersions
postgresqlpostgresql≥ 11.0 < 11.20
postgresqlpostgresql≥ 12.0 < 12.15
postgresqlpostgresql≥ 13.0 < 13.11
postgresqlpostgresql≥ 14.0 < 14.8
postgresqlpostgresql≥ 15.0 < 15.3
redhatsoftware_collectionsall
redhatenterprise_linux8.0
redhatenterprise_linux9.0
fedoraprojectfedora38

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.