{"id":"BIT-postgresql-2023-2455","details":"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.","aliases":["CVE-2023-2455"],"modified":"2025-04-03T14:40:37.652Z","published":"2024-03-06T11:03:24.881Z","database_specific":{"cpes":["cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*"],"severity":"Medium"},"references":[{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-2455"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20230706-0006/"},{"type":"WEB","url":"https://www.postgresql.org/support/security/CVE-2023-2455/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2455"}],"affected":[{"package":{"name":"postgresql","ecosystem":"Bitnami","purl":"pkg:bitnami/postgresql"},"ranges":[{"type":"SEMVER","events":[{"introduced":"11.0.0"},{"fixed":"11.20.0"},{"introduced":"12.0.0"},{"fixed":"12.15.0"},{"introduced":"13.0.0"},{"fixed":"13.11.0"},{"introduced":"14.0.0"},{"fixed":"14.8.0"},{"introduced":"15.0.0"},{"fixed":"15.3.0"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/postgresql/BIT-postgresql-2023-2455.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"}]}],"schema_version":"1.7.3"}