{"id":"CVE-2023-2455","published":"2023-06-09T00:00:00Z","modified":"2025-01-06T17:13:23Z","title":"Row security policies disregard user ID changes after inlining; PostgreSQL could permit incorrect policies to be…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.007,"percentile":0.54073,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2023-2455","tags":[]},{"url":"https://www.postgresql.org/support/security/CVE-2023-2455/","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20230706-0006/","tags":[]}],"priority":{"score":14.6,"factors":[{"name":"EPSS percentile","points":10.81},{"name":"CVSS severity","points":3.78}]},"affectedVersions":[{"vendor":"n/a","product":"postgresql","versions":["PostgreSQL 15.3, PostgreSQL 14.8, PostgreSQL 13.11, PostgreSQL 12.15, PostgreSQL 11.20"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-01-06T17:13:19.051067Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-33940","exploited":false,"provenance":"source"}}