CVE-2023-2455

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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
5.4 MEDIUM
NETWORK
LOW
LOW
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
redhatCNA
---
---
CVEADP
---
---
CISA-ADPADP
5.4 MEDIUM
NETWORK
LOW
LOW
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Base Score
CVSS 3.x
EPSS Score
Percentile: 44%
VendorProductVersion
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_collections
-
redhatenterprise_linux
8.0
redhatenterprise_linux
9.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
postgresql-13
bullseye
13.16-0+deb11u1
fixed
bullseye (security)
13.18-0+deb11u1
fixed
postgresql-15
bookworm
15.8-0+deb12u1
fixed
bookworm (security)
15.10-0+deb12u1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
postgresql
oracular
dne
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
focal
dne
bionic
dne
xenial
ignored
trusty
ignored
postgresql-10
oracular
dne
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
focal
dne
bionic
Fixed 10.23-0ubuntu0.18.04.2
released
xenial
dne
trusty
dne
postgresql-12
oracular
dne
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
focal
Fixed 12.15-0ubuntu0.20.04.1
released
bionic
dne
xenial
dne
trusty
ignored
postgresql-14
oracular
dne
noble
dne
mantic
dne
lunar
dne
kinetic
Fixed 14.8-0ubuntu0.22.10.1
released
jammy
Fixed 14.8-0ubuntu0.22.04.1
released
focal
dne
bionic
dne
xenial
dne
trusty
dne
postgresql-15
oracular
dne
noble
dne
mantic
not-affected
lunar
Fixed 15.3-0ubuntu0.23.04.1
released
kinetic
dne
jammy
dne
focal
dne
bionic
dne
xenial
ignored
trusty
ignored
postgresql-9.1
oracular
dne
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
focal
dne
bionic
dne
xenial
dne
trusty
ignored
postgresql-9.3
oracular
dne
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
focal
dne
bionic
dne
xenial
dne
trusty
ignored
postgresql-9.5
oracular
dne
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
focal
dne
bionic
dne
xenial
ignored
trusty
dne