CVE-2023-2455
Last modified
CVE-2023-2455 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 0.69% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Postgresql | Postgresql | >= 11.0, < 11.20 |
| Postgresql | Postgresql | >= 12.0, < 12.15 |
| Postgresql | Postgresql | >= 13.0, < 13.11 |
| Postgresql | Postgresql | >= 14.0, < 14.8 |
| Postgresql | Postgresql | >= 15.0, < 15.3 |
| Redhat | Software Collections | All versions |
| Redhat | Enterprise Linux | 8.0 |
| Redhat | Enterprise Linux | 9.0 |
| Fedoraproject | Fedora | 38 |
References
- https://access.redhat.com/security/cve/CVE-2023-2455Third Party Advisory
- https://www.postgresql.org/support/security/CVE-2023-2455/Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2023-2455Third Party Advisory
- https://www.postgresql.org/support/security/CVE-2023-2455/Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-2455?
How severe is CVE-2023-2455?
How do I fix CVE-2023-2455?
Are you affected by CVE-2023-2455?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
