{"id":"ALSA-2021:2360","summary":"Important: postgresql:9.6 security update","details":"PostgreSQL is an advanced object-relational database management system (DBMS).\n\nThe following packages have been upgraded to a later upstream version: postgresql (9.6.22)\n\nSecurity Fix(es):\n\n* postgresql: Buffer overrun from integer overflow in array subscripting calculations (CVE-2021-32027)\n\n* postgresql: Memory disclosure in INSERT ... ON CONFLICT ... DO UPDATE (CVE-2021-32028)\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:19:50.716979Z","published":"2021-06-09T11:21:04Z","related":["CVE-2021-32027","CVE-2021-32028"],"references":[{"type":"ADVISORY","url":"https://errata.almalinux.org/8/ALSA-2021-2360.html"},{"type":"REPORT","url":"https://vulners.com/cve/CVE-2021-32027"},{"type":"REPORT","url":"https://vulners.com/cve/CVE-2021-32028"}],"affected":[{"package":{"name":"postgresql","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.4.0+2492+beebcf7e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.4.0+2479+beebcf7e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.5.0+58+52470387"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql-contrib","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-contrib"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.5.0+58+52470387"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql-contrib","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-contrib"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.4.0+2492+beebcf7e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql-contrib","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-contrib"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.4.0+2479+beebcf7e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql-docs","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-docs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.4.0+2492+beebcf7e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql-docs","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-docs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.4.0+2479+beebcf7e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql-docs","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-docs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.5.0+58+52470387"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql-plperl","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-plperl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.4.0+2479+beebcf7e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql-plperl","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-plperl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.5.0+58+52470387"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql-plperl","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-plperl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.4.0+2492+beebcf7e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql-plpython3","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-plpython3"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.4.0+2479+beebcf7e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql-plpython3","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-plpython3"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.5.0+58+52470387"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql-plpython3","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-plpython3"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.4.0+2492+beebcf7e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql-pltcl","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-pltcl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.4.0+2479+beebcf7e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql-pltcl","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-pltcl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.5.0+58+52470387"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql-pltcl","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-pltcl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.4.0+2492+beebcf7e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql-server","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-server"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.5.0+58+52470387"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql-server","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-server"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.4.0+2492+beebcf7e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql-server","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-server"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.4.0+2479+beebcf7e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql-server-devel","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-server-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.4.0+2492+beebcf7e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql-server-devel","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-server-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.4.0+2479+beebcf7e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql-server-devel","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-server-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.5.0+58+52470387"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql-static","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-static"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.4.0+2479+beebcf7e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql-static","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-static"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.5.0+58+52470387"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql-static","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-static"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.4.0+2492+beebcf7e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql-test","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-test"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.4.0+2479+beebcf7e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql-test","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-test"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.4.0+2492+beebcf7e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}},{"package":{"name":"postgresql-test","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/postgresql-test"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.6.22-1.module_el8.5.0+58+52470387"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.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":"9.6.22-1.module_el8.4.0+2479+beebcf7e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.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":"9.6.22-1.module_el8.5.0+58+52470387"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.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":"9.6.22-1.module_el8.4.0+2492+beebcf7e"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:2360.json"}}],"schema_version":"1.7.3"}