Improper input validation in PostgreSQL
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.007 (51.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 51st percentile — 51.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.007 · newest: 0.007 · change: 0.000
Affected products
- PostgreSQL
- Fedoraproject Fedora — versions 38
- Red Hat Enterprise Linux — versions 8.0, 9.0
- Red Hat Software Collections
- PostgreSQL — versions PostgreSQL 15.3, PostgreSQL 14.8, PostgreSQL 13.11, PostgreSQL 12.15, PostgreSQL 11.20
Weakness classification (CWE)
Public proof-of-concept exploits
References
- access.redhat.com/security/cve/CVE-2023-2455 (Third Party Advisory)
- www.postgresql.org/support/security/CVE-2023-2455/ (Vendor Advisory)
- security.netapp.com/advisory/ntap-20230706-0006/
Frequently asked questions
- What is CVE-2023-2455?
- CVE-2023-2455 is a medium-severity vulnerability in PostgreSQL, classified under Improper Input Validation. CVSS score: 5.4/10. Published 2023-06-09.
- How severe is CVE-2023-2455?
- Medium severity. CVSS v3 base score is 5.4 out of 10.
- Is CVE-2023-2455 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.