CVE-2023-2455
Severity CVSS v4.0:
Pending analysis
Type:
CWE-20
Input Validation
Publication date:
09/06/2023
Last modified:
06/01/2025
Description
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.
Impact
Base Score 3.x
5.40
Severity 3.x
MEDIUM
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* | 11.0 (including) | 11.20 (excluding) |
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* | 12.0 (including) | 12.15 (excluding) |
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* | 13.0 (including) | 13.11 (excluding) |
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* | 14.0 (including) | 14.8 (excluding) |
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* | 15.0 (including) | 15.3 (excluding) |
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:*:*:*:*:*:*:* | ||
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://access.redhat.com/security/cve/CVE-2023-2455
- https://security.netapp.com/advisory/ntap-20230706-0006/
- https://www.postgresql.org/support/security/CVE-2023-2455/
- https://access.redhat.com/security/cve/CVE-2023-2455
- https://security.netapp.com/advisory/ntap-20230706-0006/
- https://www.postgresql.org/support/security/CVE-2023-2455/