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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:a:redhat:software_collections:-:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*

Configuration 3 (hide)

cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*

History

06 Jul 2023, 19:15

Type Values Removed Values Added
References
  • (CONFIRM) https://security.netapp.com/advisory/ntap-20230706-0006/ -

16 Jun 2023, 16:24

Type Values Removed Values Added
CPE cpe:2.3:a:redhat:software_collections:-:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
References (MISC) https://www.postgresql.org/support/security/CVE-2023-2455/ - (MISC) https://www.postgresql.org/support/security/CVE-2023-2455/ - Vendor Advisory
References (MISC) https://access.redhat.com/security/cve/CVE-2023-2455 - (MISC) https://access.redhat.com/security/cve/CVE-2023-2455 - Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.4
CWE NVD-CWE-noinfo

09 Jun 2023, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-06-09 19:15

Updated : 2024-02-04 23:37


NVD link : CVE-2023-2455

Mitre link : CVE-2023-2455

CVE.ORG link : CVE-2023-2455


JSON object : View

Products Affected

postgresql

  • postgresql

redhat

  • software_collections
  • enterprise_linux

fedoraproject

  • fedora
CWE
NVD-CWE-noinfo CWE-20

Improper Input Validation