{"id":"ALSA-2023:7884","summary":"Important: postgresql:15 security update","details":"PostgreSQL is an advanced object-relational database management system (DBMS).\n\nSecurity Fix(es):\n\n* postgresql: Buffer overrun from integer overflow in array modification (CVE-2023-5869)\n* postgresql: Memory disclosure in aggregate function calls (CVE-2023-5868)\n* postgresql: extension script @substitutions@ within quoting allow SQL injection (CVE-2023-39417)\n* postgresql: Role pg_signal_backend can signal certain superuser processes. (CVE-2023-5870)\n* postgresql: MERGE fails to enforce UPDATE or SELECT row security policies (CVE-2023-39418)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.","modified":"2026-01-30T01:32:16.907050Z","published":"2023-12-20T00:00:00Z","related":["CVE-2023-39417","CVE-2023-39418","CVE-2023-5868","CVE-2023-5869","CVE-2023-5870"],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2023:7884"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2023-39417"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2023-39418"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2023-5868"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2023-5869"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2023-5870"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2228111"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2228112"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2247168"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2247169"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2247170"},{"type":"ADVISORY","url":"https://errata.almalinux.org/8/ALSA-2023-7884.html"}],"affected":[{"package":{"name":"pg_repack","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/pg_repack"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.8-1.module_el8.8.0+3487+43ec1b9f"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:7884.json"}},{"package":{"name":"pgaudit","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/pgaudit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.0-1.module_el8.8.0+3487+43ec1b9f"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:7884.json"}},{"package":{"name":"postgres-decoderbufs","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgres-decoderbufs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.7-1.Final.module_el8.8.0+3487+43ec1b9f"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:7884.json"}},{"package":{"name":"postgresql","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"15.5-1.module_el8.9.0+3706+885c732e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:7884.json"}},{"package":{"name":"postgresql-contrib","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-contrib"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"15.5-1.module_el8.9.0+3706+885c732e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:7884.json"}},{"package":{"name":"postgresql-docs","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-docs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"15.5-1.module_el8.9.0+3706+885c732e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:7884.json"}},{"package":{"name":"postgresql-plperl","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-plperl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"15.5-1.module_el8.9.0+3706+885c732e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:7884.json"}},{"package":{"name":"postgresql-plpython3","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-plpython3"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"15.5-1.module_el8.9.0+3706+885c732e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:7884.json"}},{"package":{"name":"postgresql-pltcl","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-pltcl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"15.5-1.module_el8.9.0+3706+885c732e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:7884.json"}},{"package":{"name":"postgresql-private-devel","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-private-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"15.5-1.module_el8.9.0+3706+885c732e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:7884.json"}},{"package":{"name":"postgresql-private-libs","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-private-libs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"15.5-1.module_el8.9.0+3706+885c732e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:7884.json"}},{"package":{"name":"postgresql-server","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-server"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"15.5-1.module_el8.9.0+3706+885c732e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:7884.json"}},{"package":{"name":"postgresql-server-devel","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-server-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"15.5-1.module_el8.9.0+3706+885c732e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:7884.json"}},{"package":{"name":"postgresql-static","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-static"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"15.5-1.module_el8.9.0+3706+885c732e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:7884.json"}},{"package":{"name":"postgresql-test","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-test"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"15.5-1.module_el8.9.0+3706+885c732e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:7884.json"}},{"package":{"name":"postgresql-test-rpm-macros","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-test-rpm-macros"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"15.5-1.module_el8.9.0+3706+885c732e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:7884.json"}},{"package":{"name":"postgresql-upgrade","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-upgrade"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"15.5-1.module_el8.9.0+3706+885c732e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:7884.json"}},{"package":{"name":"postgresql-upgrade-devel","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-upgrade-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"15.5-1.module_el8.9.0+3706+885c732e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:7884.json"}}],"schema_version":"1.7.3"}