{"id":"ALSA-2024:0974","summary":"Important: postgresql:12 security update","details":"PostgreSQL is an advanced object-relational database management system (DBMS).\n\nSecurity Fix(es):\n\n* postgresql: non-owner 'REFRESH MATERIALIZED VIEW CONCURRENTLY' executes arbitrary SQL (CVE-2024-0985)\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-02-04T03:06:41.923463Z","published":"2024-02-26T00:00:00Z","related":["CVE-2024-0985"],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:0974"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2024-0985"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2263384"},{"type":"ADVISORY","url":"https://errata.almalinux.org/8/ALSA-2024-0974.html"}],"affected":[{"package":{"name":"pg_repack","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/pg_repack"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.6-3.module_el8.6.0+3094+eb237fb8"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:0974.json"}},{"package":{"name":"pg_repack","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/pg_repack"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.6-3.module_el8.6.0+2758+4f4474df"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:0974.json"}},{"package":{"name":"pg_repack","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/pg_repack"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.6-3.module_el8.9.0+3704+f1f917ce"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:0974.json"}},{"package":{"name":"pgaudit","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/pgaudit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.0-7.module_el8.9.0+3740+0e74851f.alma.1"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:0974.json"}},{"package":{"name":"postgres-decoderbufs","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgres-decoderbufs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.0-2.module_el8.6.0+3094+eb237fb8"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:0974.json"}},{"package":{"name":"postgres-decoderbufs","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgres-decoderbufs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.0-2.module_el8.9.0+3704+f1f917ce"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:0974.json"}},{"package":{"name":"postgres-decoderbufs","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgres-decoderbufs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.0-2.module_el8.6.0+2758+4f4474df"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:0974.json"}},{"package":{"name":"postgresql","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.18-1.module_el8.9.0+3740+0e74851f.alma.1"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:0974.json"}},{"package":{"name":"postgresql-contrib","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-contrib"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.18-1.module_el8.9.0+3740+0e74851f.alma.1"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:0974.json"}},{"package":{"name":"postgresql-docs","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-docs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.18-1.module_el8.9.0+3740+0e74851f.alma.1"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:0974.json"}},{"package":{"name":"postgresql-plperl","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-plperl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.18-1.module_el8.9.0+3740+0e74851f.alma.1"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:0974.json"}},{"package":{"name":"postgresql-plpython3","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-plpython3"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.18-1.module_el8.9.0+3740+0e74851f.alma.1"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:0974.json"}},{"package":{"name":"postgresql-pltcl","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-pltcl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.18-1.module_el8.9.0+3740+0e74851f.alma.1"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:0974.json"}},{"package":{"name":"postgresql-server","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-server"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.18-1.module_el8.9.0+3740+0e74851f.alma.1"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:0974.json"}},{"package":{"name":"postgresql-server-devel","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-server-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.18-1.module_el8.9.0+3740+0e74851f.alma.1"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:0974.json"}},{"package":{"name":"postgresql-static","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-static"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.18-1.module_el8.9.0+3740+0e74851f.alma.1"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:0974.json"}},{"package":{"name":"postgresql-test","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-test"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.18-1.module_el8.9.0+3740+0e74851f.alma.1"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:0974.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":"12.18-1.module_el8.9.0+3740+0e74851f.alma.1"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:0974.json"}},{"package":{"name":"postgresql-upgrade","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-upgrade"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.18-1.module_el8.9.0+3740+0e74851f.alma.1"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:0974.json"}},{"package":{"name":"postgresql-upgrade-devel","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-upgrade-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.18-1.module_el8.9.0+3740+0e74851f.alma.1"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2024:0974.json"}}],"schema_version":"1.7.3"}