CVE-2021-32028
publishedpostgresql: Memory disclosure in INSERT ... ON CONFLICT ... DO UPDATE
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | postgresqlpostgresql 13.3, postgresql 12.7, postgresql 11.12, postgresql 10.17, postgresql 9.6.22 | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2POSTGRESQL11-2023-003 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2POSTGRESQL12-2023-004 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2POSTGRESQL13-2023-003 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 8 | postgresql | Advisory build | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| Alpine Linux | v3.10 | postgresql | Fixed | 11.12-r0 | Package fix record |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 10b | Advisory build | 0:10.17-1.module+el8.4.0+20190+84323769 | ELSA-2021-2361 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 10.17-1.module+el8.1.0+11246+8967ca4a | RHSA-2021:2392 |
| AlmaLinux | 8 | postgresql | Advisory build | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql | Advisory build | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| Alpine Linux | v3.11 | postgresql | Fixed | 12.7-r0 | Package fix record |
| Alpine Linux | v3.12 | postgresql | Fixed | 12.7-r0 | Package fix record |
| Alpine Linux | v3.13 | postgresql | Fixed | 13.3-r0 | Package fix record |
| Alpine Linux | v3.14 | postgresql | Fixed | 13.3-r0 | Package fix record |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 13b | Advisory build | 0:13.3-1.module+el8.4.0+20192+096f5771 | ELSA-2021-2375 |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 9.6b | Advisory build | 0:9.6.22-1.module+el8.4.0+20189+e6efae45 | ELSA-2021-2360 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 10b | Advisory build | 0:10.17-1.module+el8.4.0+20190+84323769 | ELSA-2021-2361 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 13b | Advisory build | 0:13.3-1.module+el8.4.0+20192+096f5771 | ELSA-2021-2375 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 9.6b | Advisory build | 0:9.6.22-1.module+el8.4.0+20189+e6efae45 | ELSA-2021-2360 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 10.17-1.module+el8.2.0+11247+01f3c012 | RHSA-2021:2390 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 10.17-1.module+el8.4.0+11249+895597ab | RHSA-2021:2361 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 12.7-1.module+el8.2.0+11251+7a3cc531 | RHSA-2021:2389 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 12.7-1.module+el8.4.0+11288+c193d6d7 | RHSA-2021:2372 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 13.3-1.module+el8.4.0+11254+85259292 | RHSA-2021:2375 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 9.6.22-1.module+el8.1.0+11236+e0bc3a70 | RHSA-2021:2393 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 9.6.22-1.module+el8.2.0+11238+a7309cb6 | RHSA-2021:2391 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 9.6.22-1.module+el8.4.0+11244+beebcf7e | RHSA-2021:2360 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 10.17-1.module+el8.1.0+11246+8967ca4a | RHSA-2021:2392 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 10.17-1.module+el8.2.0+11247+01f3c012 | RHSA-2021:2390 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 10.17-1.module+el8.4.0+11249+895597ab | RHSA-2021:2361 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 12.7-1.module+el8.2.0+11251+7a3cc531 | RHSA-2021:2389 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 12.7-1.module+el8.4.0+11288+c193d6d7 | RHSA-2021:2372 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 13.3-1.module+el8.4.0+11254+85259292 | RHSA-2021:2375 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 9.6.22-1.module+el8.1.0+11236+e0bc3a70 | RHSA-2021:2393 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 9.6.22-1.module+el8.2.0+11238+a7309cb6 | RHSA-2021:2391 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 9.6.22-1.module+el8.4.0+11244+beebcf7e | RHSA-2021:2360 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 10.17-1.module+el8.1.0+11246+8967ca4a | RHSA-2021:2392 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 10.17-1.module+el8.2.0+11247+01f3c012 | RHSA-2021:2390 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 10.17-1.module+el8.4.0+11249+895597ab | RHSA-2021:2361 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 12.7-1.module+el8.2.0+11251+7a3cc531 | RHSA-2021:2389 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 12.7-1.module+el8.4.0+11288+c193d6d7 | RHSA-2021:2372 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 13.3-1.module+el8.4.0+11254+85259292 | RHSA-2021:2375 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 9.6.22-1.module+el8.1.0+11236+e0bc3a70 | RHSA-2021:2393 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 9.6.22-1.module+el8.2.0+11238+a7309cb6 | RHSA-2021:2391 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 9.6.22-1.module+el8.4.0+11244+beebcf7e | RHSA-2021:2360 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 10.17-1.module+el8.1.0+11246+8967ca4a | RHSA-2021:2392 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 10.17-1.module+el8.2.0+11247+01f3c012 | RHSA-2021:2390 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 10.17-1.module+el8.4.0+11249+895597ab | RHSA-2021:2361 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 12.7-1.module+el8.2.0+11251+7a3cc531 | RHSA-2021:2389 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 12.7-1.module+el8.4.0+11288+c193d6d7 | RHSA-2021:2372 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 13.3-1.module+el8.4.0+11254+85259292 | RHSA-2021:2375 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 9.6.22-1.module+el8.1.0+11236+e0bc3a70 | RHSA-2021:2393 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 9.6.22-1.module+el8.2.0+11238+a7309cb6 | RHSA-2021:2391 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 9.6.22-1.module+el8.4.0+11244+beebcf7e | RHSA-2021:2360 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 10.17-1.module+el8.1.0+11246+8967ca4a | RHSA-2021:2392 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 10.17-1.module+el8.2.0+11247+01f3c012 | RHSA-2021:2390 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 10.17-1.module+el8.4.0+11249+895597ab | RHSA-2021:2361 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 12.7-1.module+el8.2.0+11251+7a3cc531 | RHSA-2021:2389 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 12.7-1.module+el8.4.0+11288+c193d6d7 | RHSA-2021:2372 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 13.3-1.module+el8.4.0+11254+85259292 | RHSA-2021:2375 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 9.6.22-1.module+el8.1.0+11236+e0bc3a70 | RHSA-2021:2393 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 9.6.22-1.module+el8.2.0+11238+a7309cb6 | RHSA-2021:2391 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 9.6.22-1.module+el8.4.0+11244+beebcf7e | RHSA-2021:2360 |
| AlmaLinux | 8 | pgaudit | Advisory build | 1.5.0-1.module_el8.5.0+2607+8c0fd184 | ALSA-2021:2375 |
| AlmaLinux | 8 | pgaudit | Advisory build | 1.5.0-1.module_el8.6.0+2760+1746ec94 | ALSA-2021:2375 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.5.0+2607+8c0fd184 | ALSA-2021:2375 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.6.0+2758+4f4474df | ALSA-2021:2372 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.6.0+2758+4f4474df | ALSA-2021:2375 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.6.0+2760+1746ec94 | ALSA-2021:2372 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.6.0+2760+1746ec94 | ALSA-2021:2375 |
| AlmaLinux | 8 | postgresql-contrib | Advisory build | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-contrib | Advisory build | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-contrib | Advisory build | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-docs | Advisory build | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-docs | Advisory build | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-docs | Advisory build | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-plperl | Advisory build | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-plperl | Advisory build | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-plperl | Advisory build | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-plpython3 | Advisory build | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-plpython3 | Advisory build | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-plpython3 | Advisory build | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-pltcl | Advisory build | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-pltcl | Advisory build | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-pltcl | Advisory build | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-server | Advisory build | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-server | Advisory build | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-server | Advisory build | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-server-devel | Advisory build | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-server-devel | Advisory build | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-server-devel | Advisory build | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-static | Advisory build | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-static | Advisory build | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-static | Advisory build | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-test | Advisory build | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-test | Advisory build | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-test | Advisory build | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-test-rpm-macros | Advisory build | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-test-rpm-macros | Advisory build | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux | 8 | postgresql-test-rpm-macros | Advisory build | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| Alpine Linux | v3.15 | postgresql13 | Fixed | 13.3-r0 | Package fix record |
| Alpine Linux | v3.15 | postgresql14 | Fixed | 13.3-r0 | Package fix record |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
A flaw was found in postgresql. Using an INSERT ... ON CONFLICT ... DO UPDATE command on a purpose-crafted table, an authenticated database user could read arbitrary bytes of server memory. The highest threat from this vulnerability is to data confidentiality.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | postgresql | postgresql 13.3, postgresql 12.7, postgresql 11.12, postgresql 10.17, postgresql 9.6.22 (affected) | redhat · cna |
Weaknesses
1- CWE-200
References
4- https://bugzilla.redhat.com/show_bug.cgi?id=1956877
- GLSA-202211-04 https://security.gentoo.org/glsa/202211-04
- https://security.netapp.com/advisory/ntap-20211112-0003/
- https://www.postgresql.org/support/security/CVE-2021-32028
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0bc192378df44136ea16fcb66411a59e133388ca5b2e3ccf6f72925ea1e06161
- Ingested
- 23 Sep 2026, 07:54:21 UTC
- Source record
- Official CVE record