CVE-2021-3393
publishedpostgresql: Partition constraint violation errors leak values of denied columns
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | postgresqlpostgresql 13.2, postgresql 12.6, postgresql 11.11 | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2POSTGRESQL12-2023-004 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Alpine Linux | v3.10 | postgresql | Fixed | 11.11-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 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 12.7-1.module+el8.2.0+11251+7a3cc531 | RHSA-2021:2389 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.6.0+2758+4f4474df | ALSA-2021:2372 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.11 | postgresql | Fixed | 12.6-r0 | Package fix record |
| Alpine Linux | v3.12 | postgresql | Fixed | 12.6-r0 | Package fix record |
| Alpine Linux | v3.13 | postgresql | Fixed | 13.2-r0 | Package fix record |
| Alpine Linux | v3.14 | postgresql | Fixed | 13.2-r0 | Package fix record |
| Alpine Linux | v3.9 | postgresql | Fixed | 11.11-r0 | Package fix record |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| 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 | 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 | 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 | 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 | 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 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.6.0+2760+1746ec94 | ALSA-2021:2372 |
| Alpine Linux | v3.15 | postgresql13 | Fixed | 13.2-r0 | Package fix record |
| Alpine Linux | v3.15 | postgresql14 | Fixed | 13.2-r0 | Package fix record |
| Alpine Linux | v3.16 | postgresql13 | Fixed | 13.2-r0 | Package fix record |
| Alpine Linux | v3.16 | postgresql14 | Fixed | 13.2-r0 | Package fix record |
| Alpine Linux | v3.17 | postgresql13 | Fixed | 13.2-r0 | Package fix record |
| Alpine Linux | v3.17 | postgresql14 | Fixed | 13.2-r0 | Package fix record |
| Alpine Linux | v3.17 | postgresql15 | Fixed | 13.2-r0 | Package fix record |
| Alpine Linux | v3.18 | postgresql13 | Fixed | 13.2-r0 | Package fix record |
| Alpine Linux | v3.18 | postgresql14 | Fixed | 13.2-r0 | Package fix record |
| Alpine Linux | v3.18 | postgresql15 | Fixed | 13.2-r0 | Package fix record |
| Alpine Linux | v3.19 | postgresql13 | Fixed | 13.2-r0 | Package fix record |
| Alpine Linux | v3.19 | postgresql14 | Fixed | 13.2-r0 | Package fix record |
| Alpine Linux | v3.19 | postgresql15 | Fixed | 13.2-r0 | Package fix record |
| Alpine Linux | v3.20 | postgresql14 | Fixed | 13.2-r0 | Package fix record |
| Alpine Linux | v3.20 | postgresql15 | Fixed | 13.2-r0 | Package fix record |
| Oracle Linux | 8 | pgauditaarch64 · postgresql · 12b | Advisory build | 0:1.4.0-6.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | pgauditx86_64 · postgresql · 12b | Advisory build | 0:1.4.0-6.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgres-decoderbufsaarch64 · postgresql · 12b | Advisory build | 0:0.10.0-2.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgres-decoderbufsx86_64 · postgresql · 12b | Advisory build | 0:0.10.0-2.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresql-contribaarch64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresql-contribx86_64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresql-docsaarch64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresql-docsx86_64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresql-plperlaarch64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresql-plperlx86_64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresql-plpython3aarch64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresql-plpython3x86_64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresql-pltclaarch64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresql-pltclx86_64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresql-serveraarch64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresql-serverx86_64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresql-server-develaarch64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresql-server-develx86_64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresql-staticaarch64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresql-staticx86_64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresql-testaarch64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresql-testx86_64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresql-test-rpm-macrosaarch64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresql-test-rpm-macrosx86_64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresql-upgradeaarch64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresql-upgradex86_64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresql-upgrade-develaarch64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Oracle Linux | 8 | postgresql-upgrade-develx86_64 · postgresql · 12b | Advisory build | 0:12.7-1.module+el8.4.0+20191+2f8d0e59 | ELSA-2021-2372 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresqlppc64le | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresqls390x | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresqlsrc | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresqlx86_64 | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-contribppc64le | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-contribs390x | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-contribx86_64 | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-contrib-syspathsppc64le | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-contrib-syspathss390x | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-contrib-syspathsx86_64 | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-debuginfoppc64le | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-debuginfos390x | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-debuginfox86_64 | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-develppc64le | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-devels390x | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-develx86_64 | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-docsppc64le | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-docss390x | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-docsx86_64 | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-libsppc64le | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-libss390x | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-libsx86_64 | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-plperlppc64le | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-plperls390x | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-plperlx86_64 | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-plpythonppc64le | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-plpythons390x | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-plpythonx86_64 | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-pltclppc64le | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-pltcls390x | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-pltclx86_64 | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-serverppc64le | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-servers390x | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-serverx86_64 | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-server-syspathsppc64le | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-server-syspathss390x | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql12-postgresql-server-syspathsx86_64 | Advisory build | 12.7-1.el7 | RHSA-2021:2394 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
An information leak was discovered in postgresql in versions before 13.2, before 12.6 and before 11.11. A user having UPDATE permission but not SELECT permission to a particular column could craft queries which, under some circumstances, might disclose values from that column in error messages. An attacker could use this flaw to obtain information stored in a column they are allowed to write but not read.
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.2, postgresql 12.6, postgresql 11.11 (affected) | redhat · cna |
Weaknesses
1- CWE-209
References
3- https://bugzilla.redhat.com/show_bug.cgi?id=1924005
- GLSA-202105-32 https://security.gentoo.org/glsa/202105-32
- https://security.netapp.com/advisory/ntap-20210507-0006/
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 70eaa4acd33791335cd01d2e159b8e80c5d02ea12584d06b881f9ecb86f1384c
- Ingested
- 23 Sep 2026, 07:55:51 UTC
- Source record
- Official CVE record