CVE-2023-2455

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-2455
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-2455.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-2455
Aliases
Downstream
Related
Published
2023-06-09T19:15:09Z
Modified
2025-10-21T13:11:44.901569Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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

Affected packages

Git / git.postgresql.org/git/postgresql.git

Affected ranges

Type
GIT
Repo
https://git.postgresql.org/git/postgresql.git
Events
Introduced
19f20081df059fef87e14c8e953669bd173dd7f1
Fixed
f96e531b1c079ae148b927a204845c7150a573f8

Affected versions

Other

REL_11_0
REL_11_1
REL_11_10
REL_11_11
REL_11_12
REL_11_13
REL_11_14
REL_11_15
REL_11_16
REL_11_17
REL_11_18
REL_11_19
REL_11_2
REL_11_3
REL_11_4
REL_11_5
REL_11_6
REL_11_7
REL_11_8
REL_11_9