{"id":"CVE-2023-2454","year":2023,"sequence":2454,"component":"core server","score":7.2,"cvss_version":"3.0","vector":"AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","first_published":"2023-05-11","source_url":"https://www.postgresql.org/support/security/CVE-2023-2454/","facts":{"affected":{"11":"11","12":"12","13":"13","14":"14","15":"15"},"component":"core server","cvss_version":"3.0","description_en":"This enabled an attacker having database-level CREATE privilege to execute arbitrary code as the bootstrap superuser. Database owners have that right by default, and explicit grants may extend it to other users.\n\nThe PostgreSQL project thanks Alexander Lakhin for reporting this problem.","first_published":"2023-05-11","fixed":{"11":"11.20","12":"12.15","13":"13.11","14":"14.8","15":"15.3"},"id":"CVE-2023-2454","introduced":{},"published":{"11":"2023-05-11","12":"2023-05-11","13":"2023-05-11","14":"2023-05-11","15":"2023-05-11"},"score":7.2,"title":"CREATE SCHEMA ... schema_element defeats protective search_path changes","url":"https://www.postgresql.org/support/security/CVE-2023-2454/","vector":"AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"},"reviewed_hash":"6a65a7884245936f6adaef8709d290d460e999dfce1ad78734fa7c9a324ed325","source_hash":"965b9e2323feab543f3cbeb74c418c3a5b43cbefc6594d2862ff0d24dcf8e6a2","text":{"locale":"zh-Hans","title":"CREATE SCHEMA ... schema_element 会绕过保护性的 search_path 修改","description":"CREATE SCHEMA ... schema_element 会绕过保护性的 search_path 修改","details":null,"format":"markdown","provenance":{"identity":"immutable_cve_code","sources":[{"observed_at":"2026-10-03 12:08:35.169032+08","raw":{"component":"core server","cve":"2023-2454","cvenumber":202302454,"description":"CREATE SCHEMA ... schema_element 会绕过保护性的 search_path 修改","details":null,"detailslink":"https://access.redhat.com/security/cve/CVE-2023-2454","id":26,"legacyscore":"","newspost_id":null,"public":true,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"},"source":"center","source_id":26,"source_table_sha256":"b57ee28b2263464208af0ccf7512b31f0c1ab7140d12dda09a0c87de341f1372"},{"observed_at":"2026-10-03 12:08:55.967155+08","raw":{"component":"core server","cve":"2023-2454","cvenumber":202302454,"description":"CREATE SCHEMA ... schema_element 会绕过保护性的 search_path 修改","details":null,"detailslink":"https://access.redhat.com/security/cve/CVE-2023-2454","id":26,"legacyscore":"","newspost_id":null,"public":true,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"},"source":"pgweb","source_id":26,"source_table_sha256":"b57ee28b2263464208af0ccf7512b31f0c1ab7140d12dda09a0c87de341f1372"}]},"text_hash":"f9cbc22c7c6df2a83954fd8fc4c3ec942c2c97f944c36f1ce6f32bf1501120ef"},"locales":["en","zh-Hans"],"fixes":[{"major":"11","fixed_version":"11.20","introduced":null,"published_date":"2023-05-11","facts":{"fixed":"11.20","introduced":null,"published":"2023-05-11"}},{"major":"12","fixed_version":"12.15","introduced":null,"published_date":"2023-05-11","facts":{"fixed":"12.15","introduced":null,"published":"2023-05-11"}},{"major":"13","fixed_version":"13.11","introduced":null,"published_date":"2023-05-11","facts":{"fixed":"13.11","introduced":null,"published":"2023-05-11"}},{"major":"14","fixed_version":"14.8","introduced":null,"published_date":"2023-05-11","facts":{"fixed":"14.8","introduced":null,"published":"2023-05-11"}},{"major":"15","fixed_version":"15.3","introduced":null,"published_date":"2023-05-11","facts":{"fixed":"15.3","introduced":null,"published":"2023-05-11"}}],"legacy":[{"source":"center","source_id":26,"observed_at":"2026-10-03 12:08:35.169032+08","raw":{"id":26,"cve":"2023-2454","public":true,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","details":null,"component":"core server","cvenumber":202302454,"description":"CREATE SCHEMA ... schema_element 会绕过保护性的 search_path 修改","detailslink":"https://access.redhat.com/security/cve/CVE-2023-2454","legacyscore":"","newspost_id":null},"fixes":[{"source_id":91,"source_version_id":28,"major":"15","fixed_minor":3,"raw":{"id":91,"patch_id":26,"version_id":28,"fixed_minor":3},"version_raw":{"id":28,"tree":15.0,"current":false,"docsgit":"","eoldate":"2027-11-11","reldate":"2026-08-13","testing":0,"supported":true,"docsloaded":"2026-09-27T08:10:47.078613+08:00","latestminor":19,"firstreldate":"2022-10-13"}},{"source_id":92,"source_version_id":27,"major":"14","fixed_minor":8,"raw":{"id":92,"patch_id":26,"version_id":27,"fixed_minor":8},"version_raw":{"id":27,"tree":14.0,"current":false,"docsgit":"","eoldate":"2026-11-12","reldate":"2026-08-13","testing":0,"supported":true,"docsloaded":"2026-09-27T08:10:47.078613+08:00","latestminor":24,"firstreldate":"2021-09-30"}}]},{"source":"pgweb","source_id":26,"observed_at":"2026-10-03 12:08:55.967155+08","raw":{"id":26,"cve":"2023-2454","public":true,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","details":null,"component":"core server","cvenumber":202302454,"description":"CREATE SCHEMA ... schema_element 会绕过保护性的 search_path 修改","detailslink":"https://access.redhat.com/security/cve/CVE-2023-2454","legacyscore":"","newspost_id":null},"fixes":[{"source_id":91,"source_version_id":28,"major":"15","fixed_minor":3,"raw":{"id":91,"patch_id":26,"version_id":28,"fixed_minor":3},"version_raw":{"id":28,"tree":15.0,"current":false,"docsgit":"","eoldate":"2027-11-11","reldate":"2026-08-13","testing":0,"supported":true,"docsloaded":"2026-09-27T00:10:45.258078+08:00","latestminor":19,"firstreldate":"2022-10-13"}},{"source_id":92,"source_version_id":27,"major":"14","fixed_minor":8,"raw":{"id":92,"patch_id":26,"version_id":27,"fixed_minor":8},"version_raw":{"id":27,"tree":14.0,"current":false,"docsgit":"","eoldate":"2026-11-12","reldate":"2026-08-13","testing":0,"supported":true,"docsloaded":"2026-09-27T00:10:45.258078+08:00","latestminor":24,"firstreldate":"2021-09-30"}}]}]}
