{"api_version":"1","generated_at":"2026-04-22T21:27:15+00:00","cve":"CVE-2023-2455","urls":{"html":"https://cve.report/CVE-2023-2455","api":"https://cve.report/api/cve/CVE-2023-2455.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-2455","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-2455"},"summary":{"title":"CVE-2023-2455","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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2023-06-09 19:15:00","updated_at":"2023-07-06 19:15:00"},"problem_types":["NVD-CWE-noinfo"],"metrics":[],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2023-2455","name":"https://access.redhat.com/security/cve/CVE-2023-2455","refsource":"MISC","tags":[],"title":"cve-details","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.postgresql.org/support/security/CVE-2023-2455/","name":"https://www.postgresql.org/support/security/CVE-2023-2455/","refsource":"MISC","tags":[],"title":"PostgreSQL: CVE-2023-2455: Row security policies disregard user ID changes after inlining","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.netapp.com/advisory/ntap-20230706-0006/","name":"https://security.netapp.com/advisory/ntap-20230706-0006/","refsource":"CONFIRM","tags":[],"title":"403 Forbidden","mime":"text/html","httpstatus":"403","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-2455","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2455","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"2455","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"38","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"2455","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"postgresql","cpe5":"postgresql","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"2455","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"2455","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"2455","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"software_collections","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-2455","qid":"160753","title":"Oracle Enterprise Linux Security Update for postgresql (ELSA-2023-3714)"},{"cve":"CVE-2023-2455","qid":"160823","title":"Oracle Enterprise Linux Security Update for 15 (ELSA-2023-4327)"},{"cve":"CVE-2023-2455","qid":"160851","title":"Oracle Enterprise Linux Security Update for postgresql:12 (ELSA-2023-4535)"},{"cve":"CVE-2023-2455","qid":"160855","title":"Oracle Enterprise Linux Security Update for postgresql:13 (ELSA-2023-4527)"},{"cve":"CVE-2023-2455","qid":"160865","title":"Oracle Enterprise Linux Security Update for postgresql:10 (ELSA-2023-4539)"},{"cve":"CVE-2023-2455","qid":"160930","title":"Oracle Enterprise Linux Security Update for postgresql:15 (ELSA-2023-5269)"},{"cve":"CVE-2023-2455","qid":"181779","title":"Debian Security Update for postgresql-13 (DSA 5401-1)"},{"cve":"CVE-2023-2455","qid":"181785","title":"Debian Security Update for postgresql-11 (DLA 3422-1)"},{"cve":"CVE-2023-2455","qid":"184042","title":"Debian Security Update for postgresql-15 (CVE-2023-2455)"},{"cve":"CVE-2023-2455","qid":"199364","title":"Ubuntu Security Notification for PostgreSQL Vulnerabilities (USN-6104-1)"},{"cve":"CVE-2023-2455","qid":"241734","title":"Red Hat Update for postgresql (RHSA-2023:3714)"},{"cve":"CVE-2023-2455","qid":"241866","title":"Red Hat Update for rh-postgresql12-postgresql (RHSA-2023:4313)"},{"cve":"CVE-2023-2455","qid":"241869","title":"Red Hat Update for postgresql:15 (RHSA-2023:4327)"},{"cve":"CVE-2023-2455","qid":"241925","title":"Red Hat Update for postgresql:10 (RHSA-2023:4539)"},{"cve":"CVE-2023-2455","qid":"241935","title":"Red Hat Update for postgresql:13 (RHSA-2023:4527)"},{"cve":"CVE-2023-2455","qid":"241942","title":"Red Hat Update for postgresql:12 (RHSA-2023:4535)"},{"cve":"CVE-2023-2455","qid":"242069","title":"Red Hat Update for postgresql:15 (RHSA-2023:5269)"},{"cve":"CVE-2023-2455","qid":"242527","title":"Red Hat Update for postgresql (RHSA-2023:7545)"},{"cve":"CVE-2023-2455","qid":"242534","title":"Red Hat Update for postgresql:13 (RHSA-2023:7580)"},{"cve":"CVE-2023-2455","qid":"242546","title":"Red Hat Update for postgresql:12 (RHSA-2023:7666)"},{"cve":"CVE-2023-2455","qid":"242547","title":"Red Hat Update for postgresql:12 (RHSA-2023:7667)"},{"cve":"CVE-2023-2455","qid":"242550","title":"Red Hat Update for postgresql:13 (RHSA-2023:7695)"},{"cve":"CVE-2023-2455","qid":"242552","title":"Red Hat Update for postgresql:12 (RHSA-2023:7694)"},{"cve":"CVE-2023-2455","qid":"242592","title":"Red Hat Update for rh-postgresql13-postgresql (RHSA-2023:7772)"},{"cve":"CVE-2023-2455","qid":"356172","title":"Amazon Linux Security Advisory for postgresql : ALASPOSTGRESQL13-2023-001"},{"cve":"CVE-2023-2455","qid":"356278","title":"Amazon Linux Security Advisory for postgresql : ALASPOSTGRESQL12-2023-001"},{"cve":"CVE-2023-2455","qid":"356294","title":"Amazon Linux Security Advisory for postgresql : ALASPOSTGRESQL11-2023-001"},{"cve":"CVE-2023-2455","qid":"356297","title":"Amazon Linux Security Advisory for postgresql : ALASPOSTGRESQL14-2023-001"},{"cve":"CVE-2023-2455","qid":"356475","title":"Amazon Linux Security Advisory for postgresql : ALAS2POSTGRESQL13-2023-001"},{"cve":"CVE-2023-2455","qid":"356538","title":"Amazon Linux Security Advisory for postgresql15 : ALAS2023-2023-387"},{"cve":"CVE-2023-2455","qid":"378894","title":"Alibaba Cloud Linux Security Update for postgresql:13 (ALINUX3-SA-2023:0109)"},{"cve":"CVE-2023-2455","qid":"503001","title":"Alpine Linux Security Update for postgresql"},{"cve":"CVE-2023-2455","qid":"503002","title":"Alpine Linux Security Update for postgresql"},{"cve":"CVE-2023-2455","qid":"503003","title":"Alpine Linux Security Update for postgresql13"},{"cve":"CVE-2023-2455","qid":"503004","title":"Alpine Linux Security Update for postgresql14"},{"cve":"CVE-2023-2455","qid":"503005","title":"Alpine Linux Security Update for postgresql12"},{"cve":"CVE-2023-2455","qid":"503006","title":"Alpine Linux Security Update for postgresql15"},{"cve":"CVE-2023-2455","qid":"503007","title":"Alpine Linux Security Update for postgresql12"},{"cve":"CVE-2023-2455","qid":"505795","title":"Alpine Linux Security Update for postgresql12"},{"cve":"CVE-2023-2455","qid":"505796","title":"Alpine Linux Security Update for postgresql13"},{"cve":"CVE-2023-2455","qid":"673920","title":"EulerOS Security Update for postgresql (EulerOS-SA-2023-3146)"},{"cve":"CVE-2023-2455","qid":"691166","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for postgresql (4b636f50-f011-11ed-bbae-6cc21735f730)"},{"cve":"CVE-2023-2455","qid":"754006","title":"SUSE Enterprise Linux Security Update for postgresql15 (SUSE-SU-2023:2207-1)"},{"cve":"CVE-2023-2455","qid":"754007","title":"SUSE Enterprise Linux Security Update for postgresql15 (SUSE-SU-2023:2206-1)"},{"cve":"CVE-2023-2455","qid":"754008","title":"SUSE Enterprise Linux Security Update for postgresql14 (SUSE-SU-2023:2205-1)"},{"cve":"CVE-2023-2455","qid":"754010","title":"SUSE Enterprise Linux Security Update for postgresql14 (SUSE-SU-2023:2202-1)"},{"cve":"CVE-2023-2455","qid":"754011","title":"SUSE Enterprise Linux Security Update for postgresql13 (SUSE-SU-2023:2201-1)"},{"cve":"CVE-2023-2455","qid":"754012","title":"SUSE Enterprise Linux Security Update for postgresql12 (SUSE-SU-2023:2200-1)"},{"cve":"CVE-2023-2455","qid":"754013","title":"SUSE Enterprise Linux Security Update for postgresql12 (SUSE-SU-2023:2199-1)"},{"cve":"CVE-2023-2455","qid":"754014","title":"SUSE Enterprise Linux Security Update for postgresql12 (SUSE-SU-2023:2198-1)"},{"cve":"CVE-2023-2455","qid":"754016","title":"SUSE Enterprise Linux Security Update for postgresql13 (SUSE-SU-2023:2219-1)"},{"cve":"CVE-2023-2455","qid":"941148","title":"AlmaLinux Security Update for postgresql (ALSA-2023:3714)"},{"cve":"CVE-2023-2455","qid":"941204","title":"AlmaLinux Security Update for postgresql:15 (ALSA-2023:4327)"},{"cve":"CVE-2023-2455","qid":"941224","title":"AlmaLinux Security Update for postgresql:12 (ALSA-2023:4535)"},{"cve":"CVE-2023-2455","qid":"941225","title":"AlmaLinux Security Update for postgresql:13 (ALSA-2023:4527)"},{"cve":"CVE-2023-2455","qid":"941226","title":"AlmaLinux Security Update for postgresql:10 (ALSA-2023:4539)"},{"cve":"CVE-2023-2455","qid":"941260","title":"AlmaLinux Security Update for postgresql:15 (ALSA-2023:5269)"},{"cve":"CVE-2023-2455","qid":"960966","title":"Rocky Linux Security Update for postgresql:15 (RLSA-2023:4327)"},{"cve":"CVE-2023-2455","qid":"961028","title":"Rocky Linux Security Update for postgresql:12 (RLSA-2023:4535)"},{"cve":"CVE-2023-2455","qid":"961043","title":"Rocky Linux Security Update for postgresql:13 (RLSA-2023:4527)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2023-2455","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"postgresql","version":{"version_data":[{"version_value":"PostgreSQL 15.3, PostgreSQL 14.8, PostgreSQL 13.11, PostgreSQL 12.15, PostgreSQL 11.20"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-20"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://access.redhat.com/security/cve/CVE-2023-2455","url":"https://access.redhat.com/security/cve/CVE-2023-2455"},{"refsource":"MISC","name":"https://www.postgresql.org/support/security/CVE-2023-2455/","url":"https://www.postgresql.org/support/security/CVE-2023-2455/"},{"refsource":"CONFIRM","name":"https://security.netapp.com/advisory/ntap-20230706-0006/","url":"https://security.netapp.com/advisory/ntap-20230706-0006/"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]}},"nvd":{"publishedDate":"2023-06-09 19:15:00","lastModifiedDate":"2023-07-06 19:15:00","problem_types":["NVD-CWE-noinfo"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":2.5}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*","versionStartIncluding":"15.0","versionEndExcluding":"15.3","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*","versionStartIncluding":"14.0","versionEndExcluding":"14.8","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*","versionStartIncluding":"13.0","versionEndExcluding":"13.11","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*","versionStartIncluding":"12.0","versionEndExcluding":"12.15","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*","versionStartIncluding":"11.0","versionEndExcluding":"11.20","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redhat:software_collections:-:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}